Introduce normalized CI environment vars: ci/env.sh (#4571)

This commit is contained in:
Michael Vines
2019-06-06 12:20:47 -07:00
committed by GitHub
parent 44835a91db
commit 53275cc678
15 changed files with 92 additions and 46 deletions

View File

@ -25,7 +25,7 @@ source scripts/ulimit-n.sh
scripts/coverage.sh
report=coverage-"${BUILDKITE_COMMIT:0:9}".tar.gz
report=coverage-"${CI_COMMIT:0:9}".tar.gz
mv target/cov/report.tar.gz "$report"
upload-ci-artifact "$report"
annotate --style success --context lcov-report \
@ -39,5 +39,5 @@ else
bash <(curl -s https://codecov.io/bash) -X gcov -f target/cov/lcov.info
annotate --style success --context codecov.io \
"CodeCov report: https://codecov.io/github/solana-labs/solana/commit/${BUILDKITE_COMMIT:0:9}"
"CodeCov report: https://codecov.io/github/solana-labs/solana/commit/${CI_COMMIT:0:9}"
fi