Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always use correct tool version #13

Merged
merged 1 commit into from
Aug 19, 2021
Merged

Commits on Aug 18, 2021

  1. Always use correct tool version

    Use go dependency management to download and run common build tools like
    controller-gen, ginkgo and kustomize. This will ensure that the correct
    version of the tool is used. As a bonus, we can use tools like
    dependabot to automatically track and propose updated to our tools.
    
    Under the hood this works by using a custom go module with a single
    dependency (the tool). `go run` is used to load and execute the tool at
    runtime for that module. Golang caches the compiled version of the tool
    and invalidates the cache when a new version of the tool is desired.
    
    This PR does not change how envtest is setup, which is a bit more
    complicated.
    
    This PR also aligns the module name with the git repo.
    
    Signed-off-by: Scott Andrews <andrewssc@vmware.com>
    scothis committed Aug 18, 2021
    Configuration menu
    Copy the full SHA
    e5127f9 View commit details
    Browse the repository at this point in the history