Move drone into its own crate

This commit is contained in:
Michael Vines
2018-11-16 08:04:46 -08:00
committed by Grimes
parent cf95708c18
commit d96a6b42a5
67 changed files with 678 additions and 567 deletions

View File

@ -1 +1,2 @@
cargo-install/
usr/

View File

@ -18,8 +18,11 @@ if [[ -z $CHANNEL ]]; then
fi
rm -rf usr/
../docker-run.sh solanalabs/rust:1.30.0 \
../docker-run.sh solanalabs/rust:1.30.1 bash -c "
set -ex
cargo install --path drone --root ci/docker-solana/usr
cargo install --path . --root ci/docker-solana/usr
"
cp -f entrypoint.sh usr/bin/solana-entrypoint.sh
../../scripts/install-native-programs.sh usr/bin/

View File

@ -19,7 +19,7 @@ if [[ -n $CI ]]; then
fi
# shellcheck disable=2044 # Disable 'For loops over find output are fragile...'
for Cargo_toml in {sdk,metrics,programs/native/{bpf_loader,lua_loader,noop},.}/Cargo.toml; do
for Cargo_toml in {sdk,metrics,drone,programs/native/{bpf_loader,lua_loader,noop},.}/Cargo.toml; do
# TODO: Ensure the published version matches the contents of BUILDKITE_TAG
(
set -x

View File

@ -43,7 +43,8 @@ echo --- Creating tarball
git rev-parse HEAD
) > solana-release/version.txt
cargo install --root solana-release
cargo install --path drone --root solana-release
cargo install --path . --root solana-release
./scripts/install-native-programs.sh solana-release/bin
./fetch-perf-libs.sh

View File

@ -25,6 +25,7 @@ _() {
}
FEATURES=cuda,erasure,chacha
_ cargo build --all --verbose --features="$FEATURES"
_ cargo test --verbose --features="$FEATURES" --lib
# Run integration tests serially

View File

@ -25,7 +25,7 @@ maybe_install() {
}
_ cargo fmt -- --check
_ cargo build --verbose
_ cargo build --all --verbose
_ cargo test --verbose --lib
_ cargo clippy -- --deny=warnings || true