Skip to content

Support 1.34 and 1.36 kubernetes version #76

Merged
alicefr merged 4 commits into
bootc-dev:mainfrom
alicefr:add-k8s-versions
Jul 1, 2026
Merged

Support 1.34 and 1.36 kubernetes version #76
alicefr merged 4 commits into
bootc-dev:mainfrom
alicefr:add-k8s-versions

Conversation

@alicefr

@alicefr alicefr commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Build and run some smoke test on node image based on kubernetes 1.34 and 1.36. This is required by the bootc-operator by bootc-dev/bootc-operator#48

This also introduce a common action for setting up bink and to be reused among the various flavor of the integration tests, the last commit ec815a8 includes the factoring for composefs

Comment thread .github/workflows/build-node-image.yaml Outdated
Comment thread .github/workflows/integration-tests-k8s-versions.yml Outdated
Comment thread .github/workflows/integration-tests-k8s-versions.yml Outdated
@alicefr

alicefr commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator Author

We need to split the build of the images from the tests. Without the image existing the jobs here are failing. Opened: #78

@alicefr alicefr force-pushed the add-k8s-versions branch 2 times, most recently from 1173de6 to bfc8a1d Compare June 30, 2026 07:55
alicefr added 4 commits June 30, 2026 10:20
Integration tests were hardcoded to config.DefaultNodeImage (v1.35).
To test against other K8s versions, add a NodeImage() helper that
reads BINK_NODE_IMAGE and wire it into all cluster creation paths.

Assisted-by: Claude Opus 4.6 (1M context)
Signed-off-by: Alice Frosi <afrosi@redhat.com>
Extract shared runner setup (kernel config, KSM, Go, system deps,
KVM, Podman, bink build, image caching) into a reusable composite
action at .github/actions/setup-bink.

Assisted-by: Claude Opus 4.6 (1M context)
Signed-off-by: Alice Frosi <afrosi@redhat.com>
Replace duplicated setup steps with the composite action.
Add integration-tests-k8s-versions job for testing
non-default K8s versions.

Assisted-by: Claude Opus 4.6 (1M context)
Signed-off-by: Alice Frosi <afrosi@redhat.com>
Replace inline CI setup steps with the shared setup-bink composite
action to avoid duplication across workflow files.

Assisted-by: Claude Opus 4.6 (1M context)
Signed-off-by: Alice Frosi <afrosi@redhat.com>
@alicefr alicefr force-pushed the add-k8s-versions branch from bfc8a1d to ec815a8 Compare June 30, 2026 08:22

@jlebon jlebon left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks sane to me!

- name: Get supported Kubernetes versions
id: set-matrix
run: |
DEFAULT="1.35"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

For a follow-up: ideally this too would be derived from a file in the repo which serves as the source of truth for what the default is. For the go code we can from the Makefile set a global var via GLDFLAGS="-X ....

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Filed #87

@alicefr alicefr merged commit 6643b74 into bootc-dev:main Jul 1, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants