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

feat: Added matrix name to template increasing readability #727

Merged
merged 71 commits into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
20ac8b7
Added skeleton
AlexanderSehr Nov 7, 2023
4939b4d
Implemented first new tests
AlexanderSehr Nov 7, 2023
4e1d86f
Changed to warning
AlexanderSehr Nov 8, 2023
94fff0b
Expanded test verbosity & added additional tets
AlexanderSehr Nov 8, 2023
c18ce6b
Finalized further tests
AlexanderSehr Nov 8, 2023
a343694
Update to latest
AlexanderSehr Nov 8, 2023
3a6f0a2
Update to latest
AlexanderSehr Nov 8, 2023
4ab6a5b
Added module name + small fix
AlexanderSehr Nov 8, 2023
9bb64bd
Fixed kvlt
AlexanderSehr Nov 8, 2023
68e2bd2
Small caching fix
AlexanderSehr Nov 8, 2023
1a013c2
Small fix and enabled passthru of warnings to GH
AlexanderSehr Nov 8, 2023
1c2fc8a
More updates
AlexanderSehr Nov 8, 2023
d9c6dd5
Update to latest
AlexanderSehr Nov 8, 2023
dd0c343
Updated test names
AlexanderSehr Nov 8, 2023
2ebd458
JSON rollback
AlexanderSehr Nov 8, 2023
f6caf7e
Updated regex
AlexanderSehr Nov 8, 2023
f56f66a
Removed assertion
AlexanderSehr Nov 8, 2023
282b640
Update to latest
AlexanderSehr Nov 8, 2023
c025f52
Update avm/utilities/pipelines/staticValidation/compliance/module.tes…
AlexanderSehr Nov 9, 2023
405901a
Update avm/utilities/pipelines/staticValidation/compliance/module.tes…
AlexanderSehr Nov 9, 2023
904c82f
Merge branch 'main' into users/alsehr/testFileCompliance
AlexanderSehr Nov 9, 2023
ef24d1f
Rollback of unrelated changes
AlexanderSehr Nov 9, 2023
9393aa1
Merge branch 'Azure:main' into main
AlexanderSehr Nov 9, 2023
cb39086
Merge branch 'Azure:main' into main
AlexanderSehr Nov 9, 2023
89eac40
Merge branch 'Azure:main' into main
AlexanderSehr Nov 10, 2023
712a673
Merge branch 'Azure:main' into main
AlexanderSehr Nov 13, 2023
55e095f
Resolved conflict
AlexanderSehr Nov 14, 2023
3121335
Update to latest
AlexanderSehr Nov 14, 2023
e9d736c
Merge branch 'Azure:main' into main
AlexanderSehr Nov 15, 2023
abfa1b9
Merge branch 'Azure:main' into main
AlexanderSehr Nov 15, 2023
c6707f6
Merge branch 'Azure:main' into main
AlexanderSehr Nov 16, 2023
246f9ba
Merge branch 'Azure:main' into main
AlexanderSehr Nov 16, 2023
6e9729d
Merge branch 'Azure:main' into main
AlexanderSehr Nov 16, 2023
26ea9f6
Merge branch 'Azure:main' into main
AlexanderSehr Nov 17, 2023
c2d183b
Merge branch 'Azure:main' into main
AlexanderSehr Nov 18, 2023
0c6650e
Merge branch 'Azure:main' into main
AlexanderSehr Nov 19, 2023
65094a5
Merge branch 'Azure:main' into main
AlexanderSehr Nov 21, 2023
968cd9a
Merge branch 'Azure:main' into main
AlexanderSehr Nov 21, 2023
3c9589b
Merge branch 'Azure:main' into main
AlexanderSehr Nov 24, 2023
eb34ddf
Merge branch 'Azure:main' into main
AlexanderSehr Nov 25, 2023
3d4f5c6
Added pipeline to main for testing
AlexanderSehr Nov 26, 2023
70154f3
Merge branch 'Azure:main' into main
AlexanderSehr Nov 27, 2023
18bd2ad
Merge branch 'Azure:main' into main
AlexanderSehr Nov 27, 2023
940b34f
Merge branch 'Azure:main' into main
AlexanderSehr Nov 28, 2023
fbb840f
Merge branch 'Azure:main' into main
AlexanderSehr Nov 29, 2023
381e366
Merge branch 'Azure:main' into main
AlexanderSehr Nov 29, 2023
06bcda3
Merge branch 'Azure:main' into main
AlexanderSehr Dec 1, 2023
0858beb
Merge branch 'Azure:main' into main
AlexanderSehr Dec 1, 2023
72b5fbb
Merge branch 'Azure:main' into main
AlexanderSehr Dec 1, 2023
917a761
TEst disable pipe
AlexanderSehr Dec 4, 2023
1b89452
Merge branch 'Azure:main' into main
AlexanderSehr Dec 4, 2023
feb981e
Update to latest
AlexanderSehr Dec 4, 2023
dda85a8
Merge branch 'Azure:main' into main
AlexanderSehr Dec 4, 2023
0373f46
Merge branch 'Azure:main' into main
AlexanderSehr Dec 6, 2023
80247e4
Merge branch 'Azure:main' into main
AlexanderSehr Dec 9, 2023
2b5a791
Merge branch 'Azure:main' into main
AlexanderSehr Dec 10, 2023
581fa57
Update to latest
AlexanderSehr Dec 13, 2023
500be97
Update to latest
AlexanderSehr Dec 13, 2023
782f54d
Update to latest
AlexanderSehr Dec 13, 2023
63f13f5
Update to latest
AlexanderSehr Dec 13, 2023
eb0f176
Update to latest
AlexanderSehr Dec 13, 2023
43659ba
Updated deploy
AlexanderSehr Dec 13, 2023
5e9d5e6
Update to latest
AlexanderSehr Dec 13, 2023
dc43f0f
Update to latest
AlexanderSehr Dec 13, 2023
c85e608
Update to latest
AlexanderSehr Dec 13, 2023
9e67823
Update to latest
AlexanderSehr Dec 13, 2023
55a1c61
Update to latest
AlexanderSehr Dec 13, 2023
628f074
Merge branch 'main' into users/alsehr/jobName
eriqua Dec 17, 2023
f1bab34
Merge branch 'Azure:main' into main
AlexanderSehr Dec 19, 2023
1a6f046
Merge branch 'main' into users/alsehr/jobName
AlexanderSehr Dec 19, 2023
a8d3c2c
Updated modules pipelines
AlexanderSehr Dec 19, 2023
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
25 changes: 19 additions & 6 deletions .github/actions/templates/avm-getModuleTestFiles/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,19 @@ runs:
$testFilePaths | ForEach-Object { Write-Verbose "- [$_]" -Verbose }

