sdk/bpf/scripts/install.sh: Retry downloads on transient 403 S3 failures seen in CI (#4436)

* Avoid caching perf-libs in CI

* Retry downloads on transient 403 S3 failures seen in CI
This commit is contained in:
Michael Vines
2019-05-25 14:41:09 -07:00
committed by GitHub
parent aa3c00231a
commit 942785b626
4 changed files with 35 additions and 10 deletions

View File

@ -56,6 +56,7 @@ echo --- Creating tarball
source ci/rust-version.sh stable
scripts/cargo-install-all.sh +"$rust_stable" solana-release
rm -rf target/perf-libs
./fetch-perf-libs.sh
mkdir solana-release/target
cp -a target/perf-libs solana-release/target/

View File

@ -8,6 +8,7 @@ source ci/rust-version.sh stable
export RUST_BACKTRACE=1
rm -rf target/perf-libs
./fetch-perf-libs.sh
export LD_LIBRARY_PATH=$PWD/target/perf-libs:$LD_LIBRARY_PATH

View File

@ -61,6 +61,7 @@ test-stable-perf)
# is not yet loaded.
sudo --non-interactive ./net/scripts/enable-nvidia-persistence-mode.sh
rm -rf target/perf-libs
./fetch-perf-libs.sh
# shellcheck source=/dev/null
source ./target/perf-libs/env.sh