From 43cf69177b906079afd9aba294212e11e4d0c32b Mon Sep 17 00:00:00 2001 From: Daniel Vega-Myhre Date: Mon, 24 Apr 2023 21:29:24 +0000 Subject: [PATCH 1/2] add prow job to build and push image --- .../image-pushing/k8s-staging-jobset.yaml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 config/jobs/image-pushing/k8s-staging-jobset.yaml diff --git a/config/jobs/image-pushing/k8s-staging-jobset.yaml b/config/jobs/image-pushing/k8s-staging-jobset.yaml new file mode 100644 index 000000000000..3257245cfd7b --- /dev/null +++ b/config/jobs/image-pushing/k8s-staging-jobset.yaml @@ -0,0 +1,23 @@ +postsubmits: + kubernetes-sigs/jobset: + - name: post-jobset-push-images + cluster: k8s-infra-prow-build-trusted + annotations: + testgrid-dashboards: sig-scheduling, sig-k8s-infra-gcb + decorate: true + branches: + - ^main$ + - ^release- + # Build semver tags, too + - ^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-]+)*))?$ + spec: + serviceAccountName: gcb-builder + containers: + - image: gcr.io/k8s-staging-test-infra/image-builder:v20230111-cd1b3caf9c + command: + - /run.sh + args: + - --project=k8s-staging-jobset + - --scratch-bucket=gs://k8s-staging-jobset-gcb + - --env-passthrough=PULL_BASE_REF + - . From ed573110a206b492fe6d3767848dbafd6019f10b Mon Sep 17 00:00:00 2001 From: Daniel Vega-Myhre Date: Mon, 24 Apr 2023 21:33:44 +0000 Subject: [PATCH 2/2] sig-apps --- config/jobs/image-pushing/k8s-staging-jobset.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/jobs/image-pushing/k8s-staging-jobset.yaml b/config/jobs/image-pushing/k8s-staging-jobset.yaml index 3257245cfd7b..2fabf8eda090 100644 --- a/config/jobs/image-pushing/k8s-staging-jobset.yaml +++ b/config/jobs/image-pushing/k8s-staging-jobset.yaml @@ -3,7 +3,7 @@ postsubmits: - name: post-jobset-push-images cluster: k8s-infra-prow-build-trusted annotations: - testgrid-dashboards: sig-scheduling, sig-k8s-infra-gcb + testgrid-dashboards: sig-apps, sig-k8s-infra-gcb decorate: true branches: - ^main$