From 597d80a75911ba10b48b4b03c5bac3a25aa63afb Mon Sep 17 00:00:00 2001 From: Etienne Audet-Cobello Date: Thu, 7 Nov 2024 15:24:33 -0500 Subject: [PATCH] remove file --- redeploy.sh | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100755 redeploy.sh diff --git a/redeploy.sh b/redeploy.sh deleted file mode 100755 index 26759859..00000000 --- a/redeploy.sh +++ /dev/null @@ -1,28 +0,0 @@ -set -x - -DIR=$(realpath $(dirname "${0}")) -LB_DIR=$DIR/../k8s-load-balancer - -echo "Run charmcraft pack for k8s" -charmcraft pack -p charms/worker/k8s - -echo "Run charmcraft pack for k8s-load-balancer" -cd $LB_DIR -charmcraft pack - -cd $DIR - -echo "Removing k8s k8s-load-balancer relation..." -juju remove-relation k8s k8s-load-balancer - -echo "Removing k8s-load-balancer application..." -juju remove-application k8s-load-balancer - -echo "Refresh k8s application with new charm" -juju refresh k8s --switch $DIR/k8s_ubuntu-20.04-amd64_ubuntu-22.04-amd64_ubuntu-24.04-amd64.charm --force-units --force - -echo "Refresh k8s-load-balancer application with new charm" -juju deploy $LB_DIR/k8s-load-balancer_ubuntu-22.04-amd64.charm - -echo "Add relation" -juju integrate k8s k8s-load-balancer