File tree Expand file tree Collapse file tree 3 files changed +19
-11
lines changed Expand file tree Collapse file tree 3 files changed +19
-11
lines changed Original file line number Diff line number Diff line change 2222 cd marketplace
2323 cpa verify
2424
25- # TODO(vdice): We could also utilize the ARM template test kit
26- # to verify the mainTemplate.json and createUIDefinition.json files:
27- # https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/test-toolkit#validate-templates-for-azure-marketplace
25+ arm-ttk :
26+ name : Test marketplace templates
27+ runs-on : ubuntu-22.04
28+ steps :
29+ - uses : actions/checkout@v3
30+
31+ - name : install arm-ttk
32+ run : |
33+ curl -sSLo arm-ttk.zip https://github.com/Azure/arm-ttk/releases/download/20240328/arm-ttk.zip
34+ unzip arm-ttk.zip
35+
36+ - name : test marketplace package
37+ shell : pwsh
38+ run : |
39+ Set-Location arm-ttk/arm-ttk
40+ Import-Module ./arm-ttk.psd1
41+ Test-AzMarketplacePackage -TemplatePath ../../marketplace
Original file line number Diff line number Diff line change 202202 "min" : 1 ,
203203 "max" : 10 ,
204204 "label" : " VMCount" ,
205- "subLabel" : " " ,
206205 "defaultValue" : 1 ,
207206 "showStepMarkers" : false ,
208207 "toolTip" : " Specify VM count" ,
Original file line number Diff line number Diff line change 144144 "name" : " [parameters('clusterResourceName')]" ,
145145 "location" : " [parameters('location')]" ,
146146 "dependsOn" : [],
147- "tags" : {},
148147 "sku" : {
149148 "name" : " Basic" ,
150149 "tier" : " Free"
171170 "type" : " VirtualMachineScaleSets" ,
172171 "mode" : " System" ,
173172 "maxPods" : 110 ,
174- "availabilityZones" : [],
175- "enableNodePublicIP" : false ,
176- "tags" : {}
173+ "enableNodePublicIP" : false
177174 }
178175 ],
179176 "networkProfile" : {
203200 "properties" : {
204201 "extensionType" : " [variables('clusterExtensionTypeName')]" ,
205202 "autoUpgradeMinorVersion" : true ,
206- "releaseTrain" : " [variables('releaseTrain')]" ,
207- "configurationSettings" : {},
208- "configurationProtectedSettings" : {}
203+ "releaseTrain" : " [variables('releaseTrain')]"
209204 },
210205 "plan" : {
211206 "name" : " [variables('plan-name')]" ,
You can’t perform that action at this time.
0 commit comments