Skip to content

Commit

Permalink
fix ifs
Browse files Browse the repository at this point in the history
  • Loading branch information
pazone committed Apr 25, 2024
1 parent e033a01 commit ffed89b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .buildkite/packaging.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ steps:
key: dashboards
steps:
- label: Snapshot dashboards
if: "build.branch =~ /\\d+\\.\\d+/ || build.branch == 'main'"
if: "build.branch =~ /^\\d+\\.\\d+/ || build.branch == 'main'"
key: dashboards-snapshot
# TODO: container with go and make
agents:
Expand All @@ -32,7 +32,7 @@ steps:
- build/distributions/**/*

- label: Staging dashboards
if: "build.branch =~ /\\d+\\.\\d+/"
if: "build.branch =~ /^\\d+\\.\\d+/"
key: dashboards-staging
# TODO: container with go and make
agents:
Expand All @@ -46,7 +46,7 @@ steps:
- build/distributions/**/*

- group: Packaging snapshot
if: "build.branch =~ /\\d+\\.\\d+/ || build.branch == 'main'"
if: "build.branch =~ /^\\d+\\.\\d+/ || build.branch == 'main'"
key: packaging-snapshot
steps:
# x86
Expand Down Expand Up @@ -123,7 +123,7 @@ steps:

key: packaging-staging
## Only for release
if: "build.branch =~ /\\d+\\.\\d+/"
if: "build.branch =~ /^\\d+\\.\\d+/"
steps:
# x86
- label: ":ubuntu: {{matrix}}/Packaging Linux Staging"
Expand Down Expand Up @@ -200,7 +200,7 @@ steps:
steps:
- label: DRA Snapshot
## Only for release branches and main
if: "build.branch =~ /\\d+\\.\\d+/ || build.branch == 'main'"
if: "build.branch =~ /^\\d+\\.\\d+/ || build.branch == 'main'"
key: dra-snapshot
env:
DRA_WORKFLOW: snapshot
Expand All @@ -216,7 +216,7 @@ steps:

- label: DRA Staging
## Only for release branches
if: "build.branch =~ /\\d+\\.\\d+/"
if: "build.branch =~ /^\\d+\\.\\d+/"
key: dra-staging
env:
DRA_WORKFLOW: staging
Expand Down

0 comments on commit ffed89b

Please sign in to comment.