Skip to content

Commit

Permalink
chore: bump k8s version used in tests (#519)
Browse files Browse the repository at this point in the history
* bump k3d-version used in tests

* update version used on gardener

* use 1.28.7

* install latest k3d tools version
  • Loading branch information
k15r authored Mar 6, 2024
1 parent a2b6fc1 commit 88ac0e9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions hack/ci/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ PROJECT_ROOT ?= ../..
KYMA_CLI ?= "${PROJECT_ROOT}/${KYMA}"
CLUSTER_NAME ?= kyma
REGISTRY_PORT ?= 5001
K3D_VERSION ?= 1.28.7

.PHONY: create-kyma-system-ns
create-kyma-system-ns: ## Create kyma-system namespace.
kubectl create ns kyma-system

.PHONY: create-k3d
create-k3d: ## Create k3d with kyma CRDs.
"${KYMA_CLI}" provision k3d -p 8081:80@loadbalancer -p 8443:443@loadbalancer --registry-port ${REGISTRY_PORT} --name ${CLUSTER_NAME} --ci
"${KYMA_CLI}" provision k3d -p 8081:80@loadbalancer -p 8443:443@loadbalancer --registry-port ${REGISTRY_PORT} --name ${CLUSTER_NAME} -k ${K3D_VERSION} --ci

.PHONY: install-nats-module
install-nats-module:
Expand Down Expand Up @@ -39,7 +40,7 @@ verify-kyma: ## Wait for Kyma CR to be in Ready state.

.PHONY: install-k3d-tools
install-k3d-tools: ## Create k3d with kyma CRDs.
curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | TAG=${K3D_VERSION} bash
curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash

.PHONY: apply-peerauthentication-crd
apply-peerauthentication-crd:
Expand Down Expand Up @@ -67,7 +68,7 @@ wait-api-gateway-cr-ready:

.PHONY: provision-gardener-cluster
provision-gardener-cluster:
PROJECT_ROOT="${PROJECT_ROOT}" KYMA_CLI="${KYMA_CLI}" ${PROJECT_ROOT}/scripts/gardener/aws/provision.sh
GARDENER_CLUSTER_VERSION="${K3D_VERSION}" PROJECT_ROOT="${PROJECT_ROOT}" KYMA_CLI="${KYMA_CLI}" ${PROJECT_ROOT}/scripts/gardener/aws/provision.sh

.PHONY: deprovision-gardener-cluster
deprovision-gardener-cluster:
Expand Down

0 comments on commit 88ac0e9

Please sign in to comment.