Avoid using specific env

pull/1416/head
Quentin VIGNAUD 2 weeks ago
parent 3f8176ac60
commit 9a6f7590d6

@ -284,16 +284,13 @@ treatment buildTestAyaForArchUsingImage[logger: Logger, dispatcher: CicdDispatch
executor_name = "rust", executor_name = "rust",
commands = |raw_commands([ commands = |raw_commands([
// Build // Build
${bash -c "set -o allexport && source /tmp/github.env && set +o allexport ${bash -c "cargo hack build --all-targets --feature-powerset --exclude aya-ebpf --exclude aya-ebpf-bindings --exclude aya-log-ebpf --exclude integration-ebpf --exclude xtask --workspace"
cargo hack build --all-targets --feature-powerset --exclude aya-ebpf --exclude aya-ebpf-bindings --exclude aya-log-ebpf --exclude integration-ebpf --exclude xtask --workspace"
}, },
// Test // Test
${bash -c "set -o allexport && source /tmp/github.env && set +o allexport ${bash -c "cargo hack test --all-targets --feature-powerset --exclude aya-ebpf --exclude aya-ebpf-bindings --exclude aya-log-ebpf --exclude integration-ebpf --exclude integration-test --exclude xtask --workspace"
cargo hack test --all-targets --feature-powerset --exclude aya-ebpf --exclude aya-ebpf-bindings --exclude aya-log-ebpf --exclude integration-ebpf --exclude integration-test --exclude xtask --workspace"
}, },
// Doc // Doc
${bash -c "set -o allexport && source /tmp/github.env && set +o allexport ${bash -c "cargo hack test --doc --feature-powerset --exclude aya-ebpf --exclude aya-ebpf-bindings --exclude aya-log-ebpf --exclude integration-ebpf --exclude integration-test --exclude xtask --workspace"
cargo hack test --doc --feature-powerset --exclude aya-ebpf --exclude aya-ebpf-bindings --exclude aya-log-ebpf --exclude integration-ebpf --exclude integration-test --exclude xtask --workspace"
}, },
"echo Build done", "echo Build done",
"sleep 1" "sleep 1"

Loading…
Cancel
Save