Skip to content

Commit

Permalink
Pin envtest version
Browse files Browse the repository at this point in the history
[This
commit](kubernetes-sigs/controller-runtime@4c2442e)
causes failures to install envtest, see
kubernetes-sigs/controller-runtime#2720 for
details.

This commit pins envtest to the latest version that still works.

Signed-off-by: Max Jonas Werner <[email protected]>
  • Loading branch information
Max Jonas Werner committed Mar 25, 2024
1 parent 1e0ed6d commit 59daef7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
uses: ./actions/kubeconform
- name: Setup envtest
uses: ./actions/envtest
with:
version: c7e1dc9b5302d649d5531e19168dd7ea0013736d
- name: Setup helm
uses: ./actions/helm
- name: Setup kubectl
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ install-envtest: setup-envtest
ENVTEST = $(GOBIN)/setup-envtest
.PHONY: envtest
setup-envtest: ## Download envtest-setup locally if necessary.
$(call go-install-tool,$(ENVTEST),sigs.k8s.io/controller-runtime/tools/setup-envtest@latest)
$(call go-install-tool,$(ENVTEST),sigs.k8s.io/controller-runtime/tools/setup-envtest@c7e1dc9b5302d649d5531e19168dd7ea0013736d)

# go-install-tool will 'go install' any package $2 and install it to $1.
PROJECT_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))
Expand Down

0 comments on commit 59daef7

Please sign in to comment.