Skip to content

Commit

Permalink
Add canary jobs for periodic-kubernetes-bazel-build variants
Browse files Browse the repository at this point in the history
Ensure periodic-kubernetes-bazel-build can run k8s-infra-prow-build
cluster and push artifacts on k8s-release-dev bucket.

Related to : kubernetes#19483

Signed-off-by: Arnaud Meukam <[email protected]>
  • Loading branch information
ameukam committed Feb 22, 2021
1 parent 670293a commit 7297a56
Show file tree
Hide file tree
Showing 3 changed files with 132 additions and 0 deletions.
44 changes: 44 additions & 0 deletions config/jobs/kubernetes/sig-release/release-branch-jobs/1.18.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,50 @@ periodics:
requests:
cpu: "4"
memory: 12Gi
- annotations:
testgrid-dashboards: sig-release-1.18-blocking, sig-testing-canaries
testgrid-tab-name: bazel-build-1.18-canary
decorate: true
extra_refs:
- base_ref: release-1.18
org: kubernetes
repo: kubernetes
- base_ref: master
org: kubernetes
repo: test-infra
interval: 6h
labels:
preset-bazel-scratch-dir: "true"
preset-service-account: "true"
name: periodic-kubernetes-bazel-build-1-18-canary
cluster: k8s-infra-prow-build
rerun_auth_config:
github_team_ids:
- 2241179
spec:
containers:
- args:
- -c
- |
set -o errexit
gcloud auth activate-service-account --key-file=/etc/service-account/service-account.json
../test-infra/scenarios/kubernetes_bazel.py \
--config=unit \
"--build=//... -//vendor/..." \
--release=//build/release-tars \
--gcs=gs://k8s-release-dev/ci-periodic \
--version-suffix=-bazel
command:
- bash
image: gcr.io/k8s-testimages/kubekins-e2e:v20210217-8c72491-1.18
name: ""
resources:
limits:
cpu: "4"
memory: 12Gi
requests:
cpu: "4"
memory: 12Gi
- annotations:
testgrid-alert-email: [email protected], [email protected]
testgrid-dashboards: sig-release-1.18-blocking, google-unit
Expand Down
44 changes: 44 additions & 0 deletions config/jobs/kubernetes/sig-release/release-branch-jobs/1.19.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,50 @@ periodics:
requests:
cpu: "4"
memory: 12Gi
- annotations:
testgrid-dashboards: sig-release-1.19-blocking, sig-testing-canaries
testgrid-tab-name: bazel-build-1.19-canary
decorate: true
extra_refs:
- base_ref: release-1.19
org: kubernetes
repo: kubernetes
- base_ref: master
org: kubernetes
repo: test-infra
interval: 6h
labels:
preset-bazel-scratch-dir: "true"
preset-service-account: "true"
name: periodic-kubernetes-bazel-build-1-19-canary
cluster: k8s-infra-prow-build
rerun_auth_config:
github_team_ids:
- 2241179
spec:
containers:
- args:
- -c
- |
set -o errexit
gcloud auth activate-service-account --key-file=/etc/service-account/service-account.json
../test-infra/scenarios/kubernetes_bazel.py \
--config=unit \
"--build=//... -//vendor/..." \
--release=//build/release-tars \
--gcs=gs://k8s-release-dev/ci-periodic \
--version-suffix=-bazel
command:
- bash
image: gcr.io/k8s-testimages/kubekins-e2e:v20210217-8c72491-1.19
name: ""
resources:
limits:
cpu: "4"
memory: 12Gi
requests:
cpu: "4"
memory: 12Gi
- annotations:
testgrid-alert-email: [email protected], [email protected]
testgrid-dashboards: sig-release-1.19-blocking, google-unit
Expand Down
44 changes: 44 additions & 0 deletions config/jobs/kubernetes/sig-release/release-branch-jobs/1.20.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,50 @@ periodics:
requests:
cpu: "4"
memory: 12Gi
- annotations:
testgrid-dashboards: sig-release-1.20-blocking, sig-testing-canaries
testgrid-tab-name: bazel-build-1.20-canary
decorate: true
extra_refs:
- base_ref: release-1.20
org: kubernetes
repo: kubernetes
- base_ref: master
org: kubernetes
repo: test-infra
interval: 6h
labels:
preset-bazel-scratch-dir: "true"
preset-service-account: "true"
name: periodic-kubernetes-bazel-build-1-20-canary
cluster: k8s-infra-prow-build
rerun_auth_config:
github_team_ids:
- 2241179
spec:
containers:
- args:
- -c
- |
set -o errexit
gcloud auth activate-service-account --key-file=/etc/service-account/service-account.json
../test-infra/scenarios/kubernetes_bazel.py \
--config=unit \
"--build=//... -//vendor/..." \
--release=//build/release-tars \
--gcs=gs://k8s-release-dev/ci-periodic \
--version-suffix=-bazel
command:
- bash
image: gcr.io/k8s-testimages/kubekins-e2e:v20210217-8c72491-1.20
name: ""
resources:
limits:
cpu: "4"
memory: 12Gi
requests:
cpu: "4"
memory: 12Gi
- annotations:
testgrid-alert-email: [email protected], [email protected]
testgrid-dashboards: sig-release-1.20-blocking, google-unit
Expand Down

0 comments on commit 7297a56

Please sign in to comment.