Parameterize K8s version in node-e2e workflow

Add inputs to workflow_call in node-e2e.yml to allow specifying
Kubernetes branch or tag to test against. Update checkout step
to use this input, defaulting to master.

This enables testing containerd against specific Kubernetes release
branches, which is required for verifying compatibility with extended
support windows for Kubernetes distros that require them.

Signed-off-by: Chris Henzie <chrishenzie@gmail.com>
Assisted-by: Antigravity
This commit is contained in:
Chris Henzie committed 2026-04-14 09:31:41 -07:00
1 parent f006ee06ca
commit 270916ad15
1 file changed
+7 -1
+7 -1
View File
@@ -1,7 +1,12 @@
name: E2E
on:
workflow_call:
inputs:
k8s_version:
description: 'Kubernetes branch or tag to test against'
required: false
default: 'master'
type: string
permissions:
contents: read
@@ -41,6 +46,7 @@ jobs:
with:
repository: kubernetes/kubernetes
path: src/k8s.io/kubernetes
ref: ${{ inputs.k8s_version }}
fetch-depth: 0
- name: Install Go