Skip to content

Commit

Permalink
test: add compatibility versions feature gate test as a nightly prow …
Browse files Browse the repository at this point in the history
…periodic job
  • Loading branch information
aaron-prindle committed Feb 3, 2025
1 parent 92a96cb commit 3d5d4f7
Show file tree
Hide file tree
Showing 2 changed files with 519 additions and 0 deletions.
52 changes: 52 additions & 0 deletions config/jobs/kubernetes/sig-testing/compatibility-versions-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading

0 comments on commit 3d5d4f7

Please sign in to comment.