# Output values to be accessed by next jobs
$compressedOutput = $testFilePaths | ConvertTo-Json -Compress
if($compressedOutput -notmatch "\[.*\]") {
$compressedOutput = "[$compressedOutput]"
$deployCompressedOutput = $testFilePaths | ForEach-Object {
@{
path = $_
name = Split-Path (Split-Path $_) -Leaf
}
} | ConvertTo-Json -Compress

# Output values to be accessed by next jobs
if($deployCompressedOutput -notmatch "\[.*\]") {
$deployCompressedOutput = "[$deployCompressedOutput]"
}
Write-Verbose "Publishing output: $compressedOutput" -Verbose
Write-Output ('{0}={1}' -f 'moduleTestFilePaths', $compressedOutput) >> $env:GITHUB_OUTPUT
Write-Verbose "Publishing output: $deployCompressedOutput" -Verbose
Write-Output ('{0}={1}' -f 'moduleTestFilePaths', $deployCompressedOutput) >> $env:GITHUB_OUTPUT

Write-Output '::endgroup::'

Expand All @@ -56,7 +63,13 @@ runs:
$psRuleTestFilePaths | ForEach-Object { Write-Verbose "- [$_]" -Verbose }

# Output values to be accessed by next jobs
$psRuleCompressedOutput = $psRuleTestFilePaths | ConvertTo-Json -Compress
$psRuleCompressedOutput = $psRuleTestFilePaths | ForEach-Object {
@{
path = $_
name = Split-Path (Split-Path $_) -Leaf
}
} | ConvertTo-Json -Compress

if($psRuleCompressedOutput -notmatch "\[.*\]") {
$psRuleCompressedOutput = "[$psRuleCompressedOutput]"
}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/avm.res.api-management.service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/avm.res.batch.batch-account.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/avm.res.cognitive-services.account.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/avm.res.compute.ssh-public-key.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/avm.res.data-factory.factory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/avm.res.event-grid.domain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/avm.res.event-grid.system-topic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/avm.res.event-grid.topic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/avm.res.insights.action-group.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
eriqua marked this conversation as resolved.
Show resolved Hide resolved
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/avm.res.insights.component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/avm.res.insights.metric-alert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/avm.res.insights.webtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/avm.res.key-vault.vault.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/avm.res.logic.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/avm.res.network.bastion-host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/avm.res.network.dns-resolver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/avm.res.network.dns-zone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/avm.res.network.load-balancer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/avm.res.network.network-interface.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/avm.res.network.private-dns-zone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/avm.res.network.private-endpoint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/avm.res.network.public-ip-address.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/avm.res.network.public-ip-prefix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/avm.res.network.route-table.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: "Module"
name: "Run"
needs:
- job_initialize_pipeline
uses: ./.github/workflows/avm.template.module.yml
Expand Down
Loading