File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 30
30
all : manager
31
31
32
32
# Run tests
33
+ ENVTEST_VERSION ?= release-0.17
33
34
ENVTEST_ASSETS_DIR = $(shell pwd) /testbin
34
35
ENVTEST_K8S_VERSION ?= 1.24.1
35
36
GOOS =$(shell go env GOOS)
@@ -44,13 +45,13 @@ test-setup:
44
45
curl -L -O " https://storage.googleapis.com/kubebuilder-tools/kubebuilder-tools-$( ENVTEST_K8S_VERSION) -$( GOOS) -$( GOARCH) .tar.gz"
45
46
tar -zxvf kubebuilder-tools-$(ENVTEST_K8S_VERSION ) -$(GOOS ) -$(GOARCH ) .tar.gz
46
47
mv kubebuilder $(KUBEBUILDER_ASSETS_ROOT )
47
- export KUBEBUILDER_ASSETS=$(KUBEBUILDER_ASSETS ) ; go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
48
+ export KUBEBUILDER_ASSETS=$(KUBEBUILDER_ASSETS ) ; go install sigs.k8s.io/controller-runtime/tools/setup-envtest@$( ENVTEST_VERSION )
48
49
49
50
test-setup-ci :
50
51
curl -L -O " https://storage.googleapis.com/kubebuilder-tools/kubebuilder-tools-$( ENVTEST_K8S_VERSION) -$( GOOS) -$( GOARCH) .tar.gz"
51
52
tar -xvf kubebuilder-tools-$(ENVTEST_K8S_VERSION ) -$(GOOS ) -$(GOARCH ) .tar.gz
52
53
mv kubebuilder $(KUBEBUILDER_ASSETS_ROOT )
53
- export KUBEBUILDER_ASSETS=$(KUBEBUILDER_ASSETS ) ; go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
54
+ export KUBEBUILDER_ASSETS=$(KUBEBUILDER_ASSETS ) ; go install sigs.k8s.io/controller-runtime/tools/setup-envtest@$( ENVTEST_VERSION )
54
55
55
56
e2e : deploy
56
57
kubectl create configmap crocodile-stress-test --from-file e2e/test.js
You can’t perform that action at this time.
0 commit comments