Skip to content

Commit

Permalink
just: don't print arg parsing on create/destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
burgerdev committed Feb 22, 2024
1 parent 0703810 commit 6f8233f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/create-coco-aks.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env bash

set -euo pipefail
set -x

# Spin up an AKS cluster with CoCo support.
#
Expand Down Expand Up @@ -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 \
Expand Down
3 changes: 2 additions & 1 deletion packages/destroy-coco-aks.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env bash

set -euo pipefail
set -x

for i in "$@"; do
case $i in
Expand All @@ -16,6 +15,8 @@ for i in "$@"; do
esac
done

set -x

az aks delete \
--resource-group "${name}" \
--name "${name}" \
Expand Down

0 comments on commit 6f8233f

Please sign in to comment.