Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find latest available kind image for each supported version #200

Merged
merged 2 commits into from
Nov 2, 2023

Conversation

jacobtomlinson
Copy link
Member

@jacobtomlinson jacobtomlinson commented Nov 2, 2023

The .github/workflows/update-kubernetes.yaml workflow runs a script every night that looks up the latest supported versions of Kubernetes and then opens a PR to update README/docs badges and CI configuration to test against those versions.

However, we use kind for our testing and there usually isn't a kindest/node container image for the latest patch release of each version cycle. E.g at the time of writing the latest version of Kubernetes is 1.28.3 but the latest kindest/node tag is 1.28.0, for 1.27 the latest patch is 1.27.7 but the latest kindest/node tag is 1.27.3.

This PR updates the script to also read the list of kindest/node tags from Docker Hub and select the most recent image for each minor version patch release instead of using the latest patch release information.

I've also run the script which has removed 1.25 altogether because it is now EOL.

@github-actions github-actions bot added documentation Improvements or additions to documentation ci labels Nov 2, 2023
Copy link

codecov bot commented Nov 2, 2023

Codecov Report

Merging #200 (707ad71) into main (fb313e9) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #200   +/-   ##
=======================================
  Coverage   95.01%   95.01%           
=======================================
  Files          25       25           
  Lines        2448     2448           
=======================================
  Hits         2326     2326           
  Misses        122      122           

@jacobtomlinson jacobtomlinson merged commit b5b182f into kr8s-org:main Nov 2, 2023
9 checks passed
@jacobtomlinson jacobtomlinson deleted the update-k8s-kind-limit branch November 2, 2023 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant