From 31d4b5f6d513ae5fd1b784be717d71740cda59f1 Mon Sep 17 00:00:00 2001 From: Dimitrios Liappis Date: Tue, 7 May 2024 16:33:43 +0300 Subject: [PATCH] Disable DRY_RUN for 7.17 packaging on Buildkite (#39429) This commit is the counterpart of #39391 for the 7.17 branch and disables the default DRY_RUN mode when running DRA packaging on Buildkite for the 7.17 branch. Relates: - #39391 - elastic/ingest-dev#3095 --- .buildkite/scripts/dra.sh | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/.buildkite/scripts/dra.sh b/.buildkite/scripts/dra.sh index aeee80908a7..5ce6e5884b9 100755 --- a/.buildkite/scripts/dra.sh +++ b/.buildkite/scripts/dra.sh @@ -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