Skip to content

Commit

Permalink
Add support for building images from main branch.
Browse files Browse the repository at this point in the history
New repos like `external-snapshot-metadata` are using `main` branch instead of `master`.
  • Loading branch information
hairyhum committed Oct 21, 2024
1 parent 1164926 commit 96376be
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/jobs/image-pushing/k8s-staging-sig-storage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ for repo in "${REPOS[@]}" "${BROKEN_REPOS[@]}"; do
branches:
# For publishing canary images.
- ^master$
- ^main$
- ^release-
# For publishing tagged images. Those will only get built once, i.e.
# existing images are not getting overwritten. A new tag must be set to
Expand Down
21 changes: 21 additions & 0 deletions config/jobs/image-pushing/k8s-staging-sig-storage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ postsubmits:
branches:
# For publishing canary images.
- ^master$
- ^main$
- ^release-
# For publishing tagged images. Those will only get built once, i.e.
# existing images are not getting overwritten. A new tag must be set to
Expand Down Expand Up @@ -61,6 +62,7 @@ postsubmits:
branches:
# For publishing canary images.
- ^master$
- ^main$
- ^release-
# For publishing tagged images. Those will only get built once, i.e.
# existing images are not getting overwritten. A new tag must be set to
Expand Down Expand Up @@ -101,6 +103,7 @@ postsubmits:
branches:
# For publishing canary images.
- ^master$
- ^main$
- ^release-
# For publishing tagged images. Those will only get built once, i.e.
# existing images are not getting overwritten. A new tag must be set to
Expand Down Expand Up @@ -141,6 +144,7 @@ postsubmits:
branches:
# For publishing canary images.
- ^master$
- ^main$
- ^release-
# For publishing tagged images. Those will only get built once, i.e.
# existing images are not getting overwritten. A new tag must be set to
Expand Down Expand Up @@ -181,6 +185,7 @@ postsubmits:
branches:
# For publishing canary images.
- ^master$
- ^main$
- ^release-
# For publishing tagged images. Those will only get built once, i.e.
# existing images are not getting overwritten. A new tag must be set to
Expand Down Expand Up @@ -221,6 +226,7 @@ postsubmits:
branches:
# For publishing canary images.
- ^master$
- ^main$
- ^release-
# For publishing tagged images. Those will only get built once, i.e.
# existing images are not getting overwritten. A new tag must be set to
Expand Down Expand Up @@ -261,6 +267,7 @@ postsubmits:
branches:
# For publishing canary images.
- ^master$
- ^main$
- ^release-
# For publishing tagged images. Those will only get built once, i.e.
# existing images are not getting overwritten. A new tag must be set to
Expand Down Expand Up @@ -301,6 +308,7 @@ postsubmits:
branches:
# For publishing canary images.
- ^master$
- ^main$
- ^release-
# For publishing tagged images. Those will only get built once, i.e.
# existing images are not getting overwritten. A new tag must be set to
Expand Down Expand Up @@ -341,6 +349,7 @@ postsubmits:
branches:
# For publishing canary images.
- ^master$
- ^main$
- ^release-
# For publishing tagged images. Those will only get built once, i.e.
# existing images are not getting overwritten. A new tag must be set to
Expand Down Expand Up @@ -381,6 +390,7 @@ postsubmits:
branches:
# For publishing canary images.
- ^master$
- ^main$
- ^release-
# For publishing tagged images. Those will only get built once, i.e.
# existing images are not getting overwritten. A new tag must be set to
Expand Down Expand Up @@ -421,6 +431,7 @@ postsubmits:
branches:
# For publishing canary images.
- ^master$
- ^main$
- ^release-
# For publishing tagged images. Those will only get built once, i.e.
# existing images are not getting overwritten. A new tag must be set to
Expand Down Expand Up @@ -461,6 +472,7 @@ postsubmits:
branches:
# For publishing canary images.
- ^master$
- ^main$
- ^release-
# For publishing tagged images. Those will only get built once, i.e.
# existing images are not getting overwritten. A new tag must be set to
Expand Down Expand Up @@ -501,6 +513,7 @@ postsubmits:
branches:
# For publishing canary images.
- ^master$
- ^main$
- ^release-
# For publishing tagged images. Those will only get built once, i.e.
# existing images are not getting overwritten. A new tag must be set to
Expand Down Expand Up @@ -541,6 +554,7 @@ postsubmits:
branches:
# For publishing canary images.
- ^master$
- ^main$
- ^release-
# For publishing tagged images. Those will only get built once, i.e.
# existing images are not getting overwritten. A new tag must be set to
Expand Down Expand Up @@ -581,6 +595,7 @@ postsubmits:
branches:
# For publishing canary images.
- ^master$
- ^main$
- ^release-
# For publishing tagged images. Those will only get built once, i.e.
# existing images are not getting overwritten. A new tag must be set to
Expand Down Expand Up @@ -621,6 +636,7 @@ postsubmits:
branches:
# For publishing canary images.
- ^master$
- ^main$
- ^release-
# For publishing tagged images. Those will only get built once, i.e.
# existing images are not getting overwritten. A new tag must be set to
Expand Down Expand Up @@ -661,6 +677,7 @@ postsubmits:
branches:
# For publishing canary images.
- ^master$
- ^main$
- ^release-
# For publishing tagged images. Those will only get built once, i.e.
# existing images are not getting overwritten. A new tag must be set to
Expand Down Expand Up @@ -701,6 +718,7 @@ postsubmits:
branches:
# For publishing canary images.
- ^master$
- ^main$
- ^release-
# For publishing tagged images. Those will only get built once, i.e.
# existing images are not getting overwritten. A new tag must be set to
Expand Down Expand Up @@ -741,6 +759,7 @@ postsubmits:
branches:
# For publishing canary images.
- ^master$
- ^main$
- ^release-
# For publishing tagged images. Those will only get built once, i.e.
# existing images are not getting overwritten. A new tag must be set to
Expand Down Expand Up @@ -781,6 +800,7 @@ postsubmits:
branches:
# For publishing canary images.
- ^master$
- ^main$
- ^release-
# For publishing tagged images. Those will only get built once, i.e.
# existing images are not getting overwritten. A new tag must be set to
Expand Down Expand Up @@ -821,6 +841,7 @@ postsubmits:
branches:
# For publishing canary images.
- ^master$
- ^main$
- ^release-
# For publishing tagged images. Those will only get built once, i.e.
# existing images are not getting overwritten. A new tag must be set to
Expand Down

0 comments on commit 96376be

Please sign in to comment.