Skip to content

Commit

Permalink
ci: Remove daily artifacts on successful test run
Browse files Browse the repository at this point in the history
  • Loading branch information
gw0 committed Sep 20, 2023
1 parent dab3158 commit 6c624a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .buildkite/scripts/daily_txsource.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ set -euxo pipefail
# Script invoked from .buildkite/longtests.pipeline.yml

if [[ $BUILDKITE_RETRY_COUNT == 0 ]]; then
rm -rf /var/tmp/longtests/*
./.buildkite/scripts/test_e2e.sh \
--metrics.address $METRICS_PUSH_ADDR \
--metrics.labels instance=$BUILDKITE_PIPELINE_NAME-$BUILDKITE_BUILD_NUMBER \
--scenario_timeout 900m \
--scenario e2e/runtime/txsource-multi \
"$@"

# In case of success daily artifacts are not interesting and can be removed.
rm -rf /var/tmp/longtests/*
else
curl -H "Content-Type: application/json" \
-X POST \
Expand Down
Empty file added .changelog/5370.trivial.md
Empty file.

0 comments on commit 6c624a2

Please sign in to comment.