Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
WIP: jump to downstream build
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyera Eulberg committed Nov 1, 2021
1 parent ef00521 commit 1d29cde
Show file tree
Hide file tree
Showing 2 changed files with 95 additions and 95 deletions.
186 changes: 93 additions & 93 deletions ci/buildkite-pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,82 +125,82 @@ wait_step() {
}

all_test_steps() {
command_step checks ". ci/rust-version.sh; ci/docker-run.sh \$\$rust_nightly_docker_image ci/test-checks.sh" 20
wait_step

# Coverage...
if affects \
.rs$ \
Cargo.lock$ \
Cargo.toml$ \
^ci/rust-version.sh \
^ci/test-coverage.sh \
^scripts/coverage.sh \
; then
command_step coverage ". ci/rust-version.sh; ci/docker-run.sh \$\$rust_nightly_docker_image ci/test-coverage.sh" 40
wait_step
else
annotate --style info --context test-coverage \
"Coverage skipped as no .rs files were modified"
fi

# Full test suite
command_step stable ". ci/rust-version.sh; ci/docker-run.sh \$\$rust_stable_docker_image ci/test-stable.sh" 60
wait_step

# BPF test suite
if affects \
.rs$ \
Cargo.lock$ \
Cargo.toml$ \
^ci/rust-version.sh \
^ci/test-stable-bpf.sh \
^ci/test-stable.sh \
^ci/test-local-cluster.sh \
^core/build.rs \
^fetch-perf-libs.sh \
^programs/ \
^sdk/ \
; then
cat >> "$output_file" <<"EOF"
- command: "ci/test-stable-bpf.sh"
name: "stable-bpf"
timeout_in_minutes: 20
artifact_paths: "bpf-dumps.tar.bz2"
agents:
- "queue=default"
EOF
else
annotate --style info \
"Stable-BPF skipped as no relevant files were modified"
fi

# Perf test suite
if affects \
.rs$ \
Cargo.lock$ \
Cargo.toml$ \
^ci/rust-version.sh \
^ci/test-stable-perf.sh \
^ci/test-stable.sh \
^ci/test-local-cluster.sh \
^core/build.rs \
^fetch-perf-libs.sh \
^programs/ \
^sdk/ \
; then
cat >> "$output_file" <<"EOF"
- command: "ci/test-stable-perf.sh"
name: "stable-perf"
timeout_in_minutes: 20
artifact_paths: "log-*.txt"
agents:
- "queue=cuda"
EOF
else
annotate --style info \
"Stable-perf skipped as no relevant files were modified"
fi
# command_step checks ". ci/rust-version.sh; ci/docker-run.sh \$\$rust_nightly_docker_image ci/test-checks.sh" 20
# wait_step
#
# # Coverage...
# if affects \
# .rs$ \
# Cargo.lock$ \
# Cargo.toml$ \
# ^ci/rust-version.sh \
# ^ci/test-coverage.sh \
# ^scripts/coverage.sh \
# ; then
# command_step coverage ". ci/rust-version.sh; ci/docker-run.sh \$\$rust_nightly_docker_image ci/test-coverage.sh" 40
# wait_step
# else
# annotate --style info --context test-coverage \
# "Coverage skipped as no .rs files were modified"
# fi
#
# # Full test suite
# command_step stable ". ci/rust-version.sh; ci/docker-run.sh \$\$rust_stable_docker_image ci/test-stable.sh" 60
# wait_step
#
# # BPF test suite
# if affects \
# .rs$ \
# Cargo.lock$ \
# Cargo.toml$ \
# ^ci/rust-version.sh \
# ^ci/test-stable-bpf.sh \
# ^ci/test-stable.sh \
# ^ci/test-local-cluster.sh \
# ^core/build.rs \
# ^fetch-perf-libs.sh \
# ^programs/ \
# ^sdk/ \
# ; then
# cat >> "$output_file" <<"EOF"
# - command: "ci/test-stable-bpf.sh"
# name: "stable-bpf"
# timeout_in_minutes: 20
# artifact_paths: "bpf-dumps.tar.bz2"
# agents:
# - "queue=default"
# EOF
# else
# annotate --style info \
# "Stable-BPF skipped as no relevant files were modified"
# fi
#
# # Perf test suite
# if affects \
# .rs$ \
# Cargo.lock$ \
# Cargo.toml$ \
# ^ci/rust-version.sh \
# ^ci/test-stable-perf.sh \
# ^ci/test-stable.sh \
# ^ci/test-local-cluster.sh \
# ^core/build.rs \
# ^fetch-perf-libs.sh \
# ^programs/ \
# ^sdk/ \
# ; then
# cat >> "$output_file" <<"EOF"
# - command: "ci/test-stable-perf.sh"
# name: "stable-perf"
# timeout_in_minutes: 20
# artifact_paths: "log-*.txt"
# agents:
# - "queue=cuda"
# EOF
# else
# annotate --style info \
# "Stable-perf skipped as no relevant files were modified"
# fi

# Downstream backwards compatibility
if affects \
Expand All @@ -227,23 +227,23 @@ EOF
"downstream-projects skipped as no relevant files were modified"
fi
# Benches...
if affects \
.rs$ \
Cargo.lock$ \
Cargo.toml$ \
^ci/rust-version.sh \
^ci/test-coverage.sh \
^ci/test-bench.sh \
; then
command_step bench "ci/test-bench.sh" 30
else
annotate --style info --context test-bench \
"Bench skipped as no .rs files were modified"
fi

command_step "local-cluster" \
". ci/rust-version.sh; ci/docker-run.sh \$\$rust_stable_docker_image ci/test-local-cluster.sh" \
45
# if affects \
# .rs$ \
# Cargo.lock$ \
# Cargo.toml$ \
# ^ci/rust-version.sh \
# ^ci/test-coverage.sh \
# ^ci/test-bench.sh \
# ; then
# command_step bench "ci/test-bench.sh" 30
# else
# annotate --style info --context test-bench \
# "Bench skipped as no .rs files were modified"
# fi
#
# command_step "local-cluster" \
# ". ci/rust-version.sh; ci/docker-run.sh \$\$rust_stable_docker_image ci/test-local-cluster.sh" \
# 45
}

pull_or_push_steps() {
Expand Down
4 changes: 2 additions & 2 deletions scripts/build-downstream-projects.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,6 @@ EOF
}


_ example_helloworld
_ spl
# _ example_helloworld
# _ spl
_ serum_dex

0 comments on commit 1d29cde

Please sign in to comment.