@@ -17,14 +17,14 @@ steps:
17
17
# this prevents parallel builds and possibility of publishing out of order DRA artifacts if the first job takes longer than the second
18
18
19
19
- name : Start of concurrency group for DRA Snapshot
20
- if : build.branch =~ /^\d +\.\d+$ $/ || build.branch == 'main' || build.env('RUN_SNAPSHOT') == "true"
20
+ if : build.branch =~ /^[0-9] +\.[0-9x]+\ $/ || build.branch == 'main' || build.env('RUN_SNAPSHOT') == "true"
21
21
command : echo "--> Start of concurrency gate dra-snapshot"
22
22
concurrency_group : " dra-gate-snapshot-$BUILDKITE_BRANCH"
23
23
concurrency : 1
24
24
key : start-gate-snapshot
25
25
26
26
- name : Start of concurrency group for DRA Staging
27
- if : build.branch =~ /^\d +\.\d+$ $/
27
+ if : build.branch =~ /^[0-9] +\.[0-9x]+\ $/
28
28
command : echo "--> Start of concurrency gate dra-staging"
29
29
concurrency_group : " dra-gate-staging-$BUILDKITE_BRANCH"
30
30
concurrency : 1
36
36
key : dashboards
37
37
steps :
38
38
- label : Snapshot dashboards
39
- if : build.branch =~ /^\d +\.\d+$ $/ || build.branch == 'main' || build.env('RUN_SNAPSHOT') == "true"
39
+ if : build.branch =~ /^[0-9] +\.[0-9x]+\ $/ || build.branch == 'main' || build.env('RUN_SNAPSHOT') == "true"
40
40
depends_on : start-gate-snapshot
41
41
key : dashboards-snapshot
42
42
# TODO: container with go and make
58
58
- build/distributions/**/*
59
59
60
60
- label : Staging dashboards
61
- if : build.branch =~ /^\d +\.\d+$ $/
61
+ if : build.branch =~ /^[0-9] +\.[0-9x]+\ $/
62
62
depends_on : start-gate-staging
63
63
key : dashboards-staging
64
64
# TODO: container with go and make
80
80
- build/distributions/**/*
81
81
82
82
- group : Packaging snapshot
83
- if : build.branch =~ /^\d +\.\d+$ $/ || build.branch == 'main' || build.env('RUN_SNAPSHOT') == "true"
83
+ if : build.branch =~ /^[0-9] +\.[0-9x]+\ $/ || build.branch == 'main' || build.env('RUN_SNAPSHOT') == "true"
84
84
key : packaging-snapshot
85
85
depends_on : start-gate-snapshot
86
86
steps :
@@ -169,7 +169,7 @@ steps:
169
169
key : packaging-staging
170
170
depends_on : start-gate-staging
171
171
# # Only for release
172
- if : build.branch =~ /^\d +\.\d+$ $/
172
+ if : build.branch =~ /^[0-9] +\.[0-9x]+\ $/
173
173
steps :
174
174
- label : " STAGING: {{matrix}}"
175
175
env :
@@ -257,7 +257,7 @@ steps:
257
257
steps :
258
258
- label : DRA Snapshot
259
259
# # Only for release branches and main
260
- if : build.branch =~ /^\d +\.\d+$ $/ || build.branch == 'main' || build.env('RUN_SNAPSHOT') == "true"
260
+ if : build.branch =~ /^[0-9] +\.[0-9x]+\ $/ || build.branch == 'main' || build.env('RUN_SNAPSHOT') == "true"
261
261
key : dra-snapshot
262
262
env :
263
263
DRA_WORKFLOW : snapshot
@@ -276,7 +276,7 @@ steps:
276
276
277
277
- label : DRA Staging
278
278
# # Only for release branches
279
- if : build.branch =~ /^\d +\.\d+$ $/
279
+ if : build.branch =~ /^[0-9] +\.[0-9x]+\ $/
280
280
key : dra-staging
281
281
env :
282
282
DRA_WORKFLOW : staging
@@ -296,13 +296,13 @@ steps:
296
296
- wait
297
297
298
298
- command : echo "End of concurrency gate dra-snapshot <--"
299
- if : build.branch =~ /^\d +\.\d+$ $/ || build.branch == 'main' || build.env('RUN_SNAPSHOT') == "true"
299
+ if : build.branch =~ /^[0-9] +\.[0-9x]+\ $/ || build.branch == 'main' || build.env('RUN_SNAPSHOT') == "true"
300
300
concurrency_group : " dra-gate-snapshot-$BUILDKITE_BRANCH"
301
301
concurrency : 1
302
302
key : end-gate-snapshot
303
303
304
304
- command : echo "End of concurrency gate dra-staging <--"
305
- if : build.branch =~ /^\d +\.\d+$ $/
305
+ if : build.branch =~ /^[0-9] +\.[0-9x]+\ $/
306
306
concurrency_group : " dra-gate-staging-$BUILDKITE_BRANCH"
307
307
concurrency : 1
308
308
key : end-gate-staging
0 commit comments