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
crds,Makefile: Bump controller-tools version to v0.9.0 #263
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,6 @@ help: ## Show this help screen | |
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z0-9_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST) | ||
|
||
.PHONY: install | ||
|
||
install: ## Build & install operator-verify | ||
$(Q)go install \ | ||
-gcflags "all=-trimpath=${GOPATH}" \ | ||
|
@@ -43,7 +42,6 @@ format: ## Format the source code | |
|
||
tidy: ## Update dependencies | ||
$(Q)go mod tidy | ||
$(Q)go mod vendor | ||
$(Q)go mod verify | ||
|
||
clean: ## Clean up the build artifacts | ||
|
@@ -103,7 +101,8 @@ CONTROLLER_GEN ?= $(LOCALBIN)/controller-gen | |
YQ ?= $(LOCALBIN)/yq | ||
|
||
## Tool Versions | ||
CONTROLLER_TOOLS_VERSION ?= v0.8.0 | ||
CONTROLLER_TOOLS_VERSION ?= v0.9.0 | ||
YQ_VERSION ?= latest | ||
tylerslaton marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
.PHONY: controller-gen | ||
controller-gen: $(CONTROLLER_GEN) ## Download controller-gen locally if necessary. | ||
|
@@ -113,4 +112,4 @@ $(CONTROLLER_GEN): $(LOCALBIN) | |
.PHONY: yq | ||
yq: $(YQ) ## Download yq locally if necessary. | ||
$(YQ): $(LOCALBIN) | ||
GOBIN=$(LOCALBIN) go install $(GO_INSTALL_OPTS) github.com/mikefarah/yq/v3@latest | ||
GOBIN=$(LOCALBIN) go install $(GO_INSTALL_OPTS) github.com/mikefarah/yq/v3@$(YQ_VERSION) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. At some point we really need to bump yq versions. v4 came out Dec 2020. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, I agree with this. It isn't a painful change either, just need to update There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yep. I'll create an issue for bumping this tool dependency. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added this in #262 but I realize we had already removed the vendor directory for this repository so it's unneeded now.