Skip to content

Commit

Permalink
use different K8s version for capm3 0.5 tests
Browse files Browse the repository at this point in the history
As capm3 0.5 was getting older it started to have issues with newer
K8s versions thus it was decided to pin the K8s versions used in 0.5 tests.
  • Loading branch information
Rozzii committed Jul 19, 2022
1 parent aaddd1b commit ea8ad57
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
9 changes: 7 additions & 2 deletions tests/feature_tests/feature_test_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,10 @@

export NUM_OF_CONTROLPLANE_REPLICAS="3"
export NUM_OF_WORKER_REPLICAS="1"
export FROM_K8S_VERSION="v1.24.0"
export KUBERNETES_VERSION=${FROM_K8S_VERSION}
if [ "${CAPM3RELEASEBRANCH}" == "release-0.5" ];
then
export FROM_K8S_VERSION="v1.23.5"
else
export FROM_K8S_VERSION="v1.24.0"
fi
export KUBERNETES_VERSION="${FROM_K8S_VERSION}"
7 changes: 6 additions & 1 deletion tests/feature_tests/node_reuse/node_reuse_vars.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#!/bin/bash

export UPGRADED_K8S_VERSION="v1.24.1"
if [[ "$CAPM3RELEASEBRANCH" == "release-0.5" ]];
then
export UPGRADED_K8S_VERSION="v1.23.8"
else
export UPGRADED_K8S_VERSION="v1.24.1"
fi

if [[ "${IMAGE_OS}" == "ubuntu" ]]; then
export UPGRADED_IMAGE_NAME="UBUNTU_20.04_NODE_IMAGE_K8S_${UPGRADED_K8S_VERSION}.qcow2"
Expand Down

0 comments on commit ea8ad57

Please sign in to comment.