Skip to content

Commit 71431ac

Browse files
test(e2e): Add v1.30.5 test for Nutanix (#931)
Also change the default machine template image for nutanix to v1.30.5
1 parent 8297044 commit 71431ac

File tree

6 files changed

+15
-7
lines changed

6 files changed

+15
-7
lines changed

.github/workflows/checks.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,19 +64,22 @@ jobs:
6464
strategy:
6565
matrix:
6666
config:
67-
- {"provider": "Nutanix", "kubernetesVersion": "v1.29.6"}
67+
- {"provider": "Nutanix", "kubernetesVersion": "v1.29.6", "osImage": "nkp-rocky-9.4-release-1.29.6-20240816215147"}
68+
- {"provider": "Nutanix", "kubernetesVersion": "v1.30.5", "osImage": "nkp-rocky-9.4-release-1.30.5-20240930171619"}
6869
- {"provider": "Docker", "kubernetesVersion": "v1.29.8"}
69-
- {"provider": "Docker", "kubernetesVersion": "v1.30.4"}
70+
- {"provider": "Docker", "kubernetesVersion": "v1.30.5"}
7071
- {"provider": "Docker", "kubernetesVersion": "v1.31.0"}
7172
# Uncomment below once we have the ability to run e2e tests on other providers from GHA.
7273
# - {"provider": "AWS", "kubernetesVersion": "v1.29.6"}
7374
fail-fast: false
75+
name: e2e-quick-start (${{ matrix.config.provider }}, ${{ matrix.config.kubernetesVersion }})
7476
uses: ./.github/workflows/e2e.yml
7577
with:
7678
focus: Quick start
7779
provider: ${{ matrix.config.provider }}
7880
kubernetes-version: ${{ matrix.config.kubernetesVersion }}
7981
runs-on: ${{ matrix.config.provider == 'Nutanix' && 'self-hosted-ncn-dind' || 'ubuntu-22.04' }}
82+
os-image: ${{ matrix.config.provider == 'Nutanix' && matrix.config.osImage || '' }}
8083
secrets: inherit
8184
permissions:
8285
contents: read
@@ -93,7 +96,7 @@ jobs:
9396
matrix:
9497
config:
9598
- {"provider": "Docker", "kubernetesVersion": "v1.29.8"}
96-
- {"provider": "Docker", "kubernetesVersion": "v1.30.4"}
99+
- {"provider": "Docker", "kubernetesVersion": "v1.30.5"}
97100
- {"provider": "Docker", "kubernetesVersion": "v1.31.0"}
98101
# Uncomment below once we have the ability to run e2e tests on other providers from GHA.
99102
# - {"provider": "Nutanix", "kubernetesVersion": "v1.29.6"}

.github/workflows/e2e.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ on:
2222
description: The version of Kubernetes to test with
2323
type: string
2424
required: true
25+
os-image:
26+
description: The OS image to use for the machine template
27+
type: string
28+
required: false
2529

2630
jobs:
2731
e2e-test:
@@ -87,6 +91,7 @@ jobs:
8791
NUTANIX_PRISM_ELEMENT_CLUSTER_NAME: ${{ vars.NUTANIX_PRISM_ELEMENT_CLUSTER_NAME }}
8892
NUTANIX_SUBNET_NAME: ${{ vars.NUTANIX_SUBNET_NAME }}
8993
NUTANIX_STORAGE_CONTAINER_NAME: ${{ vars.NUTANIX_STORAGE_CONTAINER_NAME }}
94+
NUTANIX_MACHINE_TEMPLATE_IMAGE_NAME: ${{ inputs.os-image }}
9095
KINDEST_IMAGE_TAG: ${{ inputs.kubernetes-version }}
9196
E2E_KUBERNETES_VERSION: ${{ inputs.kubernetes-version }}
9297

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ For example, the following command will create a Docker cluster with Cilium CNI
4444
```shell
4545
export CLUSTER_NAME=docker-cluster-cilium-helm-addon
4646
export CLUSTER_FILE=examples/capi-quick-start/docker-cluster-cilium-helm-addon.yaml
47-
export KUBERNETES_VERSION=v1.30.4
47+
export KUBERNETES_VERSION=v1.30.5
4848
```
4949

5050
```shell

make/kind.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ KINDEST_NODE_IMAGE ?= ghcr.io/mesosphere/kind-node
1010
KINDEST_NODE_VERSION_v1.27 ?= v1.27.16
1111
KINDEST_NODE_VERSION_v1.28 ?= v1.28.13
1212
KINDEST_NODE_VERSION_v1.29 ?= v1.29.8
13-
KINDEST_NODE_VERSION_v1.30 ?= v1.30.4
13+
KINDEST_NODE_VERSION_v1.30 ?= v1.30.5
1414
KINDEST_NODE_VERSION_v1.31 ?= v1.31.0
1515
# Allow easy override of Kubernetes version to use via `make KIND_KUBERNETES_VERSION=v1.23` to use in CI
1616
KIND_KUBERNETES_VERSION ?= v1.31

test/e2e/config/caren.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ variables:
201201
# # Name of the Prism Element cluster.
202202
# NUTANIX_PRISM_ELEMENT_CLUSTER_NAME: ""
203203
# # Name of the OS image pre-uploaded in PC.
204-
NUTANIX_MACHINE_TEMPLATE_IMAGE_NAME: nkp-rocky-9.4-release-1.29.6-20240816215147
204+
NUTANIX_MACHINE_TEMPLATE_IMAGE_NAME: nkp-rocky-9.4-release-1.30.5-20240930171619
205205
# # Name of the subnet to be assigned to the VMs.
206206
# NUTANIX_SUBNET_NAME: ""
207207
# # Name of the storage container to CSI driver

test/e2e/e2e_suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func init() {
6969
flag.StringVar(
7070
&bootstrapKubernetesVersion,
7171
"e2e.bootstrap-kind-version",
72-
"v1.29.6",
72+
"v1.30.5",
7373
"the version of the image used in bootstrap cluster",
7474
)
7575
}

0 commit comments

Comments
 (0)