Skip to content

Parameterize K8s version in node-e2e workflow#13234

Merged
samuelkarp merged 1 commit into
containerd:mainfrom
chrishenzie:parameterize-k8s-version
Apr 17, 2026
Merged

Parameterize K8s version in node-e2e workflow#13234
samuelkarp merged 1 commit into
containerd:mainfrom
chrishenzie:parameterize-k8s-version

Conversation

@chrishenzie

Copy link
Copy Markdown
Member

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.

Assisted-by: Antigravity

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a reusable-workflow input to allow parameterizing which Kubernetes branch/tag the node E2E workflow checks out, enabling compatibility testing against specific Kubernetes release branches.

Changes:

  • Introduces a workflow_call input for selecting the Kubernetes ref (branch/tag).
  • Uses the new input to set actions/checkout ref for the Kubernetes repository.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/node-e2e.yml Outdated
@dosubot dosubot Bot added the github_actions Pull requests that update GitHub Actions code label Apr 14, 2026
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 <[email protected]>
Assisted-by: Antigravity
@chrishenzie
chrishenzie force-pushed the parameterize-k8s-version branch from f5f7270 to 270916a Compare April 14, 2026 16:32
@@ -41,6 +46,7 @@ jobs:
with:
repository: kubernetes/kubernetes

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Repository doesn't require parameterization? (considering if there'd be cases where a temporary fork must be tested against)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YAGNI? We have a use-case for parameterized Kubernetes versions right now for the release/2.0 and release/1.7 branches, but not for parameterized repos.

@github-project-automation github-project-automation Bot moved this from Needs Triage to Review In Progress in Pull Request Review Apr 17, 2026
@fuweid
fuweid added this pull request to the merge queue Apr 17, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 17, 2026
@samuelkarp
samuelkarp added this pull request to the merge queue Apr 17, 2026
Merged via the queue into containerd:main with commit 2642193 Apr 17, 2026
117 of 138 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Apr 17, 2026
@chrishenzie
chrishenzie deleted the parameterize-k8s-version branch April 17, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code size/XS

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants