From 10ed256614fac380879abb2c161dfcf4d8f01491 Mon Sep 17 00:00:00 2001 From: Tomas D'Stefano Date: Wed, 17 Apr 2024 13:58:04 +0100 Subject: [PATCH 1/2] Alias instead of replacing the rules --- Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Makefile b/Makefile index c2e81e5203..6184474283 100644 --- a/Makefile +++ b/Makefile @@ -246,3 +246,27 @@ action-group-resources: set-azure-account # make env_aks action-group-resources echo ${RESOURCE_NAME_PREFIX}-${SERVICE_SHORT}-mn-rg az group create -l uksouth -g ${RESOURCE_NAME_PREFIX}-${SERVICE_SHORT}-mn-rg --tags "Product=Find postgraduate teacher training" "Environment=Test" "Service Offering=Teacher services cloud" az monitor action-group create -n ${RESOURCE_NAME_PREFIX}-${SERVICE_NAME} -g ${RESOURCE_NAME_PREFIX}-${SERVICE_SHORT}-mn-rg --action email ${RESOURCE_NAME_PREFIX}-${SERVICE_SHORT}-email ${ACTION_GROUP_EMAIL} + +.PHONY: qa +qa: qa_aks + +.PHONY: staging +staging: staging_aks + +.PHONY: sandbox +sandbox: sandbox_aks + +.PHONY: production +production: production_aks + +.PHONY: logs +logs: aks-logs + +.PHONY: shell +shell: aks-ssh + +.PHONY: worker-shell +worker-shell: aks-worker-ssh + +.PHONY: aks-console +console: aks-console From d95bfd2ec7277a48633c83604c5e898a7268f98d Mon Sep 17 00:00:00 2001 From: Tomas D'Stefano Date: Wed, 17 Apr 2024 16:00:30 +0100 Subject: [PATCH 2/2] Rename phony to the right name --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6184474283..79db90240d 100644 --- a/Makefile +++ b/Makefile @@ -268,5 +268,5 @@ shell: aks-ssh .PHONY: worker-shell worker-shell: aks-worker-ssh -.PHONY: aks-console +.PHONY: console console: aks-console