Skip to content

Commit a5a03b8

Browse files
committed
PR feedback
(cherry picked from commit 5b12d93)
1 parent c33fbe7 commit a5a03b8

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.buildkite/dra-workflow.trigger.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ for BRANCH in "${BRANCHES[@]}"; do
1515
branch: $BRANCH
1616
env:
1717
DRA_WORKFLOW: snapshot
18+
EOF
19+
20+
# Don't trigger staging workflow for main branch
21+
if [[ "$BRANCH" != "main" ]]; then
22+
cat <<EOF
1823
- trigger: elasticsearch-sql-odbc-dra-workflow
1924
label: Trigger DRA staging workflow for $BRANCH
2025
async: true
@@ -23,4 +28,5 @@ for BRANCH in "${BRANCHES[@]}"; do
2328
env:
2429
DRA_WORKFLOW: staging
2530
EOF
31+
fi
2632
done

catalog-info.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ apiVersion: backstage.io/v1alpha1
7676
kind: Resource
7777
metadata:
7878
name: buildkite-pipeline-elasticsearch-sql-odbc-dra-workflow-trigger
79-
description: Publishes DRA snapshot or staging candidate
79+
description: Triggers piplines for DRA workflows for all release branches
8080
links:
8181
- title: Pipeline
8282
url: https://buildkite.com/elastic/elasticsearch-sql-odbc-dra-workflow-trigger
@@ -88,7 +88,7 @@ spec:
8888
apiVersion: buildkite.elastic.dev/v1
8989
kind: Pipeline
9090
metadata:
91-
description: "Publishes DRA snapshot or staging candidate"
91+
description: Triggers piplines for DRA workflows for all release branches
9292
name: elasticsearch-sql-odbc / dra-workflow-trigger
9393
spec:
9494
repository: elastic/elasticsearch-sql-odbc

0 commit comments

Comments
 (0)