Skip to content

Commit

Permalink
Make PR manager use the default branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Albertoimpl committed Mar 12, 2024
1 parent 5cec45c commit d573cb2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ci/pr-manager-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ resources:
uri: ((github-repo))
username: ((github-token))
password: ((github-password))
branch: main
branch: ((branch))
paths:
- ci/pr-pipeline.yml
- ci/config-concourse.yml
Expand Down
4 changes: 3 additions & 1 deletion scripts/set-pipelines.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@ set_branch_pipeline() {

set_pr_manager_pipeline() {
local -r pipeline_name="app-broker-pull-requests${PIPELINE_NAME_SUFFIX:+"-$PIPELINE_NAME_SUFFIX"}"
local -r branch="2.2.x"

echo "Setting PR manager pipeline..."

fly --target "$FLY_TARGET" set-pipeline --pipeline "$pipeline_name" \
--config pr-manager-pipeline.yml \
--load-vars-from config-concourse.yml \
--var ci-image-tag="2.2.x" \
--var ci-image-tag="$branch" \
--var "branch=$branch" \
--var pipeline-name="$pipeline_name"
}

Expand Down

0 comments on commit d573cb2

Please sign in to comment.