Move drone into its own crate
This commit is contained in:
1
ci/docker-solana/.gitignore
vendored
1
ci/docker-solana/.gitignore
vendored
@ -1 +1,2 @@
|
||||
cargo-install/
|
||||
usr/
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -25,6 +25,7 @@ _() {
|
||||
}
|
||||
|
||||
FEATURES=cuda,erasure,chacha
|
||||
_ cargo build --all --verbose --features="$FEATURES"
|
||||
_ cargo test --verbose --features="$FEATURES" --lib
|
||||
|
||||
# Run integration tests serially
|
||||
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user