Skip to content

Commit

Permalink
Forward port #314 to main: Provide a way to manually run staging bu…
Browse files Browse the repository at this point in the history
…ilds (#314) (#326)

Provide a way to manually run staging builds (#314)

This commit introduces an optional BK env var RUN_STAGING that allows manually triggering builds (for tests).

This commit is cherry-picked from 6fbe771
  • Loading branch information
dliappis authored Feb 6, 2025
1 parent a768531 commit c4bbfbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ steps:
key: "dra-staging"
if: |
// Staging should only run when triggered from Unified Release
( (build.branch =~ /^[0-9]+\.[0-9x]+\$/ || build.env('VERSION_QUALIFIER') != null) && build.env("BUILDKITE_TRIGGERED_FROM_BUILD_PIPELINE_SLUG") == "unified-release-staging" )
build.env("RUN_STAGING") == "true" || ( (build.branch =~ /^[0-9]+\.[0-9x]+\$/ || build.env('VERSION_QUALIFIER') != null) && build.env("BUILDKITE_TRIGGERED_FROM_BUILD_PIPELINE_SLUG") == "unified-release-staging" )
steps:
- label: ":construction_worker: Build stack installers / Staging"
command: |
Expand Down

0 comments on commit c4bbfbf

Please sign in to comment.