Skip to content

Commit 3ce3132

Browse files
authored
[CONTINT-5467] Track latest RC Kubernetes version in a nightly CI job (#53635)
### What does this PR do? * Adds new classes to abstract various operations and add better type safety compared to dictionaries. * `KubernetesRelease` * `KindKubernetesImage` * `KubernetesVersions` * `JobLocation` * `E2EJobFile` * Adds a new e2e job `new-e2e-containers-k8s-rc-latest` that runs nightly to track the latest Kubernetes RC version * The job is only updated/enabled when the RC version > the latest stable version ### Motivation Coverage of Kubernetes RC versions ### Describe how you validated your changes Ran `dda inv k8s-version.*` locally. ### Additional Notes Co-authored-by: justin.lesko <justin.lesko@datadoghq.com>
1 parent d5ee249 commit 3ce3132

2 files changed

Lines changed: 370 additions & 218 deletions

File tree

.gitlab/test/e2e/e2e.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,20 @@ new-e2e-containers-k8s-latest:
293293
ON_NIGHTLY_FIPS: "true"
294294
EXTRA_PARAMS: "--run TestKindSuite -c ddinfra:kubernetesVersion=v1.36.3@sha256:a16e7786dbb06083ddd49e59a17f9cb36e75e85491b192d6977a674d5364b720"
295295

296+
new-e2e-containers-k8s-rc-latest:
297+
extends:
298+
- .new_e2e_template_needs_container_deploy_linux
299+
rules:
300+
- when: never # disabled — RC not newer than latest stable
301+
- !reference [.except_disable_e2e_tests]
302+
- !reference [.on_deploy_nightly_repo_branch]
303+
- !reference [.manual]
304+
variables:
305+
TARGETS: ./tests/containers
306+
TEAM: container-integrations
307+
ON_NIGHTLY_FIPS: "true"
308+
EXTRA_PARAMS: "--run TestKindSuite -c ddinfra:kubernetesVersion=v1.36.0-rc.1@sha256:d7fcd0fa9939dd3d1f6691bd9ad9144aecc08e43b8888820a9a75017594644d6"
309+
296310
new-e2e-containers-eks-init:
297311
stage: e2e_init
298312
extends: .new_e2e_template

0 commit comments

Comments
 (0)