Skip to content

Commit 0f85e8d

Browse files
committed
bump k8s versions for k8s_versions pipeline
1 parent 995a684 commit 0f85e8d

File tree

12 files changed

+31
-49
lines changed

12 files changed

+31
-49
lines changed

.ci/scripts/kind_with_registry.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ containerdConfigPatches:
3737
config_path = "/etc/containerd/certs.d"
3838
nodes:
3939
- role: control-plane
40-
image: kindest/node:v1.23.0@sha256:49824ab1727c04e56a21a5d8372a402fcd32ea51ac96a2706a12af38934f81ac
40+
image: kindest/node:$1
4141
kubeadmConfigPatches:
4242
- |
4343
kind: JoinConfiguration

.github/actions/pre-reqs/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ runs:
6161
if: ${{ !inputs.deploy }}
6262
run: |
6363
if [[ -z "${{ inputs.minikube-version }}" ]] ; then
64-
minikube start --memory=max --cpus=max --driver=docker --extra-config=apiserver.service-node-port-range=80-32000 --kubernetes-version=${{ inputs.minikube-version }}
64+
minikube start --memory=max --cpus=max --driver=docker --extra-config=apiserver.service-node-port-range=80-32000
6565
else
66-
minikube start --memory=max --cpus=max --vm-driver=docker --extra-config=apiserver.service-node-port-range=80-32000
66+
minikube start --memory=max --cpus=max --vm-driver=docker --extra-config=apiserver.service-node-port-range=80-32000 --kubernetes-version=${{ inputs.minikube-version }}
6767
fi
6868
minikube addons enable metrics-server
6969
minikube addons enable ingress

.github/workflows/k8s_versions.yml

Lines changed: 10 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
name: Kubernetes Versions
22
on:
3-
# push:
4-
# branches: [ '*' ]
53
workflow_dispatch:
64
pull_request:
75
branches: [ main ]
@@ -15,9 +13,9 @@ jobs:
1513
fail-fast: false
1614
matrix:
1715
include:
18-
- K8S_VERSION: v1.29.0
19-
- K8S_VERSION: v1.28.4
20-
- K8S_VERSION: v1.27.8
16+
- K8S_VERSION: v1.32.0
17+
- K8S_VERSION: v1.31.0
18+
- K8S_VERSION: v1.30.4
2119
steps:
2220
- uses: actions/checkout@v4
2321
- uses: "./.github/actions/pre-reqs"
@@ -54,9 +52,9 @@ jobs:
5452
fail-fast: false
5553
matrix:
5654
include:
57-
- K8S_VERSION: v1.29.0
58-
- K8S_VERSION: v1.28.0
59-
- K8S_VERSION: v1.27.0
55+
- K8S_VERSION: v1.32.2
56+
- K8S_VERSION: v1.31.6
57+
- K8S_VERSION: v1.30.10
6058
steps:
6159
- uses: actions/checkout@v4
6260
- name: Set up Python 3.8
@@ -110,14 +108,6 @@ jobs:
110108
kubectl version -ojson|jq .serverVersion
111109
kubectl wait --for=condition=Ready node/kind-control-plane
112110
shell: bash
113-
- name: Uninstalling GHA kustomize
114-
run: |
115-
# hack for uninstalling kustomize from GHA
116-
mv /usr/local/bin/kustomize /usr/local/bin/ghakustomize
117-
make kustomize
118-
mv ./bin/kustomize /usr/local/bin/kustomize
119-
kustomize version
120-
shell: bash
121111
- name: Check code format and generate manifests
122112
run: |
123113
make manifests generate fmt vet
@@ -158,9 +148,9 @@ jobs:
158148
fail-fast: false
159149
matrix:
160150
include:
161-
#- K8S_VERSION: 1.29
162-
- K8S_VERSION: 1.28
163-
- K8S_VERSION: 1.27
151+
- K8S_VERSION: 1.32
152+
- K8S_VERSION: 1.31
153+
- K8S_VERSION: 1.30.8
164154
steps:
165155
- uses: actions/checkout@v4
166156
- name: Set up Python 3.8
@@ -206,14 +196,6 @@ jobs:
206196
" | sudo tee -a /etc/containers/registries.conf
207197
fi
208198
shell: bash
209-
- name: Uninstalling GHA kustomize
210-
run: |
211-
# hack for uninstalling kustomize from GHA
212-
mv /usr/local/bin/kustomize /usr/local/bin/ghakustomize
213-
make kustomize
214-
mv ./bin/kustomize /usr/local/bin/kustomize
215-
kustomize version
216-
shell: bash
217199
- name: Install eksctl
218200
run: |
219201
curl "https://github.com/eksctl-io/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz" --silent --location | tar xz -C /tmp
@@ -227,7 +209,7 @@ jobs:
227209
shell: bash
228210
- name: Install eksctl-anywhere
229211
run: |
230-
RELEASE_VERSION=v0.18.3
212+
RELEASE_VERSION=$(curl https://anywhere-assets.eks.amazonaws.com/releases/eks-a/manifest.yaml --silent --location | yq ".spec.latestVersion")
231213
EKS_ANYWHERE_TARBALL_URL=$(curl https://anywhere-assets.eks.amazonaws.com/releases/eks-a/manifest.yaml --silent --location | yq ".spec.releases[] | select(.version==\"$RELEASE_VERSION\").eksABinary.$(uname -s | tr A-Z a-z).uri")
232214
curl $EKS_ANYWHERE_TARBALL_URL --silent --location | tar xz ./eksctl-anywhere
233215
sudo install -m 0755 ./eksctl-anywhere /usr/local/bin/eksctl-anywhere

config/eks-anywhere/eks/1.27/kustomization.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

config/eks-anywhere/eks/1.28/kustomization.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

config/eks-anywhere/eks/1.29/kustomization.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
resources:
2+
- ../base
3+
4+
patches:
5+
- mgmt.yaml
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ kind: Cluster
44
metadata:
55
name: mgmt
66
spec:
7-
kubernetesVersion: "1.28"
7+
kubernetesVersion: "1.30.8"
88
workerNodeGroupConfigurations:
99
- count: 1
1010
name: worker
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
resources:
2+
- ../base
3+
4+
patches:
5+
- mgmt.yaml
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ kind: Cluster
44
metadata:
55
name: mgmt
66
spec:
7-
kubernetesVersion: "1.29"
7+
kubernetesVersion: "1.31"
88
workerNodeGroupConfigurations:
99
- count: 1
1010
name: worker

0 commit comments

Comments
 (0)