Skip to content

Commit

Permalink
Disable DRY_RUN for 8.13 packaging on Buildkite (#39391)
Browse files Browse the repository at this point in the history
This commit is the counterpart of #39321 for the 8.13 branch and
disables the default DRY_RUN mode when running DRA packaging on
Buildkite for the 8.13 branch.

Relates:

- #39387
- elastic/ingest-dev#3095
  • Loading branch information
dliappis authored May 3, 2024
1 parent 5c781fb commit 52436d5
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .buildkite/scripts/dra.sh
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
#!/usr/bin/env bash

# TODO: uncomment out below when Jenkins packaging has been stopped
# if [[ "$DRY_RUN" == "true" ]]; then
# echo "~~~ Running in dry-run mode -- will NOT publish artifacts"
# DRY_RUN="--dry-run"
# else
# echo "~~~ Running in publish mode"
# DRY_RUN=""
# fi

# TODO: delete the conditional below (and replace it with the above, uncommented out, section) after Jenkins packaging has been stopped
if [[ "$DRY_RUN" == "false" ]]; then
echo "~~~ Running in publish mode"
DRY_RUN=""
else
if [[ "$DRY_RUN" == "true" ]]; then
echo "~~~ Running in dry-run mode -- will NOT publish artifacts"
DRY_RUN="--dry-run"
else
echo "~~~ Running in publish mode"
DRY_RUN=""
fi

set -euo pipefail
Expand Down

0 comments on commit 52436d5

Please sign in to comment.