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

fix(ti-community-infra/prow): fix image building jobs #2996

Merged
merged 2 commits into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
6 changes: 3 additions & 3 deletions prow-jobs/ti-community-infra/prow/postsubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ postsubmits:
ti-community-infra/prow:
- name: push-prow-images
# Runs on more than just the Prow dir to include some additional images that we publish to gcr.io/k8s-prow.
run_if_changed: '^(\.ko\.yaml|hack/(make-rules|prowimagebuilder)|gencred|prow|ghproxy|label_sync/.+\.go|robots/commenter|robots/pr-creator|robots/issue-creator|testgrid/cmd|gcsweb)'
run_if_changed: '^(\.ko\.yaml|hack/(make-rules|prowimagebuilder))|.+\.go'
wuhuizuo marked this conversation as resolved.
Show resolved Hide resolved
decorate: true
branches:
- ^release$
max_concurrency: 1
spec:
serviceAccountName: pusher
serviceAccountName: prow-pusher
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-test-infra
command:
Expand All @@ -23,7 +23,7 @@ postsubmits:
privileged: true
resources:
requests:
cpu: "4"
cpu: "1"
annotations:
description:
builds and pushes all prow on each commit by running make -C prow
Expand Down
6 changes: 3 additions & 3 deletions prow-jobs/ti-community-infra/prow/presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,23 @@ presubmits:
# run_if_changed: '^(\.ko\.yaml|hack/(ts-rollup|make-rules|prowimagebuilder)|prow|ghproxy|label_sync/.+\.go|robots/commenter|robots/pr-creator|robots/issue-creator|testgrid/cmd|gcsweb)'
decorate: true
spec:
serviceAccountName: prow-pusher
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-test-infra
command:
- runner.sh
args:
- make
- -C
- prow
- build-images
- REGISTRY=ticommunityinfra
# docker-in-docker needs privileged mode
securityContext:
privileged: true
resources:
requests:
# This job is very CPU intensive as building prow images in
# parallel
cpu: "4"
cpu: "1"
- name: pull-verify
branches:
- ^master$
Expand Down