Skip to content

Commit

Permalink
Merge pull request #184 from bartoszmajsak/envtest-fix
Browse files Browse the repository at this point in the history
fix(test): pins k8s env test to concrete version
  • Loading branch information
openshift-merge-bot[bot] authored Apr 2, 2024
2 parents 3904c1d + e75afe1 commit 5db4925
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ controller-gen: $(CONTROLLER_GEN) ## Download controller-gen locally if necessar
$(CONTROLLER_GEN): $(LOCALBIN)
GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-tools/cmd/controller-gen@$(CONTROLLER_TOOLS_VERSION)

ENVTEST_PACKAGE_VERSION = v0.0.0-20240320141353-395cfc7486e6
.PHONY: envtest
envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
$(ENVTEST): $(LOCALBIN)
GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@$(ENVTEST_PACKAGE_VERSION)

0 comments on commit 5db4925

Please sign in to comment.