From 31ca0e5cf5bfccd82cd4d87f3ae979f29fc4c36d Mon Sep 17 00:00:00 2001 From: Stefan Bueringer Date: Mon, 8 Apr 2024 17:00:11 +0200 Subject: [PATCH] Create controller-tools post-submit job MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Büringer buringerst@vmware.com --- .../k8s-staging-controller-tools.yaml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 config/jobs/image-pushing/k8s-staging-controller-tools.yaml diff --git a/config/jobs/image-pushing/k8s-staging-controller-tools.yaml b/config/jobs/image-pushing/k8s-staging-controller-tools.yaml new file mode 100644 index 000000000000..afd37b2f7865 --- /dev/null +++ b/config/jobs/image-pushing/k8s-staging-controller-tools.yaml @@ -0,0 +1,25 @@ +postsubmits: + # this is the github repo we'll build from; this block needs to be repeated for each repo. + kubernetes-sigs/controller-tools: + - name: post-controller-tools-push-images + cluster: k8s-infra-prow-build-trusted + annotations: + testgrid-dashboards: sig-k8s-infra-gcb + testgrid-tab-name: post-controller-tools-push-images + decorate: true + branches: + - ^main$ + - ^tools-releases$ + spec: + serviceAccountName: gcb-builder + containers: + - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4 + command: + - /run.sh + args: + # this is the project GCB will run in, which is the same as the GCR images are pushed to. + - --project=k8s-staging-controller-tools + - --scratch-bucket=gs://k8s-staging-controller-tools-gcb + - --env-passthrough=PULL_BASE_REF + - --with-git-dir + - .