Skip to content
Open
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*.sublime-project
*.sublime-workspace
*~
/bazel-*
/_artifacts
/_output
/_bin
Expand Down
16 changes: 5 additions & 11 deletions config/jobs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,11 @@ Please see [ProwJob docs](https://docs.prow.k8s.io/docs/jobs/) for more info

### Job Images

Where possible, we prefer that jobs use images that are pinned to a specific
version, containing only what is needed.
Where possible, we prefer that jobs use the kubekins-e2e image as it contains everything you need for kubernetes ecosytem.

Some good examples include:
This image is available at `us-central1-docker.pkg.dev/k8s-staging-test-infra/images/kubekins-e2e`, it is bumped automatically so search this repo for the most recent tag that matches the format `vYYYYMMDD-c27e3ff179-master`.

- [pull-release-unit] uses `golang:1.12` to run `go test ./...`
- [pull-release-notes-lint] uses `node:11` to run `npm ci && npm lint`
- [pull-org-test-all] uses `launcher.gcr.io/google/bazel:0.26.0` to run `bazel test //...`

Many jobs use `gcr.io/k8s-testimages/foo` images that are built from source in
Many jobs use `gcr.io/k8s-staging-test-infra/foo` images that are built from source in
[`images/`]. Some of these have evolved organically, with way more dependencies
than needed, and will be periodically bumped by PRs. These are sources of
technical debt that are often not very well maintained. Use at your own risk,
Expand Down Expand Up @@ -95,7 +90,7 @@ presubmits:
always_run: true
spec:
containers:
- image: public.ecr.aws/docker/library/golang:1.12.5
- image: us-central1-docker.pkg.dev/k8s-staging-test-infra/images/kubekins-e2e:v20260504-c27e3ff179-master
command:
- /bin/bash
args:
Expand Down Expand Up @@ -136,7 +131,7 @@ periodics:
path_alias: "sigs.k8s.io/cluster-api-provider-aws"
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
- image: us-central1-docker.pkg.dev/k8s-staging-test-infra/images/kubekins-e2e:v20260504-c27e3ff179-master
command:
- "./scripts/ci-aws-cred-test.sh"
```
Expand Down Expand Up @@ -180,7 +175,6 @@ need to trigger it again and are a Prow administrator you have a few options:

- you can use the rerun feature in prow.k8s.io to run the job again *with the same config*
- you can use [`config/mkpj.sh`](/config/mkpj.sh) to create a prowjob CR from your local config
- you can use `bazel run //prow/cmd/mkpj -- --job=foo ...` to create a prowjob CR from your local config

For the latter two options you'll need to submit the resulting CR via `kubectl` configured against
the prow services cluster.
Expand Down
26 changes: 0 additions & 26 deletions config/jobs/image-pushing/k8s-staging-test-infra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,6 @@ postsubmits:
#
# job images, e.g. images/*
#
- name: post-test-infra-push-bazelbuild
cluster: k8s-infra-prow-build-trusted
run_if_changed: '^images/bazelbuild/'
annotations:
testgrid-dashboards: sig-testing-image-pushes, sig-k8s-infra-gcb
testgrid-tab-name: bazelbuild
testgrid-alert-email: kubernetes-sig-testing-alerts@googlegroups.com, k8s-infra-alerts@kubernetes.io
testgrid-num-failures-to-alert: '1'
description: builds and pushes the image builder's own image
decorate: true
branches:
- ^master$
max_concurrency: 1
# avoid overloading GCB logs quota for the shared staging project
job_queue_name: "test-infra-staging-image-push"
spec:
serviceAccountName: gcb-builder
containers:
- image: gcr.io/k8s-staging-test-infra/image-builder:v20260419-39c657fdbf
command:
- /run.sh
args:
- --scratch-bucket=gs://k8s-staging-test-infra-gcb
- --project=k8s-staging-test-infra
- --build-dir=.
- images/bazelbuild/
- name: post-test-infra-push-benchmarkjunit
cluster: k8s-infra-prow-build-trusted
run_if_changed: '^pkg/benchmarkjunit/'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ periodics:
labels:
preset-service-account: "true"
preset-dind-enabled: "true"
preset-bazel-remote-cache-enabled: "true"
preset-kind-volume-mounts: "true"
annotations:
testgrid-dashboards: sig-storage-csi-ci
Expand All @@ -89,8 +88,6 @@ periodics:
env:
- name: CSI_PROW_KUBERNETES_VERSION
value: "1.28.0"
- name: CSI_PROW_USE_BAZEL
value: "false"
- name: CSI_SNAPSHOTTER_VERSION
value: "master"
- name: CSI_PROW_BUILD_JOB
Expand Down Expand Up @@ -131,7 +128,6 @@ periodics:
labels:
preset-service-account: "true"
preset-dind-enabled: "true"
preset-bazel-remote-cache-enabled: "true"
preset-kind-volume-mounts: "true"
annotations:
testgrid-dashboards: sig-storage-csi-ci
Expand All @@ -149,8 +145,6 @@ periodics:
env:
- name: CSI_PROW_KUBERNETES_VERSION
value: "latest"
- name: CSI_PROW_USE_BAZEL
value: "false"
- name: CSI_SNAPSHOTTER_VERSION
value: "master"
- name: CSI_PROW_BUILD_JOB
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ presubmits:
labels:
preset-service-account: "true"
preset-dind-enabled: "true"
preset-bazel-remote-cache-enabled: "true"
preset-kind-volume-mounts: "true"
annotations:
testgrid-dashboards: sig-storage-csi-external-provisioner
Expand All @@ -28,8 +27,6 @@ presubmits:
env:
- name: CSI_PROW_KUBERNETES_VERSION
value: "1.28.0"
- name: CSI_PROW_USE_BAZEL
value: "true"
- name: CSI_PROW_DRIVER_VERSION
value: "v1.10.0"
- name: CSI_SNAPSHOTTER_VERSION
Expand Down Expand Up @@ -62,7 +59,6 @@ presubmits:
labels:
preset-service-account: "true"
preset-dind-enabled: "true"
preset-bazel-remote-cache-enabled: "true"
preset-kind-volume-mounts: "true"
annotations:
testgrid-dashboards: sig-storage-csi-external-provisioner
Expand All @@ -79,8 +75,6 @@ presubmits:
env:
- name: CSI_PROW_KUBERNETES_VERSION
value: "latest"
- name: CSI_PROW_USE_BAZEL
value: "true"
- name: CSI_PROW_DRIVER_VERSION
value: "v1.10.0"
- name: CSI_SNAPSHOTTER_VERSION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down Expand Up @@ -125,7 +125,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down Expand Up @@ -164,7 +164,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down Expand Up @@ -125,7 +125,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down Expand Up @@ -164,7 +164,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down Expand Up @@ -125,7 +125,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down Expand Up @@ -164,7 +164,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down Expand Up @@ -125,7 +125,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down Expand Up @@ -164,7 +164,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down Expand Up @@ -125,7 +125,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down Expand Up @@ -164,7 +164,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down Expand Up @@ -139,7 +139,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down Expand Up @@ -177,7 +177,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down Expand Up @@ -139,7 +139,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down Expand Up @@ -177,7 +177,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down Expand Up @@ -139,7 +139,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down Expand Up @@ -177,7 +177,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down Expand Up @@ -139,7 +139,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down Expand Up @@ -177,7 +177,7 @@ presubmits:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20260504-c27e3ff179-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
# generic runner script, handles DIND for caching, etc.
- runner.sh
env:
- name: KUBERNETES_VERSION
Expand Down
Loading