From d8afd53807b8c0562e66c09c1158ab10473ab6b2 Mon Sep 17 00:00:00 2001 From: "Ashish Kumar (ASHKUMA)" Date: Fri, 10 Jul 2020 21:15:30 +0530 Subject: [PATCH 1/2] adding deletion --- .github/workflows/integration.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 7b29ee5..261cc42 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -33,3 +33,16 @@ jobs: with: azure_credentials: ${{ secrets.AZURE_CREDENTIALS }} parameters_file: "test/test_aks_compute.json" + + - uses: azure/login@v1.1 + with: + creds: ${{ secrets.AZURE_CREDENTIALS }} + + - name: Azure CLI script + uses: azure/CLI@v1 + with: + azcliversion: 2.0.72 + inlineScript: | + az ml folder attach -w gha_and_aml_workspace -g gha_and_aml_rg + az ml computetarget delete --name "aks-intTest" + az ml computetarget delete --name "aml-intTest" From 6a04d06bdb2a5cc291c83692d47e1b0577cd8916 Mon Sep 17 00:00:00 2001 From: "Ashish Kumar (ASHKUMA)" Date: Fri, 10 Jul 2020 21:20:19 +0530 Subject: [PATCH 2/2] adding deletion of resources --- .github/workflows/integration.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 261cc42..2eed321 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -43,6 +43,7 @@ jobs: with: azcliversion: 2.0.72 inlineScript: | + az extension add -n azure-cli-ml az ml folder attach -w gha_and_aml_workspace -g gha_and_aml_rg az ml computetarget delete --name "aks-intTest" az ml computetarget delete --name "aml-intTest"