From 6f5588534d7383f3bb107cc5c6e8381d00f9f866 Mon Sep 17 00:00:00 2001 From: Maciek Golaszewski Date: Wed, 4 Sep 2024 09:12:21 +0200 Subject: [PATCH] Update capi release script Removed unnecessary steps after integration tests refactor KU-1226 --- jobs/microk8s/clusterapi/release.sh | 31 ----------------------------- 1 file changed, 31 deletions(-) diff --git a/jobs/microk8s/clusterapi/release.sh b/jobs/microk8s/clusterapi/release.sh index 59f76f271..d88b7b8e9 100644 --- a/jobs/microk8s/clusterapi/release.sh +++ b/jobs/microk8s/clusterapi/release.sh @@ -129,37 +129,6 @@ then # deploy microk8s providers kubectl apply -f bootstrap/bootstrap-components.yaml -f control-plane/control-plane-components.yaml - # Set cloud specific variables - export AWS_REGION=us-east-1 - export AWS_SSH_KEY_NAME=capi - export CONTROL_PLANE_MACHINE_COUNT=3 - export WORKER_MACHINE_COUNT=3 - export AWS_CREATE_BASTION=false - export AWS_PUBLIC_IP=false - export AWS_CONTROL_PLANE_MACHINE_FLAVOR=t3.large - export AWS_NODE_MACHINE_FLAVOR=t3.large - - # Optional varibles - export UPGRADE_STRATEGY=InPlaceUpgrade - export SNAP_RISKLEVEL="stable" - export SNAP_CONFINEMENT="classic" - - # Create a cluster - export CLUSTER_NAME="test-ci-cluster" - export CAPI_UPGRADE_VERSION=v1.26.0 - export CAPI_UPGRADE_MD_NAME=${CLUSTER_NAME}-md-0 - export CAPI_UPGRADE_MD_TYPE=machinedeployments.cluster.x-k8s.io - export CAPI_UPGRADE_CP_NAME=${CLUSTER_NAME}-control-plane - export CAPI_UPGRADE_CP_TYPE=microk8scontrolplanes.controlplane.cluster.x-k8s.io - clusterctl generate cluster ${CLUSTER_NAME} --from "bootstrap/templates/cluster-template-aws.yaml" --kubernetes-version 1.25.0 > cluster.yaml - export CLUSTER_MANIFEST_FILE=$PWD/cluster.yaml - - # Create a new cluster for in-place upgrades - CONTROL_PLANE_MACHINE_COUNT=1 - WORKER_MACHINE_COUNT=1 - clusterctl generate cluster ${CLUSTER_NAME} --from "bootstrap/templates/cluster-template-aws.yaml" --kubernetes-version 1.25.0 > cluster-inplace.yaml - export CLUSTER_INPLACE_MANIFEST_FILE=$PWD/cluster-inplace.yaml - ( cd bootstrap make e2e