Skip to content

Commit 14cc2ba

Browse files
authored
Merge pull request #73 from scotthart/update_codecov_token
ci: use codecov token specific to this repo
2 parents dbacb51 + 2915379 commit 14cc2ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/cloudbuild/builds/coverage.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ integration::bazel_with_emulators coverage "${args[@]}" "${integration_args[@]}"
6868
# your own token in your personal project's Secret Manager so that your
6969
# personal builds have coverage data uploaded to your own account. See also
7070
# https://cloud.google.com/build/docs/securing-builds/use-secrets
71-
if [[ -z "${CODECOV_TOKEN:-}" ]]; then
71+
if [[ -z "${BIGQUERY_CODECOV_TOKEN:-}" ]]; then
7272
io::log_h2 "No codecov token. Skipping upload."
7373
exit 0
7474
fi
@@ -107,6 +107,6 @@ time {
107107
exit 1
108108
fi
109109
chmod +x "${codecov}"
110-
env -i HOME="${HOME}" "${codecov}" --token="${CODECOV_TOKEN}" "${codecov_args[@]}"
110+
env -i HOME="${HOME}" "${codecov}" --token="${BIGQUERY_CODECOV_TOKEN}" "${codecov_args[@]}"
111111
rm "${codecov}"
112112
}

0 commit comments

Comments
 (0)