Skip to content

Commit 37ac4ce

Browse files
authored
Merge pull request #35526 from mkumatag/include_netbench
Build image for network/netperfbenchmark
2 parents 0bb4a49 + eb69280 commit 37ac4ce

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

config/jobs/image-pushing/k8s-staging-perf-tests.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ readonly OUTPUT="$(dirname $0)/k8s-staging-perf-tests.yaml"
1919
readonly IMAGES=(
2020
access-tokens
2121
containerd
22+
network/netperfbenchmark
2223
probes
2324
request-benchmark
2425
scratch
@@ -54,7 +55,7 @@ for image in "${IMAGES[@]}"; do
5455
spec:
5556
serviceAccountName: gcb-builder
5657
containers:
57-
- image: gcr.io/k8s-staging-test-infra/image-builder:v20241224-fe22c549c1
58+
- image: gcr.io/k8s-staging-test-infra/image-builder:v20250914-3092127382
5859
command:
5960
- /run.sh
6061
args:

config/jobs/image-pushing/k8s-staging-perf-tests.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,40 @@ postsubmits:
7070
env:
7171
- name: WHAT
7272
value: "containerd"
73+
- name: post-kubernetes-push-perf-tests-networknetperfbenchmark
74+
rerun_auth_config:
75+
github_team_slugs:
76+
- org: kubernetes
77+
slug: sig-scalability-leads
78+
github_users:
79+
# TODO: Added for initial testing; remove after the job stabilizes.
80+
- mkumatag
81+
cluster: k8s-infra-prow-build-trusted
82+
annotations:
83+
testgrid-dashboards: sig-scalability-perf-tests, sig-k8s-infra-gcb
84+
decorate: true
85+
# we only need to run if the test images have been changed.
86+
run_if_changed: '^util-images\/network\/netperfbenchmark\/'
87+
branches:
88+
- ^master$
89+
spec:
90+
serviceAccountName: gcb-builder
91+
containers:
92+
- image: gcr.io/k8s-staging-test-infra/image-builder:v20250914-3092127382
93+
command:
94+
- /run.sh
95+
args:
96+
# this is the project GCB will run in, which is the same as the GCR
97+
# images are pushed to.
98+
- --project=k8s-staging-perf-tests
99+
# This is the same as above, but with -gcb appended.
100+
- --scratch-bucket=gs://k8s-staging-perf-tests-gcb
101+
- --env-passthrough=WHAT
102+
- --build-dir=.
103+
- util-images
104+
env:
105+
- name: WHAT
106+
value: "network/netperfbenchmark"
73107
- name: post-kubernetes-push-perf-tests-probes
74108
rerun_auth_config:
75109
github_team_slugs:

0 commit comments

Comments
 (0)