From e8f41bbb0fc0e59e65a59e6b4b2086f5e72c48ab Mon Sep 17 00:00:00 2001 From: Pierre HILBERT Date: Fri, 20 Sep 2024 10:13:36 +0200 Subject: [PATCH] Chore: update packaging pipeline to run automatically on 8.x branch (#40915) --- .buildkite/packaging.pipeline.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.buildkite/packaging.pipeline.yml b/.buildkite/packaging.pipeline.yml index 5fd559f458d..67cdfa36326 100644 --- a/.buildkite/packaging.pipeline.yml +++ b/.buildkite/packaging.pipeline.yml @@ -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 @@ -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 @@ -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 @@ -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: @@ -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: @@ -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 @@ -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 @@ -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