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 86
86
87
87
with :
88
88
disable_search : true
89
- files : coverage/e2e.out
89
+ files : coverage/experimental- e2e.out
90
90
flags : experimental-e2e
91
91
token : ${{ secrets.CODECOV_TOKEN }}
92
92
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
271
271
test-e2e : SOURCE_MANIFEST := $(STANDARD_E2E_MANIFEST )
272
272
test-e2e : KIND_CLUSTER_NAME := operator-controller-e2e
273
273
test-e2e : GO_BUILD_EXTRA_FLAGS := -cover
274
+ test-e2e : COVERAGE_NAME := e2e
274
275
test-e2e : run image-registry prometheus e2e e2e-metrics e2e-coverage kind-clean # HELP Run e2e test suite on local kind cluster
275
276
276
277
.PHONY : test-experimental-e2e
277
278
test-experimental-e2e : SOURCE_MANIFEST := $(EXPERIMENTAL_E2E_MANIFEST )
278
279
test-experimental-e2e : KIND_CLUSTER_NAME := operator-controller-e2e
279
280
test-experimental-e2e : GO_BUILD_EXTRA_FLAGS := -cover
281
+ test-experimental-e2e : COVERAGE_NAME := experimental-e2e
280
282
test-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
281
283
282
284
.PHONY : prometheus
@@ -316,7 +318,7 @@ test-upgrade-e2e: kind-cluster run-latest-release image-registry pre-upgrade-set
316
318
317
319
.PHONY : e2e-coverage
318
320
e2e-coverage :
319
- COVERAGE_OUTPUT=./coverage/e2e.out ./hack/test/e2e-coverage.sh
321
+ COVERAGE_NAME= $( COVERAGE_NAME ) ./hack/test/e2e-coverage.sh
320
322
321
323
# SECTION KIND Cluster Operations
322
324
Original file line number Diff line number Diff line change 2
2
3
3
set -euo pipefail
4
4
5
- COVERAGE_OUTPUT =" ${COVERAGE_OUTPUT :- ${ROOT_DIR} / coverage / e2e.out } "
5
+ COVERAGE_NAME =" ${COVERAGE_NAME :- e2e} "
6
6
7
7
OPERATOR_CONTROLLER_NAMESPACE=" olmv1-system"
8
8
OPERATOR_CONTROLLER_MANAGER_DEPLOYMENT_NAME=" operator-controller-controller-manager"
@@ -13,7 +13,8 @@ CATALOGD_MANAGER_DEPLOYMENT_NAME="catalogd-controller-manager"
13
13
COPY_POD_NAME=" e2e-coverage-copy-pod"
14
14
15
15
# 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}
17
18
rm -rf ${COVERAGE_DIR} && mkdir -p ${COVERAGE_DIR}
18
19
19
20
# Coverage-instrumented binary produces coverage on termination,
You can’t perform that action at this time.
0 commit comments