File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 2323 strategy :
2424 fail-fast : false
2525 matrix :
26+ # Run tests on oldest and newest supported OCP Kubernetes
27+ # The "minimum" tag is set in the Makefile
28+ # KinD tags: https://hub.docker.com/r/kindest/node/tags
2629 kind :
2730 - ' minimum'
2831 - ' latest'
5962 make test
6063
6164 - name : Create K8s KinD Cluster - ${{ matrix.kind }}
62- # Overwrite "minimum" with an actual tag; OCP 4.8 runs Kubernetes v1.21
63- # KinD tags: https://hub.docker.com/r/kindest/node/tags
6465 env :
65- KIND_VERSION : ${{ matrix.kind == 'minimum' && 'v1.21.14' || matrix.kind }}
66+ KIND_VERSION : ${{ matrix.kind }}
6667 run : |
6768 make kind-bootstrap-cluster-dev
6869
Original file line number Diff line number Diff line change @@ -44,7 +44,10 @@ MANAGED_CLUSTER_NAME ?= managed
4444HUB_CONFIG ?= $(PWD ) /kubeconfig_hub
4545HUB_CONFIG_INTERNAL ?= $(PWD ) /kubeconfig_hub_internal
4646MANAGED_CONFIG ?= $(PWD ) /kubeconfig_managed
47- ifneq ($(KIND_VERSION ) , latest)
47+ # Set the Kind version tag
48+ ifeq ($(KIND_VERSION ) , minimum)
49+ KIND_ARGS = --image kindest/node:v1.19.16
50+ else ifneq ($(KIND_VERSION), latest)
4851 KIND_ARGS = --image kindest/node:$(KIND_VERSION)
4952else
5053 KIND_ARGS =
You can’t perform that action at this time.
0 commit comments