From 182f48edc697983a839f185a91e87d66a6fe4586 Mon Sep 17 00:00:00 2001 From: Xuecheng Zhang Date: Tue, 8 Oct 2024 18:19:10 +0800 Subject: [PATCH] e2e: disable coverage upload (#5758) --- ci/pull_e2e_kind.groovy | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/ci/pull_e2e_kind.groovy b/ci/pull_e2e_kind.groovy index 96765efa66..8d80ad5559 100644 --- a/ci/pull_e2e_kind.groovy +++ b/ci/pull_e2e_kind.groovy @@ -191,28 +191,6 @@ def build(String name, String code, Map resources = e2ePodResources) { ${code} """ } - stage('Coverage') { - withCredentials([ - string(credentialsId: "tp-codecov-token", variable: 'CODECOV_TOKEN') - ]) { - sh """#!/bin/bash - echo "info: list all coverage files" - ls -dla /kind-data/control-plane/coverage/* - ls -dla /kind-data/worker1/coverage/* - ls -dla /kind-data/worker2/coverage/* - ls -dla /kind-data/worker3/coverage/* - echo "info: merging coverage files" - cp /kind-data/control-plane/coverage/*.cov /tmp - cp /kind-data/worker1/coverage/*.cov /tmp - cp /kind-data/worker2/coverage/*.cov /tmp - cp /kind-data/worker3/coverage/*.cov /tmp - ./bin/gocovmerge /tmp/*.cov > /tmp/coverage.txt - source EXPORT_GIT_COMMIT - echo "info: uploading coverage to codecov" - bash <(curl -s https://codecov.io/bash) -t ${CODECOV_TOKEN} -F e2e -n tidb-operator -f /tmp/coverage.txt - """ - } - } } } finally { stage('Artifacts') { @@ -370,7 +348,6 @@ try { export CUSTOM_PORT_DRAINER=${CUSTOM_PORT_DRAINER} export CUSTOM_PORT_TICDC=${CUSTOM_PORT_TICDC} E2E=y make build e2e-build - make gocovmerge """ } }