Skip to content

Commit f68b5a3

Browse files
committed
Add image push job for karpenter-cluster-api-provider
Signed-off-by: Max Cao <[email protected]>
1 parent bdb8be9 commit f68b5a3

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
postsubmits:
2+
# This is the github repo we'll build from. This block needs to be repeated
3+
# for each repo.
4+
kubernetes-sigs/karpenter-provider-cluster-api:
5+
# The name should be changed to match the repo name above
6+
- name: post-karpenter-provider-cluster-api-push-images
7+
cluster: k8s-infra-prow-build-trusted
8+
annotations:
9+
# This is the name of some testgrid dashboard to report to.
10+
# If this is the first one for your sig, you may need to create one
11+
testgrid-dashboards: sig-cluster-lifecycle-image-pushes, sig-k8s-infra-gcb
12+
decorate: true
13+
# this causes the job to only run on the master branch. Remove it if your
14+
# job makes sense on every branch (unless it's setting a `latest` tag it
15+
# probably does).
16+
# if you remove it you must instead use the following:
17+
#skip_branches:
18+
# # do not run on dependabot branches, these exist prior to merge
19+
# # only merged code should trigger these jobs
20+
# - '^dependabot'
21+
branches:
22+
- ^main$
23+
spec:
24+
serviceAccountName: gcb-builder
25+
containers:
26+
- image: gcr.io/k8s-staging-test-infra/image-builder:v20250914-3092127382
27+
command:
28+
- /run.sh
29+
args:
30+
# this is the project GCB will run in, which is the same as the GCR
31+
# images are pushed to.
32+
- --project=k8s-staging-karpenter-cluster-api
33+
# This is the same as above, but with -gcb appended.
34+
- --scratch-bucket=gs://k8s-staging-karpenter-cluster-api-gcb
35+
- --env-passthrough=PULL_BASE_REF
36+
- .

0 commit comments

Comments
 (0)