Skip to content

Commit

Permalink
Remove kind 1.32.1 from available kind versions (#7208)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdabelf5 authored Jan 24, 2025
1 parent 09c53e0 commit dd70806
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ jobs:
id: vars
run: |
kindest_latest=$(curl -s "https://hub.docker.com/v2/repositories/kindest/node/tags" \
| grep -o '"name": *"[^"]*' \
| grep -o '[^"]*$' \
| jq -r .results.[].name \
| grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' \
| sort -rV \
| grep -v v1.32.1 \
| head -n 1 \
| sed 's/^.\{1\}//' \
| tr -d '\n')
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,19 @@ jobs:
id: vars
run: |
kindest_latest=$(curl -s "https://hub.docker.com/v2/repositories/kindest/node/tags" \
| grep -o '"name": *"[^"]*' \
| grep -o '[^"]*$' \
| jq -r .results.[].name \
| grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' \
| sort -rV \
| grep -v v1.32.1 \
| head -n 1 \
| sed 's/^.\{1\}//' \
| tr -d '\n')
echo "k8s_latest=$kindest_latest" >> $GITHUB_OUTPUT
kindest_versions=$(curl -s "https://hub.docker.com/v2/repositories/kindest/node/tags/?page_size=50" \
| grep -o '"name": *"[^"]*' \
| grep -o '[^"]*$' \
| jq -r .results.[].name \
| grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' \
| sort -rV \
| grep -v v1.32.1 \
| awk -F. '!seen[$1"."$2]++' \
| head -n 8 \
| sort -V \
Expand Down

0 comments on commit dd70806

Please sign in to comment.