Skip to content

Commit

Permalink
Chore: update packaging pipeline to run automatically on 8.x branch (e…
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrehilbert authored Sep 20, 2024
1 parent f934ab8 commit e8f41bb
Showing 1 changed file with 10 additions and 10 deletions.
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.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.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.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+$$/
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.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.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+$$/
if: build.branch =~ /^[0-9]+\.[0-9x]+\$/
concurrency_group: "dra-gate-staging-$BUILDKITE_BRANCH"
concurrency: 1
key: end-gate-staging

0 comments on commit e8f41bb

Please sign in to comment.