Skip to content

Commit

Permalink
Merge pull request #2378 from michelle192837/mainbranch
Browse files Browse the repository at this point in the history
Trigger TestGrid jobs on main, not master, branch.
  • Loading branch information
google-oss-prow[bot] authored Sep 13, 2024
2 parents 0da61c2 + 6cdb3a4 commit 56d354e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions prow/prowjobs/GoogleCloudPlatform/testgrid/testgrid-jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ postsubmits:
- name: push-testgrid-images
cluster: test-infra-trusted
branches:
- ^master$
- ^main$
run_if_changed: '^([^c]|c[^l]|cl[^u]|clu[^s]|clus[^t]|clust[^e]|cluste[^r]).*$' # Anything outside cluster
decorate: true
annotations:
Expand All @@ -44,7 +44,7 @@ postsubmits:
- name: post-testgrid-deploy-prod
cluster: test-infra-trusted
branches:
- ^master$
- ^main$
run_if_changed: '^cluster/prod'
decorate: true
annotations:
Expand All @@ -62,7 +62,7 @@ postsubmits:
- name: post-testgrid-deploy-canary
cluster: test-infra-trusted
branches:
- ^master$
- ^main$
run_if_changed: '^cluster/canary'
decorate: true
annotations:
Expand All @@ -80,7 +80,7 @@ postsubmits:
- name: testgrid-prod-autobump
cluster: test-infra-trusted
branches:
- ^master$
- ^main$
run_if_changed: '^cluster/canary'
decorate: true
annotations:
Expand Down Expand Up @@ -118,7 +118,7 @@ periodics:
extra_refs:
- org: GoogleCloudPlatform
repo: testgrid
base_ref: master
base_ref: main
annotations:
testgrid-dashboards: googleoss-test-infra
testgrid-tab-name: autobump-testgrid-canary
Expand Down

0 comments on commit 56d354e

Please sign in to comment.