Skip to content

Commit 1ccf6c3

Browse files
committed
Use latest minikube and matrix across kubernetes versions
1 parent 7d0184d commit 1ccf6c3

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

.circleci/config.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
parameters:
1616
minikube-version:
1717
type: string
18+
kubernetes-version:
19+
type: string
1820
# 'large' 4 vCPUs & 15GB RAM CircleCI machine executor
1921
# required to deploy heavy 'stackstorm-ha' Helm release with RabbitMQ, MongoDB, Redis clusters and 25+ st2 Pods.
2022
# https://circleci.com/docs/2.0/configuration-reference/#machine-executor-linux
@@ -33,7 +35,7 @@ jobs:
3335
command: curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
3436
- run:
3537
name: Create new K8s cluster
36-
command: minikube start --vm-driver=docker --memory 8192 --cpus 4
38+
command: minikube start --vm-driver=docker --memory 8192 --cpus 4 --kubernetes-version=<< parameters.kubernetes-version >>
3739
- run:
3840
name: Update stackstorm-ha chart dependencies
3941
command: helm dependency update
@@ -62,19 +64,23 @@ workflows:
6264
matrix:
6365
parameters:
6466
minikube-version: # https://github.com/kubernetes/minikube/releases
65-
- v1.28.0
66-
- v1.27.1
67-
- v1.26.1
67+
- "v1.28.0"
68+
kubernetes-version: # https://kubernetes.io/releases
69+
- "v1.26.0"
70+
- "v1.25.5"
71+
- "v1.24.9"
6872
# Run periodic nightly Helm tests to ensure there are no regressions
6973
e2e-nightly:
7074
jobs:
7175
- e2e-minikube:
7276
matrix:
7377
parameters:
7478
minikube-version: # https://github.com/kubernetes/minikube/releases
75-
- v1.28.0
76-
- v1.27.1
77-
- v1.26.1
79+
- "v1.28.0"
80+
kubernetes-version: # https://kubernetes.io/releases
81+
- "v1.26.0"
82+
- "v1.25.5"
83+
- "v1.24.9"
7884
triggers:
7985
- schedule:
8086
cron: "0 1 * * *"

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changelog
22

33
## In Development
4-
* Cover the three most recent Minikube versions and the most recent K3s version. (#342) (by @mamercad)
4+
* Cover the three most recent Kubernetes versions in Minikube and the single most recent in K3s. (#342) (by @mamercad)
55
* Update the GitHub badges. (#345) (by @mamercad)
66
* Reorganizing and renaming the CI workflows and jobs. (#344) (by @mamercad)
77
* Add support for providing `ingressClassName`. (#336) (by @mamercad)

0 commit comments

Comments
 (0)