Skip to content

Commit

Permalink
cluster-api-provider-openstack: rename default branch to main
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Giese <[email protected]>
  • Loading branch information
tobiasgiese committed Nov 4, 2021
1 parent 03cde5b commit f8a70df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/jobs/image-pushing/k8s-staging-cluster-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ postsubmits:
testgrid-dashboards: sig-cluster-lifecycle-image-pushes, sig-k8s-infra-gcb
decorate: true
branches:
- ^master$
- ^main$
- ^release-.+$
# this is a regex for semver, from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
- ^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
Expand Down Expand Up @@ -265,7 +265,7 @@ periodics:
extra_refs:
- org: kubernetes-sigs
repo: cluster-api-provider-openstack
base_ref: master
base_ref: main
path_alias: sigs.k8s.io/cluster-api-provider-openstack
spec:
serviceAccountName: gcb-builder
Expand All @@ -284,7 +284,7 @@ periodics:
# We need to emulate a pull job for the cloud build to work the same
# way as it usually does.
- name: PULL_BASE_REF
value: master
value: main
annotations:
# this is the name of some testgrid dashboard to report to.
testgrid-dashboards: sig-cluster-lifecycle-image-pushes, sig-k8s-infra-gcb
Expand Down

0 comments on commit f8a70df

Please sign in to comment.