File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 86868787 with :
8888 disable_search : true
89- files : coverage/e2e.out
89+ files : coverage/experimental- e2e.out
9090 flags : experimental-e2e
9191 token : ${{ secrets.CODECOV_TOKEN }}
9292
Original file line number Diff line number Diff line change @@ -271,12 +271,14 @@ image-registry: ## Build the testdata catalog used for e2e tests and push it to
271271test-e2e : SOURCE_MANIFEST := $(STANDARD_E2E_MANIFEST )
272272test-e2e : KIND_CLUSTER_NAME := operator-controller-e2e
273273test-e2e : GO_BUILD_EXTRA_FLAGS := -cover
274+ test-e2e : COVERAGE_NAME := e2e
274275test-e2e : run image-registry prometheus e2e e2e-metrics e2e-coverage kind-clean # HELP Run e2e test suite on local kind cluster
275276
276277.PHONY : test-experimental-e2e
277278test-experimental-e2e : SOURCE_MANIFEST := $(EXPERIMENTAL_E2E_MANIFEST )
278279test-experimental-e2e : KIND_CLUSTER_NAME := operator-controller-e2e
279280test-experimental-e2e : GO_BUILD_EXTRA_FLAGS := -cover
281+ test-experimental-e2e : COVERAGE_NAME := experimental-e2e
280282test-experimental-e2e : run image-registry prometheus experimental-e2e e2e e2e-metrics e2e-coverage kind-clean # HELP Run experimental e2e test suite on local kind cluster
281283
282284.PHONY : prometheus
@@ -316,7 +318,7 @@ test-upgrade-e2e: kind-cluster run-latest-release image-registry pre-upgrade-set
316318
317319.PHONY : e2e-coverage
318320e2e-coverage :
319- COVERAGE_OUTPUT=./coverage/e2e.out ./hack/test/e2e-coverage.sh
321+ COVERAGE_NAME= $( COVERAGE_NAME ) ./hack/test/e2e-coverage.sh
320322
321323# SECTION KIND Cluster Operations
322324
Original file line number Diff line number Diff line change 22
33set -euo pipefail
44
5- COVERAGE_OUTPUT =" ${COVERAGE_OUTPUT :- ${ROOT_DIR} / coverage / e2e.out } "
5+ COVERAGE_NAME =" ${COVERAGE_NAME :- e2e} "
66
77OPERATOR_CONTROLLER_NAMESPACE=" olmv1-system"
88OPERATOR_CONTROLLER_MANAGER_DEPLOYMENT_NAME=" operator-controller-controller-manager"
@@ -13,7 +13,8 @@ CATALOGD_MANAGER_DEPLOYMENT_NAME="catalogd-controller-manager"
1313COPY_POD_NAME=" e2e-coverage-copy-pod"
1414
1515# Create a temporary directory for coverage
16- COVERAGE_DIR=${ROOT_DIR} /coverage/e2e
16+ COVERAGE_OUTPUT=${ROOT_DIR} /coverage/${COVERAGE_NAME} .out
17+ COVERAGE_DIR=${ROOT_DIR} /coverage/${COVERAGE_NAME}
1718rm -rf ${COVERAGE_DIR} && mkdir -p ${COVERAGE_DIR}
1819
1920# Coverage-instrumented binary produces coverage on termination,
You can’t perform that action at this time.
0 commit comments