Skip to content

CHORE: Bump capi images - #154

Open
AlexCK-STFC wants to merge 2 commits into
stfc:mainfrom
AlexCK-STFC:alex-capi-bump
Open

CHORE: Bump capi images#154
AlexCK-STFC wants to merge 2 commits into
stfc:mainfrom
AlexCK-STFC:alex-capi-bump

Conversation

@AlexCK-STFC

Copy link
Copy Markdown
Member
  • Add 1.35 and 1.36
  • Bump minors for 1.33 and 1.34 (others are fine)
  • Bump submodule
  • Bump ansible core

Tested 1.35, briefly, on CAPI. Cluster deployed successfully. Not done in depth testing.
But azimuth are using them both so they're prob fine

@AlexCK-STFC
AlexCK-STFC requested review from a team and khalford as code owners July 1, 2026 09:41
@AlexCK-STFC
AlexCK-STFC requested a review from azahmd July 1, 2026 09:41
@AlexCK-STFC

AlexCK-STFC commented Jul 1, 2026

Copy link
Copy Markdown
Member Author

Also, this script might be worth adding to the readme:

printf "%-20s %-20s %-25s\n" "kubernetes_series" "kubernetes_semver" "kubernetes_deb_version"
printf "%-20s %-20s %-25s\n" "-------------------" "-------------------" "------------------------"

for v in v1.31 v1.32 v1.33 v1.34 v1.35 v1.36; do
 deb_version=$(
    curl -fsSL "https://pkgs.k8s.io/core:/stable:/$v/deb/Packages" |
    awk '
      /^Package: kubeadm$/ {found=1}
      found && /^Version:/ {print $2; found=0}
    ' |
    sort -V |
    tail -1
  )

 semver=$(echo "$deb_version" | sed -E 's/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/')

 printf "%-20s %-20s %-25s\n" "$v" "v$semver" "$deb_version"
done

Comment thread cluster-api/versions/v1_36.json Outdated
- Add 1.35 and 1.36
- Bump minors for 1.33 and 1.34 (others are fine)
- Bump submodule
- Bump ansible core
@khalford

Copy link
Copy Markdown
Member

Also, this script might be worth adding to the readme:

printf "%-20s %-20s %-25s\n" "kubernetes_series" "kubernetes_semver" "kubernetes_deb_version"
printf "%-20s %-20s %-25s\n" "-------------------" "-------------------" "------------------------"

for v in v1.31 v1.32 v1.33 v1.34 v1.35 v1.36; do
 deb_version=$(
    curl -fsSL "https://pkgs.k8s.io/core:/stable:/$v/deb/Packages" |
    awk '
      /^Package: kubeadm$/ {found=1}
      found && /^Version:/ {print $2; found=0}
    ' |
    sort -V |
    tail -1
  )

 semver=$(echo "$deb_version" | sed -E 's/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/')

 printf "%-20s %-20s %-25s\n" "$v" "v$semver" "$deb_version"
done

Can you add this to the scripts folder? Please change the "for v in ...; do" to "for version in $(ls -1A versions | sed -e "s/.json//g" -e "s/_/./g"); do"

@khalford

Copy link
Copy Markdown
Member

Please also remove version 1.32 then I think this can be merged

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.

3 participants