Skip to content

Commit 17f4353

Browse files
breskebyKubik42
authored andcommitted
Trigger snapshot dra-workflow for 7.17 explicitly (elastic#136531)
We want to build staging and snapshot dra artifacts for 7.17 ones a week. We have a dedicated scheduler for running 7.17 dra trigger ones a week but that has only build the staging artifacts. Usually snapshot dra builds are triggered by changes in the codebase. Since 7.17 is only in support but not actively worked on we dont have regular changes there, therefore we want at least trigger that pipeline ones a week to ensure we are still capable to build those artifacts
1 parent f674299 commit 17f4353

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.buildkite/scripts/dra-workflow.trigger.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,18 @@ for BRANCH in "${BRANCHES[@]}"; do
4646
DRA_WORKFLOW: staging
4747
VERSION_QUALIFIER: ${VERSION_QUALIFIER:-}
4848
EOF
49+
50+
if [ "$BRANCH" = "7.17" ]; then
51+
cat <<EOF
52+
- trigger: elasticsearch-dra-workflow
53+
label: Trigger DRA snapshot workflow for $BRANCH
54+
async: true
55+
build:
56+
branch: "$BRANCH"
57+
commit: "$LAST_GOOD_COMMIT"
58+
env:
59+
DRA_WORKFLOW: snapshot
60+
VERSION_QUALIFIER: ${VERSION_QUALIFIER:-}
61+
EOF
62+
fi
4963
done

0 commit comments

Comments
 (0)