Skip to content

Commit

Permalink
fix(ti-community-infra/prow): let the heavy job run in other cluster (#…
Browse files Browse the repository at this point in the history
…2998)

Signed-off-by: wuhuizuo <wuhuizuo@126.com>

Signed-off-by: wuhuizuo <wuhuizuo@126.com>
  • Loading branch information
wuhuizuo authored Jun 14, 2024
1 parent c6e5c1c commit 5a4ceca
Show file tree
Hide file tree
Showing 13 changed files with 28 additions and 35 deletions.
5 changes: 1 addition & 4 deletions OWNERS
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# See the OWNERS docs at https://go.k8s.io/owners
approvers:
- wuhuizuo
- purelind
emeritus_reviewers:
- lijie0123
- sig-approvers-ee
6 changes: 6 additions & 0 deletions OWNERS_ALIASES
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@ aliases:
- qiancai
sig-approvers-tidb-tools: # approvers for CI scope of tidb-tools project.
- Benjamin2037
sig-approvers-ee: # approvers for engineering efficiency scopes.
- wuhuizuo
- purelind

emeritus_reviewers: # emeritus reviewers will be keeped here, but will not be used.
- lijie0123 # ee reviewer
6 changes: 3 additions & 3 deletions jenkins/OWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
reviewers:
- wuhuizuo
labels:
- area/deprecated
approvers:
- purelind
- sig-approvers-ee
5 changes: 1 addition & 4 deletions jenkins/jobs/cd/OWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
approvers:
- wuhuizuo
reviewers:
- wuhuizuo
- purelind
- sig-approvers-ee
4 changes: 1 addition & 3 deletions jenkins/pipelines/cd/OWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
reviewers:
- purelind
approvers:
- wuhuizuo
- sig-approvers-ee
4 changes: 1 addition & 3 deletions jobs/OWNERS
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
labels:
- area/jobs/jenkins-DSL
reviewers:
- purelind
approvers:
- wuhuizuo
- sig-approvers-ee
4 changes: 1 addition & 3 deletions libraries/OWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
reviewers:
- purelind
approvers:
- wuhuizuo
- sig-approvers-ee
3 changes: 1 addition & 2 deletions pipelines/OWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
labels:
- area/jenkins-pipelines
approvers:
- wuhuizuo
- purelind
- sig-approvers-ee
4 changes: 1 addition & 3 deletions prow-jobs/OWNERS
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
labels:
- area/jobs/prow
reviewers:
- purelind
approvers:
- wuhuizuo
- sig-approvers-ee
3 changes: 2 additions & 1 deletion prow-jobs/ti-community-infra/prow/postsubmits.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
postsubmits:
ti-community-infra/prow:
- name: push-prow-images
cluster: gcp-prow-ksyun
# 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)|.+\.go)'
decorate: true
Expand All @@ -23,7 +24,7 @@ postsubmits:
privileged: true
resources:
requests:
cpu: "1"
cpu: "4"
annotations:
description:
builds and pushes all prow on each commit by running make -C prow
Expand Down
10 changes: 6 additions & 4 deletions prow-jobs/ti-community-infra/prow/presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ presubmits:
- ^release$
always_run: true
decorate: true
clone_depth: 1
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-test-infra
Expand All @@ -15,12 +16,12 @@ presubmits:
- make
- test
- name: pull-build-images
cluster: gcp-prow-ksyun
decorate: true
always_run: false
branches:
- ^master$
- ^release$
always_run: false
# 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:
Expand All @@ -38,13 +39,14 @@ presubmits:
requests:
# This job is very CPU intensive as building prow images in
# parallel
cpu: "1"
cpu: "4"
- name: pull-verify
branches:
- ^master$
- ^release$
always_run: true
decorate: true
clone_depth: 1
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-test-infra
Expand Down
5 changes: 2 additions & 3 deletions scripts/plugins/OWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
reviewers:
- purelind
approvers:
- wuhuizuo
- sig-approvers-ee

4 changes: 2 additions & 2 deletions staging/OWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# See the OWNERS docs at https://go.k8s.io/owners
approvers:
- wuhuizuo
- purelind
- sig-approvers-ee

0 comments on commit 5a4ceca

Please sign in to comment.