Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/azure-dev' into tm-azure-merge-a…
Browse files Browse the repository at this point in the history
…nd-update
  • Loading branch information
Timothy Middelkoop authored and Timothy Middelkoop committed Dec 2, 2021
2 parents 40c7280 + 5eb1830 commit f213ebf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/azure-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ echo '--- connected to $NAME@IP'
sudo apt-get update
sudo apt-get install --yes azure-cli
az login --identity
sudo apt-get install --yes git python3-pip python3-venv bash-completion
sudo apt-get install --yes git python3-pip python3-venv bash-completion jq
ssh-keyscan ${GITHUB} > .ssh/known_hosts
git config --global color.ui auto
git config --global push.default simple
Expand Down
4 changes: 3 additions & 1 deletion scripts/azure-delete.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ VM=essentials

echo "=== azure-delete.sh $PROJECT $BRANCH"
SUBSCRIPTION=$(az account show --query id -otsv)
RESOURCE_GROUP="rg-${VM}-dev"
RESOURCE_GROUP_DEV="rg-${VM}-dev"
RESOURCE_GROUP="rg-${VM}"

az vm delete --resource-group $RESOURCE_GROUP --name $VM --yes
az group delete --resource-group $RESOURCE_GROUP --yes
az group delete --resource-group $RESOURCE_GROUP_DEV --yes

0 comments on commit f213ebf

Please sign in to comment.