Skip to content

Commit

Permalink
ci: Use prev k8s version for upgrade e2e test (#1435)
Browse files Browse the repository at this point in the history
* ci(test.mk): Use previous k8s version for upgrade tests

* feat(test.mk): Use ghcr for kind-node-ci images
  • Loading branch information
gracedo authored Aug 2, 2023
1 parent 1f3e09f commit 03a9f03
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions make/test.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@ E2E_TIMEOUT ?= 120m
# flexible with our testing as well as testing against the same patch version as we deliver
# by default with DKP.
# See https://github.com/mesosphere/kind-docker-image-automation/ for the build repo.
E2E_KINDEST_IMAGE ?= "mesosphere/kind-node-ci:v1.26.3"
E2E_KINDEST_IMAGE ?= "ghcr.io/mesosphere/kind-node-ci:v1.26.6"

# Kommander <=v2.3 does not install on Kubernetes >=v1.24 due to the introduction of
# `LegacyServiceAccountTokenNoAutoGeneration` feature (enabled by default). This breaks self-attachment
# and therefore the whole install process so we need to run the upgrade tests against an older version
# of Kubernetes. This can be removed once the `UPGRADE_FROM_VERSION` below is Kommander >=v2.4.
E2E_KINDEST_IMAGE_FOR_UPGRADE_TEST ?= "mesosphere/kind-node-ci:v1.23.9"
# Kommander applications are upgraded on the previous k8s version first, before the cluster
# is upgraded. Therefore, for the upgrade test, we should use the previous k8s version to
# more accurately mimic an actual upgrade scenario.
E2E_KINDEST_IMAGE_FOR_UPGRADE_TEST ?= "ghcr.io/mesosphere/kind-node-ci:v1.26.6"
UPGRADE_FROM_VERSION ?= "v2.6.0-dev"

# (aweris): This should be a temporary workaround for v2.3.0 development. If you're still see clone test in v2.4.0
Expand Down

0 comments on commit 03a9f03

Please sign in to comment.