@@ -136,21 +136,12 @@ E2E_TIMEOUT ?= 90m
136
136
E2E_TEST_NS ?= operators
137
137
E2E_INSTALL_NS ?= operator-lifecycle-manager
138
138
E2E_CATALOG_NS ?= $(E2E_INSTALL_NS )
139
- E2E_FLAKE_ATTEMPTS ?= 1
140
- GINKGO_OPTS += -v -randomize-suites -race -trace --show-node-events --flake-attempts=$(E2E_FLAKE_ATTEMPTS ) $(if $(E2E_SEED ) ,-seed '$(E2E_SEED ) ') $(if $(TEST ) ,-focus '$(TEST ) ',) $(if $(SKIP ) , -skip '$(SKIP ) ')
139
+ GINKGO_OPTS += -v -randomize-suites -race -trace --show-node-events $(if $(E2E_FLAKE_ATTEMPTS ) ,--flake-attempts='$(E2E_FLAKE_ATTEMPTS ) ') $(if $(E2E_SEED ) ,-seed '$(E2E_SEED ) ') $(if $(TEST ) ,-focus '$(TEST ) ',) $(if $(SKIP ) , -skip '$(SKIP ) ')
141
140
e2e :
142
141
$(GINKGO ) -timeout $(E2E_TIMEOUT ) $(GINKGO_OPTS ) ./test/e2e -- -namespace=$(E2E_TEST_NS ) -olmNamespace=$(E2E_INSTALL_NS ) -catalogNamespace=$(E2E_CATALOG_NS ) $(E2E_OPTS )
143
142
144
143
.PHONY : e2e-local
145
- e2e-local : e2e-build kind-create deploy e2e
146
-
147
- # See workflows/e2e-tests.yml See test/e2e/README.md for details.
148
- .PHONY : e2e-local
149
- e2e-local : BUILD_TAGS="json1 e2e experimental_metrics"
150
- e2e-local : extra_args=-kind.images=../test/e2e-local.image.tar -test-data-dir=../test/e2e/testdata -gather-artifacts-script-path=../test/e2e/collect-ci-artifacts.sh
151
- e2e-local : run=bin/e2e-local.test
152
- e2e-local : bin/e2e-local.test test/e2e-local.image.tar
153
- e2e-local : e2e
144
+ e2e-local : e2e-build deploy e2e
154
145
155
146
# this target updates the zz_chart.go file with files found in deploy/chart
156
147
# this will always fire since it has been marked as phony
@@ -183,9 +174,6 @@ e2e-build: e2e.Dockerfile bin/wait bin/cpb $(CMDS)
183
174
docker build -t quay.io/operator-framework/olm:local -f $< bin
184
175
docker save -o $@ quay.io/operator-framework/olm:local
185
176
186
- e2e-bare : setup-bare
187
- . ./scripts/run_e2e_bare.sh $(TEST )
188
-
189
177
e2e-local-docker :
190
178
. ./scripts/build_local.sh
191
179
. ./scripts/run_e2e_docker.sh $(TEST )
0 commit comments