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: Removed enforcement of UDT schemas for pattern modules #1832

Merged
merged 23 commits into from
May 6, 2024
Merged
Changes from 22 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
b144c0a
Update to latest
AlexanderSehr Mar 23, 2024
99f88df
Update to latest
AlexanderSehr Mar 23, 2024
754793b
Merge branch 'main' of https://github.com/Azure/bicep-registry-modules
AlexanderSehr Mar 25, 2024
8b1daef
Merge branch 'main' of https://github.com/Azure/bicep-registry-modules
AlexanderSehr Mar 30, 2024
9f35870
Merge branch 'main' of https://github.com/Azure/bicep-registry-modules
AlexanderSehr Apr 6, 2024
4a87461
Merge branch 'main' of https://github.com/Azure/bicep-registry-modules
AlexanderSehr Apr 10, 2024
3d4ce5d
Merge branch 'main' of https://github.com/Azure/bicep-registry-modules
AlexanderSehr Apr 10, 2024
246477c
Merge branch 'main' of https://github.com/Azure/bicep-registry-modules
AlexanderSehr Apr 10, 2024
068f7d3
Merge branch 'main' of https://github.com/Azure/bicep-registry-modules
AlexanderSehr Apr 12, 2024
d668fb9
Merge branch 'main' of https://github.com/Azure/bicep-registry-modules
AlexanderSehr Apr 15, 2024
9d7bc95
Merge branch 'main' of https://github.com/Azure/bicep-registry-modules
AlexanderSehr Apr 18, 2024
90ae3c5
Merge branch 'main' of https://github.com/Azure/bicep-registry-modules
AlexanderSehr Apr 18, 2024
93aa434
Merge branch 'main' of https://github.com/Azure/bicep-registry-modules
AlexanderSehr Apr 19, 2024
05c9378
Merge branch 'main' of https://github.com/Azure/bicep-registry-modules
AlexanderSehr Apr 20, 2024
d6503d6
Merge branches 'main' and 'main' of https://github.com/Azure/bicep-re…
AlexanderSehr Apr 29, 2024
43125dd
Merge branch 'main' of https://github.com/Azure/bicep-registry-modules
AlexanderSehr Apr 29, 2024
3264515
Merge branch 'main' of https://github.com/Azure/bicep-registry-modules
AlexanderSehr Apr 30, 2024
e175c3e
Merge branch 'main' of https://github.com/Azure/bicep-registry-modules
AlexanderSehr Apr 30, 2024
83c8dfb
Merge branch 'main' of https://github.com/Azure/bicep-registry-modules
AlexanderSehr Apr 30, 2024
b87c025
Merge branch 'main' of https://github.com/Azure/bicep-registry-modules
AlexanderSehr May 2, 2024
803bf65
Merge branch 'main' of https://github.com/Azure/bicep-registry-modules
AlexanderSehr May 3, 2024
f94026a
Update to latest
AlexanderSehr May 3, 2024
b3af83d
Merge branch 'main' into users/alsehr/1749_skipRoleTypePtn
eriqua May 6, 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
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,11 @@ Describe 'Module tests' -Tag 'Module' {
$udtSpecificTestCases = [System.Collections.ArrayList] @() # Specific UDT test cases for singular UDTs (e.g. tags)
foreach ($moduleFolderPath in $moduleFolderPaths) {

if ($moduleFolderPath -match '[\/|\\]avm[\/|\\]ptn[\/|\\]') {
eriqua marked this conversation as resolved.
Show resolved Hide resolved
# Skip UDT interface tests for ptn modules
continue
}

$resourceTypeIdentifier = ($moduleFolderPath -split '[\/|\\]{1}avm[\/|\\]{1}(res|ptn)[\/|\\]{1}')[2] -replace '\\', '/' # 'avm/res|ptn/<provider>/<resourceType>' would return '<provider>/<resourceType>'
$templateFilePath = Join-Path $moduleFolderPath 'main.bicep'
$templateFileContent = $builtTestFileMap[$templateFilePath]
Expand Down
Loading