Skip to content

Commit

Permalink
Utilise quay.io/infinispan-test/kindest-node:v1.24.15 in testsuite
Browse files Browse the repository at this point in the history
- Explicitly use `cgroupDriver: cgroupfs`
  • Loading branch information
ryanemerson committed Oct 27, 2023
1 parent 02f35be commit 8944af7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/upgrade_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
CONFIG_LISTENER_IMAGE: localhost:5001/infinispan-operator
KUBECONFIG: ${{ github.workspace }}/kind-kube-config.yaml
TESTING_LOG_DIR: ${{ github.workspace }}/test/reports
KINDEST_NODE_VERSION: v1.24.7
KINDEST_NODE_VERSION: v1.24.15

jobs:
build:
Expand Down
6 changes: 5 additions & 1 deletion scripts/ci/configure-xsite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ METALLB_VERSION=v0.9.6
TESTING_NAMESPACE=${TESTING_NAMESPACE-namespace-for-testing}
KIND_SUBNET=${KIND_SUBNET-172.172.0.0}
SERVER_IMAGE=${SERVER_IMAGE:-'quay.io/infinispan/server:14.0'}
KINDEST_NODE_VERSION=${KINDEST_NODE_VERSION:-'v1.22.17'}
KINDEST_NODE_VERSION=${KINDEST_NODE_VERSION:-'v1.24.15'}

# Cleanup any existing clusters
kind delete clusters --all
Expand All @@ -33,6 +33,10 @@ nodes:
image: quay.io/infinispan-test/kindest-node:${KINDEST_NODE_VERSION}
- role: worker
image: quay.io/infinispan-test/kindest-node:${KINDEST_NODE_VERSION}
kubeadmConfigPatches:
- |
kind: KubeletConfiguration
cgroupDriver: cgroupfs
EOF
kind load docker-image $IMG --name "${INSTANCE}"
kind load docker-image ${SERVER_IMAGE} --name "${INSTANCE}"
Expand Down
6 changes: 5 additions & 1 deletion scripts/ci/kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -o errexit

SERVER_TAGS=${SERVER_TAGS:-'13.0.10.Final 14.0.1.Final 14.0.6.Final 14.0.9.Final 14.0.13.Final 14.0.17.Final 14.0.19.Final 14.0'}
KINDEST_NODE_VERSION=${KINDEST_NODE_VERSION:-'v1.22.17'}
KINDEST_NODE_VERSION=${KINDEST_NODE_VERSION:-'v1.24.15'}
KIND_SUBNET=${KIND_SUBNET-172.172.0.0}

docker network create kind --subnet "${KIND_SUBNET}/16" || true
Expand Down Expand Up @@ -32,6 +32,10 @@ nodes:
extraPortMappings:
- containerPort: 30222
hostPort: 11222
kubeadmConfigPatches:
- |
kind: KubeletConfiguration
cgroupDriver: cgroupfs
EOF

# connect the registry to the cluster network
Expand Down

0 comments on commit 8944af7

Please sign in to comment.