From 573e8cc2b39b965a4bcc87d62439faa83903ab5d Mon Sep 17 00:00:00 2001 From: Markus Rudy Date: Wed, 21 Feb 2024 17:29:27 +0100 Subject: [PATCH] just: don't print arg parsing on create/destroy --- packages/create-coco-aks.sh | 3 ++- packages/destroy-coco-aks.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/create-coco-aks.sh b/packages/create-coco-aks.sh index 46eeac2f22..2187812fa2 100755 --- a/packages/create-coco-aks.sh +++ b/packages/create-coco-aks.sh @@ -1,7 +1,6 @@ #!/usr/bin/env bash set -euo pipefail -set -x # Spin up an AKS cluster with CoCo support. # @@ -30,6 +29,8 @@ for i in "$@"; do esac done +set -x + # Will always fail in CI due to lack of permissions. # In GH actions, CI=true is part of the environment. az group create \ diff --git a/packages/destroy-coco-aks.sh b/packages/destroy-coco-aks.sh index bb6e7a52a0..69b8c65321 100644 --- a/packages/destroy-coco-aks.sh +++ b/packages/destroy-coco-aks.sh @@ -1,7 +1,6 @@ #!/usr/bin/env bash set -euo pipefail -set -x for i in "$@"; do case $i in @@ -16,6 +15,8 @@ for i in "$@"; do esac done +set -x + az aks delete \ --resource-group "${name}" \ --name "${name}" \