Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portal test update #1755

Merged
merged 23 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
10d1750
Update test to remove deprecated parameter
Springstone Aug 16, 2024
73b7795
New STD test params
Springstone Aug 21, 2024
5e63935
feat: Add new STD test params and update test to remove deprecated pa…
Springstone Aug 21, 2024
afe3805
feat: Add workflow_dispatch input for testScope in test-portal.yml
Springstone Aug 22, 2024
5564f2c
feat: Update test-portal.yml to handle different test scopes in workf…
Springstone Aug 22, 2024
342c203
feat: Update test-portal.yml to handle different test scopes in workf…
Springstone Aug 22, 2024
5a46ec5
.
Springstone Aug 22, 2024
948a21b
.
Springstone Aug 23, 2024
040e071
Re-write the workflow conditions
Springstone Aug 29, 2024
78fc6d9
feat: Update test-portal.yml to handle different test scopes in workf…
Springstone Aug 29, 2024
4e59364
Update test-portal.yml to handle different test scopes in workflow_di…
Springstone Aug 29, 2024
0ae9c06
feat: Update test-portal.yml to handle different test scopes in workf…
Springstone Aug 29, 2024
316be2d
Update test-portal.yml to handle different test scopes in workflow_di…
Springstone Aug 29, 2024
2cccb86
.
Springstone Aug 29, 2024
665b2a4
.
Springstone Aug 29, 2024
0a821a3
.
Springstone Aug 29, 2024
3363295
feat: Update test-portal.yml to handle different test scopes in workf…
Springstone Aug 29, 2024
d17142c
feat: Enable service health in test.param.hns.json and test.param.vwa…
Springstone Sep 2, 2024
c3a2e11
Merge branch 'main' into PortalTestUpdate
Springstone Sep 2, 2024
106b002
Merge branch 'main' into PortalTestUpdate
Springstone Sep 9, 2024
9dd459f
refactor: Remove enableAksPolicy from test parameter JSON files
Springstone Sep 24, 2024
cf296a4
Apply suggestions from code review
jtracey93 Sep 27, 2024
76e6974
Merge branch 'main' into PortalTestUpdate
jtracey93 Sep 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 33 additions & 3 deletions .github/workflows/test-portal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,42 @@ jobs:
inlineScript: ./src/scripts/Invoke-ActionRemoveOrphanedRBAC.ps1
azPSVersion: "latest"

- name: Generate eslzArm configuration
id: config
- name: Check test label set
if: |
${{ contains(github.event.pull_request.labels.*.name, 'Test: Standard') || contains(github.event.pull_request.labels.*.name, 'Test: Hub & Spoke') || contains(github.event.pull_request.labels.*.name, 'Test: VWAN') }}
run: echo "Test label has been set, test can proceed."

- name: Generate eslzArm configuration (Standard)
if: |
${{ contains(github.event.pull_request.labels.*.name, 'Test: Standard') }}
uses: azure/powershell@v2
with:
inlineScript: |
./src/scripts/Invoke-ActionGenerateEslzArmConfig.ps1
./src/scripts/Invoke-ActionGenerateEslzArmConfig.ps1 -TemplateParameterPath "./eslzArm/eslzArm.test.param.std.json"
Get-Content -Path $env:TEMP_DEPLOYMENT_OBJECT_PATH | jq
azPSVersion: "latest"
env:
DEPLOYMENT_LOCATION: ${{ secrets.DEPLOYMENT_LOCATION }}

- name: Generate eslzArm configuration (Hub & Spoke)
if: |
${{ contains(github.event.pull_request.labels.*.name, 'Test: Hub & Spoke') }}
uses: azure/powershell@v2
with:
inlineScript: |
./src/scripts/Invoke-ActionGenerateEslzArmConfig.ps1 -TemplateParameterPath "./eslzArm/eslzArm.test.param.hns.json"
Get-Content -Path $env:TEMP_DEPLOYMENT_OBJECT_PATH | jq
azPSVersion: "latest"
env:
DEPLOYMENT_LOCATION: ${{ secrets.DEPLOYMENT_LOCATION }}

- name: Generate eslzArm configuration (VWAN)
if: |
${{ contains(github.event.pull_request.labels.*.name, 'Test: VWAN') }}
uses: azure/powershell@v2
with:
inlineScript: |
./src/scripts/Invoke-ActionGenerateEslzArmConfig.ps1 -TemplateParameterPath "./eslzArm/eslzArm.test.param.vwan.json"
Get-Content -Path $env:TEMP_DEPLOYMENT_OBJECT_PATH | jq
azPSVersion: "latest"
env:
Expand Down
Loading