Iteration testing v0.1

This commit is contained in:
Michael Vines 2019-01-13 10:47:10 -08:00
parent 74e503da92
commit 780360834d
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,4 @@
steps:
- command: "ci/iterations-localnet.sh"
name: "iterations-localnet"
timeout_in_minutes: 40

24
ci/iterations-localnet.sh Executable file
View File

@ -0,0 +1,24 @@
#!/usr/bin/env bash
set -e
FEATURES="$1"
cd "$(dirname "$0")/.."
# Clear cached json keypair files
rm -rf "$HOME/.config/solana"
source ci/_
ci/version-check-with-upgrade.sh stable
export RUST_BACKTRACE=1
export RUSTFLAGS="-D warnings"
_ scripts/ulimit-n.sh
_ cargo build --all --features="$FEATURES"
export PATH=$PWD/target/debug:$PATH
export USE_INSTALL=1
_ ci/localnet-sanity.sh -b -i 256
# TODO: Enable next line once leader rotation stability is fixed
#_ ci/localnet-sanity.sh -i 256