Skip to content

Commit

Permalink
replace GitHubActionGroup with GitHubAction_CI_RG (#349)
Browse files Browse the repository at this point in the history
  • Loading branch information
YanaXu committed Sep 27, 2023
1 parent b998d5a commit 5906929
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/azure-login-negative.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/azure-login-positive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5906929

Please sign in to comment.