File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export IMAGE_VERSION = v1.9.0
9
9
export SIMPLE_VERSION = $(shell (test "$(shell git describe) " = "$(shell git describe --abbrev=0) " && echo $(shell git describe) ) || echo $(shell git describe --abbrev=0) +git)
10
10
export GIT_VERSION = $(shell git describe --dirty --tags --always)
11
11
export GIT_COMMIT = $(shell git rev-parse HEAD)
12
- export K8S_VERSION = 1.20 .2
12
+ export K8S_VERSION = 1.21 .2
13
13
14
14
# Build settings
15
15
export TOOLS_DIR = tools/bin
@@ -144,7 +144,7 @@ e2e_targets := test-e2e $(e2e_tests)
144
144
145
145
.PHONY : test-e2e-setup
146
146
export KIND_CLUSTER := operator-sdk-e2e
147
- export KUBEBUILDER_ASSETS = $( shell $( shell go env GOPATH) /bin/setup-envtest use $( K8S_VERSION ) --bin-dir tools/bin/ -p path)
147
+
148
148
test-e2e-setup : build envtest
149
149
$(SCRIPTS_DIR ) /fetch kind 0.11.0
150
150
$(SCRIPTS_DIR ) /fetch kubectl $(K8S_VERSION ) # Install kubectl AFTER envtest because envtest includes its own kubectl binary
@@ -164,7 +164,9 @@ test-e2e-teardown:
164
164
# Repeated rules are executed in the order they appear.
165
165
$(e2e_targets ) :: test-e2e-setup image/scorecard-test
166
166
167
- test-e2e :: $(e2e_tests ) # # Run e2e tests
167
+ test-e2e :: $(e2e_tests )
168
+ test-e2e :: KUBEBUILDER_ASSETS = $(shell $(shell go env GOPATH) /bin/setup-envtest use $(K8S_VERSION ) --bin-dir tools/bin/ -p path)
169
+
168
170
test-e2e-go :: image/custom-scorecard-tests # # Run Go e2e tests
169
171
go test ./test/e2e/go -v -ginkgo.v
170
172
test-e2e-ansible :: image/ansible-operator # # Run Ansible e2e tests
You can’t perform that action at this time.
0 commit comments