From 5906929b67adab884c91d130ce6a7a3a4205a8dd Mon Sep 17 00:00:00 2001 From: Yan Xu Date: Wed, 27 Sep 2023 15:09:04 +0800 Subject: [PATCH] replace GitHubActionGroup with GitHubAction_CI_RG (#349) --- .github/workflows/azure-login-negative.yml | 16 ++++++++-------- .github/workflows/azure-login-positive.yml | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/azure-login-negative.yml b/.github/workflows/azure-login-negative.yml index 42e2e3bc4..d6eeb0d75 100644 --- a/.github/workflows/azure-login-negative.yml +++ b/.github/workflows/azure-login-negative.yml @@ -58,7 +58,7 @@ jobs: - name: Run Azure Cli run: | az account show - az group show --name GitHubActionGroup + az group show --name GitHubAction_CI_RG az vm list - name: Run Azure PowerShell @@ -69,7 +69,7 @@ jobs: azPSVersion: "latest" inlineScript: | Get-AzContext | Format-List - Get-AzResourceGroup -Name GitHubActionGroup + Get-AzResourceGroup -Name GitHubAction_CI_RG Get-AzVM - name: Check Last step failed @@ -153,7 +153,7 @@ jobs: continue-on-error: true run: | az account show - az group show --name GitHubActionGroup + az group show --name GitHubAction_CI_RG az vm list - name: Check Last step failed @@ -171,7 +171,7 @@ jobs: azPSVersion: "latest" inlineScript: | Get-AzContext | Format-List - Get-AzResourceGroup -Name GitHubActionGroup + Get-AzResourceGroup -Name GitHubAction_CI_RG Get-AzVM - name: Check Last step failed @@ -288,7 +288,7 @@ jobs: - name: Run Azure Cli run: | az account show - az group show --name GitHubActionGroup + az group show --name GitHubAction_CI_RG az vm list - name: Run Azure PowerShell @@ -299,7 +299,7 @@ jobs: azPSVersion: "latest" inlineScript: | Get-AzContext | Format-List - Get-AzResourceGroup -Name GitHubActionGroup + Get-AzResourceGroup -Name GitHubAction_CI_RG Get-AzVM - name: Check Last step failed @@ -318,7 +318,7 @@ jobs: - name: Run Azure Cli run: | az account show - az group show --name GitHubActionGroup + az group show --name GitHubAction_CI_RG az vm list - name: Run Azure PowerShell @@ -329,7 +329,7 @@ jobs: azPSVersion: "latest" inlineScript: | Get-AzContext | Format-List - Get-AzResourceGroup -Name GitHubActionGroup + Get-AzResourceGroup -Name GitHubAction_CI_RG Get-AzVM - name: Check Last step failed diff --git a/.github/workflows/azure-login-positive.yml b/.github/workflows/azure-login-positive.yml index a2a1b04dd..49a3cf92d 100644 --- a/.github/workflows/azure-login-positive.yml +++ b/.github/workflows/azure-login-positive.yml @@ -43,7 +43,7 @@ jobs: - name: Run Azure Cli run: | az account show - az group show --name GitHubActionGroup + az group show --name GitHubAction_CI_RG az vm list - name: Run Azure PowerShell @@ -52,7 +52,7 @@ jobs: azPSVersion: "latest" inlineScript: | Get-AzContext | Format-List - Get-AzResourceGroup -Name GitHubActionGroup + Get-AzResourceGroup -Name GitHubAction_CI_RG Get-AzVM - name: Login with individual parameters @@ -108,7 +108,7 @@ jobs: - name: Run Azure Cli run: | az account show - az group show --name GitHubActionGroup + az group show --name GitHubAction_CI_RG az vm list - name: Run Azure PowerShell @@ -117,7 +117,7 @@ jobs: azPSVersion: "latest" inlineScript: | Get-AzContext | Format-List - Get-AzResourceGroup -Name GitHubActionGroup + Get-AzResourceGroup -Name GitHubAction_CI_RG Get-AzVM - name: Login with creds, disable ps session @@ -129,7 +129,7 @@ jobs: - name: Run Azure Cli run: | az account show - az group show --name GitHubActionGroup + az group show --name GitHubAction_CI_RG az vm list - name: Login with creds, wrong boolean value @@ -141,7 +141,7 @@ jobs: - name: Run Azure Cli run: | az account show - az group show --name GitHubActionGroup + az group show --name GitHubAction_CI_RG az vm list - name: Login with creds, allow no subscription @@ -154,7 +154,7 @@ jobs: - name: Run Azure Cli run: | az account show - az group show --name GitHubActionGroup + az group show --name GitHubAction_CI_RG az vm list - name: Run Azure PowerShell @@ -163,7 +163,7 @@ jobs: azPSVersion: "latest" inlineScript: | Get-AzContext | Format-List - Get-AzResourceGroup -Name GitHubActionGroup + Get-AzResourceGroup -Name GitHubAction_CI_RG Get-AzVM - name: Login with individual parameters, no subscription, allow no subscription