-
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.
Merge pull request #33534 from aaron-prindle/compatibility-versions-test
test(compatibility-versions): adds test script and periodic prow job for testing kubernetes feature compatibility versions
- Loading branch information
Showing
3 changed files
with
398 additions
and
0 deletions.
There are no files selected for viewing
54 changes: 54 additions & 0 deletions
54
config/jobs/kubernetes/sig-testing/compatibility-versions-e2e.yaml
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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
periodics: | ||
- interval: 6h | ||
cluster: k8s-infra-prow-build | ||
name: ci-kubernetes-e2e-kind-compatibility-versions | ||
annotations: | ||
testgrid-dashboards: sig-testing-kind | ||
testgrid-tab-name: compatibility-version-test | ||
description: Uses kubetest & kind to run e2e tests from older (n-1..3) kubernetes releases against a latest kubernetes master components w/ --emulated-version=<n-1..3> set. | ||
# TODO(aaron-prindle) route the alert email to a rotation vs individual email | ||
testgrid-alert-email: aprindle@google.com | ||
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: test-infra | ||
base_ref: master | ||
path_alias: k8s.io/test-infra | ||
spec: | ||
containers: | ||
- image: gcr.io/k8s-staging-test-infra/krte:v20240903-6a352c5344-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%%:*}/" && "$(go env GOPATH)"/src/k8s.io/test-infra/experiment/compatibility-versions/e2e-k8s-compatibility-versions.sh | ||
env: | ||
- name: EMULATED_VERSION | ||
value: "1.31" # TODO(aaron-prindle) FIXME - hardcoded for now | ||
- name: SKIP | ||
value: Alpha|Disruptive|Slow|Flaky|IPv6|LoadBalancer|PodSecurityPolicy|nfs | ||
- name: PARALLEL | ||
value: "true" | ||
- 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 |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# See the OWNERS docs at https://go.k8s.io/owners | ||
|
||
reviewers: | ||
- aaron-prindle | ||
approvers: | ||
- aaron-prindle |
Oops, something went wrong.