-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always use correct tool version (#13)
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>
- Loading branch information
Showing
19 changed files
with
1,466 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.