Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .buildkite/packaging.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ steps:
# this prevents parallel builds and possibility of publishing out of order DRA artifacts if the first job takes longer than the second

- name: Start of concurrency group for DRA Snapshot
if: build.branch =~ /^\d+\.\d+$$/ || build.branch == 'main' || build.branch == '8.x' || build.env('RUN_SNAPSHOT') == "true"
if: build.branch =~ /^[0-9]+\.[0-9x]+\$/ || build.branch == 'main' || build.env('RUN_SNAPSHOT') == "true"
command: echo "--> Start of concurrency gate dra-snapshot"
concurrency_group: "dra-gate-snapshot-$BUILDKITE_BRANCH"
concurrency: 1
key: start-gate-snapshot

- name: Start of concurrency group for DRA Staging
if: build.branch =~ /^\d+\.\d+$$/
if: build.branch =~ /^[0-9]+\.[0-9x]+\$/
command: echo "--> Start of concurrency gate dra-staging"
concurrency_group: "dra-gate-staging-$BUILDKITE_BRANCH"
concurrency: 1
Expand All @@ -36,7 +36,7 @@ steps:
key: dashboards
steps:
- label: Snapshot dashboards
if: build.branch =~ /^\d+\.\d+$$/ || build.branch == 'main' || build.branch == '8.x' || build.env('RUN_SNAPSHOT') == "true"
if: build.branch =~ /^[0-9]+\.[0-9x]+\$/ || build.branch == 'main' || build.env('RUN_SNAPSHOT') == "true"
depends_on: start-gate-snapshot
key: dashboards-snapshot
# TODO: container with go and make
Expand All @@ -58,7 +58,7 @@ steps:
- build/distributions/**/*

- label: Staging dashboards
if: build.branch =~ /^\d+\.\d+$$/
if: build.branch =~ /^[0-9]+\.[0-9x]+\$/
depends_on: start-gate-staging
key: dashboards-staging
# TODO: container with go and make
Expand All @@ -80,7 +80,7 @@ steps:
- build/distributions/**/*

- group: Packaging snapshot
if: build.branch =~ /^\d+\.\d+$$/ || build.branch == 'main' || build.branch == '8.x' || build.env('RUN_SNAPSHOT') == "true"
if: build.branch =~ /^[0-9]+\.[0-9x]+\$/ || build.branch == 'main' || build.env('RUN_SNAPSHOT') == "true"
key: packaging-snapshot
depends_on: start-gate-snapshot
steps:
Expand Down Expand Up @@ -169,7 +169,7 @@ steps:
key: packaging-staging
depends_on: start-gate-staging
## Only for release
if: build.branch =~ /^\d+\.\d+$$/ || build.branch == '8.x'
if: build.branch =~ /^[0-9]+\.[0-9x]+\$/
steps:
- label: "STAGING: {{matrix}}"
env:
Expand Down Expand Up @@ -257,7 +257,7 @@ steps:
steps:
- label: DRA Snapshot
## Only for release branches and main
if: build.branch =~ /^\d+\.\d+$$/ || build.branch == 'main' || build.branch == '8.x' || build.env('RUN_SNAPSHOT') == "true"
if: build.branch =~ /^[0-9]+\.[0-9x]+\$/ || build.branch == 'main' || build.env('RUN_SNAPSHOT') == "true"
key: dra-snapshot
env:
DRA_WORKFLOW: snapshot
Expand All @@ -276,7 +276,7 @@ steps:

- label: DRA Staging
## Only for release branches
if: build.branch =~ /^\d+\.\d+$$/
if: build.branch =~ /^[0-9]+\.[0-9x]+\$/
key: dra-staging
env:
DRA_WORKFLOW: staging
Expand All @@ -296,13 +296,13 @@ steps:
- wait

- command: echo "End of concurrency gate dra-snapshot <--"
if: build.branch =~ /^\d+\.\d+$$/ || build.branch == 'main' || build.branch == '8.x' || build.env('RUN_SNAPSHOT') == "true"
if: build.branch =~ /^[0-9]+\.[0-9x]+\$/ || build.branch == 'main' || build.env('RUN_SNAPSHOT') == "true"
concurrency_group: "dra-gate-snapshot-$BUILDKITE_BRANCH"
concurrency: 1
key: end-gate-snapshot

- command: echo "End of concurrency gate dra-staging <--"
if: build.branch =~ /^\d+\.\d+$$/ || build.branch == '8.x'
if: build.branch =~ /^[0-9]+\.[0-9x]+\$/
concurrency_group: "dra-gate-staging-$BUILDKITE_BRANCH"
concurrency: 1
key: end-gate-staging