Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create controller-tools post-submit job #32404

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions config/jobs/image-pushing/k8s-staging-controller-tools.yaml
Original file line number Diff line number Diff line change
@@ -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
- .