From 96376bea749fb53eee45363255410da60ce6c03b Mon Sep 17 00:00:00 2001 From: Daniil Fedotov Date: Mon, 21 Oct 2024 12:05:12 -0400 Subject: [PATCH] Add support for building images from `main` branch. New repos like `external-snapshot-metadata` are using `main` branch instead of `master`. --- .../image-pushing/k8s-staging-sig-storage.sh | 1 + .../k8s-staging-sig-storage.yaml | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/config/jobs/image-pushing/k8s-staging-sig-storage.sh b/config/jobs/image-pushing/k8s-staging-sig-storage.sh index 02883d89d7d9..ca12e01b9b3c 100755 --- a/config/jobs/image-pushing/k8s-staging-sig-storage.sh +++ b/config/jobs/image-pushing/k8s-staging-sig-storage.sh @@ -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 diff --git a/config/jobs/image-pushing/k8s-staging-sig-storage.yaml b/config/jobs/image-pushing/k8s-staging-sig-storage.yaml index ff64f674bd16..57646cc5ccdf 100644 --- a/config/jobs/image-pushing/k8s-staging-sig-storage.yaml +++ b/config/jobs/image-pushing/k8s-staging-sig-storage.yaml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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