-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add compatibility versions feature gate test as a nightly prow …
…periodic job
- Loading branch information
1 parent
92a96cb
commit 3d5d4f7
Showing
2 changed files
with
519 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -115,3 +115,55 @@ periodics: | |
# this is mostly for building kubernetes | ||
memory: 9Gi | ||
cpu: 7 | ||
- interval: 6h | ||
cluster: k8s-infra-prow-build | ||
name: ci-kubernetes-e2e-kind-compatibility-versions-feature-gate-test | ||
annotations: | ||
testgrid-dashboards: sig-testing-kind | ||
testgrid-tab-name: compatibility-versions-feature-gate-test | ||
description: Uses kind to run bespoke feature gate tests from the n-1 kubernetes release yaml files against a latest kubernetes master components w/ --emulated-version=n-1 set. | ||
# TODO(aaron-prindle) route the alert email to a rotation vs individual email | ||
testgrid-alert-email: [email protected] | ||
testgrid-num-columns-recent: '6' | ||
labels: | ||
preset-dind-enabled: "true" | ||
preset-kind-volume-mounts: "true" | ||
decorate: true | ||
decoration_config: | ||
timeout: 60m | ||
extra_refs: | ||
- org: kubernetes | ||
repo: kubernetes | ||
base_ref: master | ||
path_alias: k8s.io/kubernetes | ||
workdir: true | ||
- org: kubernetes | ||
repo: test-infra | ||
base_ref: master | ||
path_alias: k8s.io/test-infra | ||
spec: | ||
containers: | ||
- image: gcr.io/k8s-staging-test-infra/krte:v20241230-3006692a6f-master | ||
imagePullPolicy: Always # pull latest image for canary testing | ||
command: | ||
- wrapper.sh | ||
- bash | ||
- -c | ||
- curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && ./../test-infra/experiment/compatibility-versions/compatibility-versions-feature-gate-test.sh | ||
env: | ||
- name: FEATURE_GATES | ||
value: '{"AllBeta":true}' | ||
- name: RUNTIME_CONFIG | ||
value: '{"api/beta":"true", "api/ga":"true"}' | ||
# we need privileged mode in order to do docker in docker | ||
securityContext: | ||
privileged: true | ||
resources: | ||
limits: | ||
memory: 9Gi | ||
cpu: 7 | ||
requests: | ||
# these are both a bit below peak usage during build | ||
# this is mostly for building kubernetes | ||
memory: 9Gi | ||
cpu: 7 |
Oops, something went wrong.