Skip to content

Commit

Permalink
Prepare for BMO main branch switch
Browse files Browse the repository at this point in the history
This PR prepares the prow config for BMO main branch switch. Mainly this PR adds the branch monitoring for BMO in prow config. Currently it monitors two branches main and master. Once main is the default branch, master would be removed.
  • Loading branch information
kashifest committed Nov 17, 2021
1 parent bef6a67 commit 5066205
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jenkins/scripts/bare_metal_lab/files/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#
# Set the Baremetal Operator branch to checkout
#
#export BMOBRANCH="${BMOBRANCH:-master}"
#export BMOBRANCH="${BMOBRANCH:-main}"

#
# Set the Cluster Api Metal3 provider repository to clone
Expand Down
9 changes: 7 additions & 2 deletions prow/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,13 @@ branch-protection:
# Use this to specify that a status coming from outside of prow is
# required. We use this to require functional jobs running in
# jenkins are required, for example.
required_status_checks:
contexts: ["test-v1b1-integration"]
branches:
main:
required_status_checks:
contexts: ["test-v1b1-centos-integration", "test-v1b1-integration"]
master:
required_status_checks:
contexts: ["test-v1b1-centos-integration", "test-v1b1-integration"]
cluster-api-provider-metal3:
branches:
main:
Expand Down

0 comments on commit 5066205

Please sign in to comment.