From 4e110afd96cba9bde17c9041fe1fc94083d5509a Mon Sep 17 00:00:00 2001 From: MrMCake Date: Mon, 18 Jul 2022 17:29:09 +0200 Subject: [PATCH 1/9] Started refactoring ado pipelines --- .../modulePipelines/ms.aad.domainservices.yml | 23 +- .../ms.analysisservices.servers.yml | 25 +- .../ms.apimanagement.service.yml | 25 +- ...s.appconfiguration.configurationstores.yml | 24 +- .../ms.authorization.locks.yml | 24 +- .../ms.authorization.policyassignments.yml | 34 +-- .../ms.authorization.policydefinitions.yml | 30 +-- .../ms.authorization.policyexemptions.yml | 34 +-- .../ms.authorization.policysetdefinitions.yml | 30 +-- .../ms.authorization.roleassignments.yml | 34 +-- .../ms.authorization.roledefinitions.yml | 34 +-- .../ms.automation.automationaccounts.yml | 25 +- .../ms.batch.batchaccounts.yml | 25 +- .../modulePipelines/ms.cache.redis.yml | 24 +- .../ms.cognitiveservices.accounts.yml | 26 +- .../ms.compute.availabilitysets.yml | 23 +- .../ms.compute.diskencryptionsets.yml | 23 +- .../modulePipelines/ms.compute.disks.yml | 26 +- .../modulePipelines/ms.compute.galleries.yml | 21 +- .../modulePipelines/ms.compute.images.yml | 23 +- .../ms.compute.proximityplacementgroups.yml | 23 +- .../ms.compute.virtualmachines.yml | 28 +- .../ms.compute.virtualmachinescalesets.yml | 26 +- .../ms.consumption.budgets.yml | 23 +- .../ms.containerinstance.containergroups.yml | 23 +- .../ms.containerregistry.registries.yml | 25 +- .../ms.containerservice.managedclusters.yml | 24 +- .../ms.databricks.workspaces.yml | 23 +- .../ms.datafactory.factories.yml | 23 +- .../ms.dataprotection.backupvaults.yml | 24 +- ...esktopvirtualization.applicationgroups.yml | 24 +- .../ms.desktopvirtualization.hostpools.yml | 23 +- .../ms.desktopvirtualization.scalingplans.yml | 23 +- .../ms.desktopvirtualization.workspaces.yml | 23 +- .../ms.documentdb.databaseaccounts.yml | 26 +- .../ms.eventgrid.systemtopics.yml | 24 +- .../modulePipelines/ms.eventgrid.topics.yml | 23 +- .../ms.eventhub.namespaces.yml | 24 +- .../ms.healthbot.healthbots.yml | 23 +- .../ms.insights.actiongroups.yml | 23 +- .../ms.insights.activitylogalerts.yml | 23 +- .../ms.insights.components.yml | 23 +- .../ms.insights.diagnosticsettings.yml | 23 +- .../ms.insights.metricalerts.yml | 23 +- .../ms.insights.privatelinkscopes.yml | 23 +- .../ms.insights.scheduledqueryrules.yml | 23 +- .../modulePipelines/ms.keyvault.vaults.yml | 24 +- .../ms.kubernetesconfiguration.extensions.yml | 24 +- ...rnetesconfiguration.fluxconfigurations.yml | 24 +- .../modulePipelines/ms.logic.workflows.yml | 23 +- .../ms.machinelearningservices.workspaces.yml | 25 +- ...managedidentity.userassignedidentities.yml | 23 +- ...anagedservices.registrationdefinitions.yml | 24 +- .../ms.management.managementgroups.yml | 23 +- .../ms.netapp.netappaccounts.yml | 25 +- .../ms.network.applicationgateways.yml | 23 +- .../ms.network.applicationsecuritygroups.yml | 23 +- .../ms.network.azurefirewalls.yml | 23 +- .../ms.network.bastionhosts.yml | 24 +- .../ms.network.connections.yml | 23 +- .../ms.network.ddosprotectionplans.yml | 23 +- .../ms.network.expressroutecircuits.yml | 23 +- .../ms.network.firewallpolicies.yml | 23 +- .../modulePipelines/ms.network.frontdoors.yml | 23 +- .../modulePipelines/ms.network.ipgroups.yml | 23 +- .../ms.network.loadbalancers.yml | 25 +- .../ms.network.localnetworkgateways.yml | 23 +- .../ms.network.natgateways.yml | 23 +- .../ms.network.networkinterfaces.yml | 24 +- .../ms.network.networksecuritygroups.yml | 24 +- .../ms.network.networkwatchers.yml | 24 +- .../ms.network.privatednszones.yml | 24 +- .../ms.network.privateendpoints.yml | 24 +- .../ms.network.publicipaddresses.yml | 23 +- .../ms.network.publicipprefixes.yml | 23 +- .../ms.network.routetables.yml | 23 +- .../ms.network.trafficmanagerprofiles.yml | 23 +- .../ms.network.virtualhubs.yml | 24 +- .../ms.network.virtualnetworkgateways.yml | 24 +- .../ms.network.virtualnetworks.yml | 24 +- .../ms.network.virtualwans.yml | 24 +- .../ms.network.vpngateways.yml | 24 +- .../modulePipelines/ms.network.vpnsites.yml | 24 +- .../ms.operationalinsights.workspaces.yml | 24 +- .../ms.operationsmanagement.solutions.yml | 25 +- .../ms.recoveryservices.vaults.yml | 28 +- .../ms.resources.deploymentscripts.yml | 24 +- .../ms.resources.resourcegroups.yml | 23 +- .../modulePipelines/ms.resources.tags.yml | 25 +- .../ms.security.azuresecuritycenter.yml | 23 +- .../ms.servicebus.namespaces.yml | 24 +- .../ms.servicefabric.clusters.yml | 25 +- .../ms.signalrservice.webpubsub.yml | 24 +- .../ms.sql.managedinstances.yml | 26 +- .../modulePipelines/ms.sql.servers.yml | 24 +- .../ms.storage.storageaccounts.yml | 27 +- .../ms.synapse.privatelinkhubs.yml | 24 +- ...ms.virtualmachineimages.imagetemplates.yml | 23 +- .../modulePipelines/ms.web.connections.yml | 23 +- .../ms.web.hostingenvironments.yml | 28 +- .../modulePipelines/ms.web.serverfarms.yml | 23 +- .azuredevops/modulePipelines/ms.web.sites.yml | 26 +- .../modulePipelines/ms.web.staticsites.yml | 24 +- .../jobs.dependenciesModuleDeployment.yml | 254 ++++++++++++++++++ .../pipelineTemplates/stages.module.yml | 28 ++ .../platform.dependencies.yml | 58 ++-- 106 files changed, 734 insertions(+), 2121 deletions(-) create mode 100644 .azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml create mode 100644 .azuredevops/pipelineTemplates/stages.module.yml diff --git a/.azuredevops/modulePipelines/ms.aad.domainservices.yml b/.azuredevops/modulePipelines/ms.aad.domainservices.yml index dc4b333de0..6fc8ccdee0 100644 --- a/.azuredevops/modulePipelines/ms.aad.domainservices.yml +++ b/.azuredevops/modulePipelines/ms.aad.domainservices.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.AAD/DomainServices' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.analysisservices.servers.yml b/.azuredevops/modulePipelines/ms.analysisservices.servers.yml index 7af50336a6..0ccc219757 100644 --- a/.azuredevops/modulePipelines/ms.analysisservices.servers.yml +++ b/.azuredevops/modulePipelines/ms.analysisservices.servers.yml @@ -34,24 +34,7 @@ variables: value: '/modules/Microsoft.AnalysisServices/servers' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - path: $(modulePath)/.test/max.parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.apimanagement.service.yml b/.azuredevops/modulePipelines/ms.apimanagement.service.yml index b1aba496be..e7fd2cecde 100644 --- a/.azuredevops/modulePipelines/ms.apimanagement.service.yml +++ b/.azuredevops/modulePipelines/ms.apimanagement.service.yml @@ -34,24 +34,7 @@ variables: value: '/modules/Microsoft.ApiManagement/service' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/max.parameters.json - - path: $(modulePath)/.test/parameters.json - - path: $(modulePath)/.test/min.parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.appconfiguration.configurationstores.yml b/.azuredevops/modulePipelines/ms.appconfiguration.configurationstores.yml index d7f129a897..635ce4c910 100644 --- a/.azuredevops/modulePipelines/ms.appconfiguration.configurationstores.yml +++ b/.azuredevops/modulePipelines/ms.appconfiguration.configurationstores.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.AppConfiguration/configurationStores' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.authorization.locks.yml b/.azuredevops/modulePipelines/ms.authorization.locks.yml index 1c6eca4189..9d3d5b7220 100644 --- a/.azuredevops/modulePipelines/ms.authorization.locks.yml +++ b/.azuredevops/modulePipelines/ms.authorization.locks.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.Authorization/locks' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/rg.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.authorization.policyassignments.yml b/.azuredevops/modulePipelines/ms.authorization.policyassignments.yml index d3da037b68..3487c1033d 100644 --- a/.azuredevops/modulePipelines/ms.authorization.policyassignments.yml +++ b/.azuredevops/modulePipelines/ms.authorization.policyassignments.yml @@ -34,33 +34,7 @@ variables: value: '/modules/Microsoft.Authorization/policyAssignments' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/mg.min.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/mg.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/sub.min.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/sub.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/rg.min.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/rg.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.authorization.policydefinitions.yml b/.azuredevops/modulePipelines/ms.authorization.policydefinitions.yml index 7addbb0011..fd137d74c8 100644 --- a/.azuredevops/modulePipelines/ms.authorization.policydefinitions.yml +++ b/.azuredevops/modulePipelines/ms.authorization.policydefinitions.yml @@ -34,29 +34,7 @@ variables: value: '/modules/Microsoft.Authorization/policyDefinitions' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/mg.min.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/mg.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/sub.min.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/sub.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.authorization.policyexemptions.yml b/.azuredevops/modulePipelines/ms.authorization.policyexemptions.yml index 40f367f9c2..2187ebc311 100644 --- a/.azuredevops/modulePipelines/ms.authorization.policyexemptions.yml +++ b/.azuredevops/modulePipelines/ms.authorization.policyexemptions.yml @@ -34,33 +34,7 @@ variables: value: '/modules/Microsoft.Authorization/policyExemptions' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/mg.min.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/mg.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/sub.min.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/sub.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/rg.min.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/rg.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.authorization.policysetdefinitions.yml b/.azuredevops/modulePipelines/ms.authorization.policysetdefinitions.yml index f4171f025d..4b3d0293ed 100644 --- a/.azuredevops/modulePipelines/ms.authorization.policysetdefinitions.yml +++ b/.azuredevops/modulePipelines/ms.authorization.policysetdefinitions.yml @@ -34,29 +34,7 @@ variables: value: '/modules/Microsoft.Authorization/policySetDefinitions' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/mg.min.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/mg.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/sub.min.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/sub.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.authorization.roleassignments.yml b/.azuredevops/modulePipelines/ms.authorization.roleassignments.yml index 4690fae893..78b12bb4e9 100644 --- a/.azuredevops/modulePipelines/ms.authorization.roleassignments.yml +++ b/.azuredevops/modulePipelines/ms.authorization.roleassignments.yml @@ -34,33 +34,7 @@ variables: value: '/modules/Microsoft.Authorization/roleAssignments' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/mg.min.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/mg.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/sub.min.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/sub.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/rg.min.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/rg.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.authorization.roledefinitions.yml b/.azuredevops/modulePipelines/ms.authorization.roledefinitions.yml index 59bb77e6ea..b26536801e 100644 --- a/.azuredevops/modulePipelines/ms.authorization.roledefinitions.yml +++ b/.azuredevops/modulePipelines/ms.authorization.roledefinitions.yml @@ -34,33 +34,7 @@ variables: value: '/modules/Microsoft.Authorization/roleDefinitions' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/mg.min.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/mg.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/sub.min.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/sub.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/rg.min.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/rg.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.automation.automationaccounts.yml b/.azuredevops/modulePipelines/ms.automation.automationaccounts.yml index 3ae7224e87..1b4da0ac80 100644 --- a/.azuredevops/modulePipelines/ms.automation.automationaccounts.yml +++ b/.azuredevops/modulePipelines/ms.automation.automationaccounts.yml @@ -34,24 +34,7 @@ variables: value: '/modules/Microsoft.Automation/automationAccounts' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - path: $(modulePath)/.test/encr.parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.batch.batchaccounts.yml b/.azuredevops/modulePipelines/ms.batch.batchaccounts.yml index 3909a23932..891bfe3a23 100644 --- a/.azuredevops/modulePipelines/ms.batch.batchaccounts.yml +++ b/.azuredevops/modulePipelines/ms.batch.batchaccounts.yml @@ -34,24 +34,7 @@ variables: value: '/modules/Microsoft.Batch/batchAccounts' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/encr.parameters.json - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.cache.redis.yml b/.azuredevops/modulePipelines/ms.cache.redis.yml index fee3d729e8..6437563cc8 100644 --- a/.azuredevops/modulePipelines/ms.cache.redis.yml +++ b/.azuredevops/modulePipelines/ms.cache.redis.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.Cache/redis' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.cognitiveservices.accounts.yml b/.azuredevops/modulePipelines/ms.cognitiveservices.accounts.yml index 525bbd0400..80761d10bc 100644 --- a/.azuredevops/modulePipelines/ms.cognitiveservices.accounts.yml +++ b/.azuredevops/modulePipelines/ms.cognitiveservices.accounts.yml @@ -34,25 +34,7 @@ variables: value: '/modules/Microsoft.CognitiveServices/accounts' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - path: $(modulePath)/.test/speech.parameters.json - - path: $(modulePath)/.test/encr.parameters.json - - path: $(modulePath)/.test/min.parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.compute.availabilitysets.yml b/.azuredevops/modulePipelines/ms.compute.availabilitysets.yml index ebfe4ef6c5..c48c996745 100644 --- a/.azuredevops/modulePipelines/ms.compute.availabilitysets.yml +++ b/.azuredevops/modulePipelines/ms.compute.availabilitysets.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Compute/availabilitySets' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.compute.diskencryptionsets.yml b/.azuredevops/modulePipelines/ms.compute.diskencryptionsets.yml index 5c055c106e..b96ac899fc 100644 --- a/.azuredevops/modulePipelines/ms.compute.diskencryptionsets.yml +++ b/.azuredevops/modulePipelines/ms.compute.diskencryptionsets.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Compute/diskEncryptionSets' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.compute.disks.yml b/.azuredevops/modulePipelines/ms.compute.disks.yml index ade67c4da1..b41778f2ff 100644 --- a/.azuredevops/modulePipelines/ms.compute.disks.yml +++ b/.azuredevops/modulePipelines/ms.compute.disks.yml @@ -34,25 +34,7 @@ variables: value: '/modules/Microsoft.Compute/disks' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/image.parameters.json - - path: $(modulePath)/.test/import.parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.compute.galleries.yml b/.azuredevops/modulePipelines/ms.compute.galleries.yml index 2c8b9e7315..3b24f5a1d8 100644 --- a/.azuredevops/modulePipelines/ms.compute.galleries.yml +++ b/.azuredevops/modulePipelines/ms.compute.galleries.yml @@ -34,14 +34,15 @@ variables: value: '/modules/Microsoft.Compute/galleries' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' + parameters: deploymentBlocks: - - path: $(modulePath)/.test/images.parameters.json - - path: $(modulePath)/.test/parameters.json + + - stage: Deployment displayName: Deployment validation @@ -50,11 +51,5 @@ stages: parameters: removeDeployment: '${{ parameters.removeDeployment }}' deploymentBlocks: - - path: $(modulePath)/.test/images.parameters.json - - path: $(modulePath)/.test/parameters.json - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + diff --git a/.azuredevops/modulePipelines/ms.compute.images.yml b/.azuredevops/modulePipelines/ms.compute.images.yml index c5eff00687..b66e0d6646 100644 --- a/.azuredevops/modulePipelines/ms.compute.images.yml +++ b/.azuredevops/modulePipelines/ms.compute.images.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Compute/images' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.compute.proximityplacementgroups.yml b/.azuredevops/modulePipelines/ms.compute.proximityplacementgroups.yml index 6cf915f886..f82b342807 100644 --- a/.azuredevops/modulePipelines/ms.compute.proximityplacementgroups.yml +++ b/.azuredevops/modulePipelines/ms.compute.proximityplacementgroups.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Compute/proximityPlacementGroups' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.compute.virtualmachines.yml b/.azuredevops/modulePipelines/ms.compute.virtualmachines.yml index fbebfadefb..f9e7e15524 100644 --- a/.azuredevops/modulePipelines/ms.compute.virtualmachines.yml +++ b/.azuredevops/modulePipelines/ms.compute.virtualmachines.yml @@ -34,27 +34,7 @@ variables: value: '/modules/Microsoft.Compute/virtualMachines' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/linux.min.parameters.json - - path: $(modulePath)/.test/linux.parameters.json - - path: $(modulePath)/.test/linux.autmg.parameters.json - - path: $(modulePath)/.test/windows.min.parameters.json - - path: $(modulePath)/.test/windows.parameters.json - - path: $(modulePath)/.test/windows.autmg.parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.compute.virtualmachinescalesets.yml b/.azuredevops/modulePipelines/ms.compute.virtualmachinescalesets.yml index ee08364dd9..03f0b92596 100644 --- a/.azuredevops/modulePipelines/ms.compute.virtualmachinescalesets.yml +++ b/.azuredevops/modulePipelines/ms.compute.virtualmachinescalesets.yml @@ -34,25 +34,7 @@ variables: value: '/modules/Microsoft.Compute/virtualMachineScaleSets' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/linux.min.parameters.json - - path: $(modulePath)/.test/linux.parameters.json - - path: $(modulePath)/.test/windows.min.parameters.json - - path: $(modulePath)/.test/windows.parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.consumption.budgets.yml b/.azuredevops/modulePipelines/ms.consumption.budgets.yml index ff092f68a9..633a44bc13 100644 --- a/.azuredevops/modulePipelines/ms.consumption.budgets.yml +++ b/.azuredevops/modulePipelines/ms.consumption.budgets.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Consumption/budgets' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.containerinstance.containergroups.yml b/.azuredevops/modulePipelines/ms.containerinstance.containergroups.yml index fb77ed6087..a08229d1a0 100644 --- a/.azuredevops/modulePipelines/ms.containerinstance.containergroups.yml +++ b/.azuredevops/modulePipelines/ms.containerinstance.containergroups.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.ContainerInstance/containerGroups' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.containerregistry.registries.yml b/.azuredevops/modulePipelines/ms.containerregistry.registries.yml index 8470ed750e..5c5b02b9ed 100644 --- a/.azuredevops/modulePipelines/ms.containerregistry.registries.yml +++ b/.azuredevops/modulePipelines/ms.containerregistry.registries.yml @@ -34,24 +34,7 @@ variables: value: '/modules/Microsoft.ContainerRegistry/registries' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/encr.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.containerservice.managedclusters.yml b/.azuredevops/modulePipelines/ms.containerservice.managedclusters.yml index 14bff15bc9..2287e799a0 100644 --- a/.azuredevops/modulePipelines/ms.containerservice.managedclusters.yml +++ b/.azuredevops/modulePipelines/ms.containerservice.managedclusters.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.ContainerService/managedClusters' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/azure.parameters.json - - path: $(modulePath)/.test/kubenet.parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.databricks.workspaces.yml b/.azuredevops/modulePipelines/ms.databricks.workspaces.yml index 2dcefb3089..b8906e32d3 100644 --- a/.azuredevops/modulePipelines/ms.databricks.workspaces.yml +++ b/.azuredevops/modulePipelines/ms.databricks.workspaces.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Databricks/workspaces' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.datafactory.factories.yml b/.azuredevops/modulePipelines/ms.datafactory.factories.yml index 47b45aba51..25c240a739 100644 --- a/.azuredevops/modulePipelines/ms.datafactory.factories.yml +++ b/.azuredevops/modulePipelines/ms.datafactory.factories.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.DataFactory/factories' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.dataprotection.backupvaults.yml b/.azuredevops/modulePipelines/ms.dataprotection.backupvaults.yml index 5cdbaded33..081badfc69 100644 --- a/.azuredevops/modulePipelines/ms.dataprotection.backupvaults.yml +++ b/.azuredevops/modulePipelines/ms.dataprotection.backupvaults.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.DataProtection/backupVaults' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.desktopvirtualization.applicationgroups.yml b/.azuredevops/modulePipelines/ms.desktopvirtualization.applicationgroups.yml index bbfe9a21d1..882a7252db 100644 --- a/.azuredevops/modulePipelines/ms.desktopvirtualization.applicationgroups.yml +++ b/.azuredevops/modulePipelines/ms.desktopvirtualization.applicationgroups.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.DesktopVirtualization/applicationgroups' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.desktopvirtualization.hostpools.yml b/.azuredevops/modulePipelines/ms.desktopvirtualization.hostpools.yml index 3ba9e54ca9..dbbb65913f 100644 --- a/.azuredevops/modulePipelines/ms.desktopvirtualization.hostpools.yml +++ b/.azuredevops/modulePipelines/ms.desktopvirtualization.hostpools.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.DesktopVirtualization/hostpools' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.desktopvirtualization.scalingplans.yml b/.azuredevops/modulePipelines/ms.desktopvirtualization.scalingplans.yml index f73fd3513c..609fbcb3b3 100644 --- a/.azuredevops/modulePipelines/ms.desktopvirtualization.scalingplans.yml +++ b/.azuredevops/modulePipelines/ms.desktopvirtualization.scalingplans.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.DesktopVirtualization/scalingplans' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.desktopvirtualization.workspaces.yml b/.azuredevops/modulePipelines/ms.desktopvirtualization.workspaces.yml index d2ec25b4e1..f71d6f2e9a 100644 --- a/.azuredevops/modulePipelines/ms.desktopvirtualization.workspaces.yml +++ b/.azuredevops/modulePipelines/ms.desktopvirtualization.workspaces.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.DesktopVirtualization/workspaces' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.documentdb.databaseaccounts.yml b/.azuredevops/modulePipelines/ms.documentdb.databaseaccounts.yml index daa7d918c3..48003c38dd 100644 --- a/.azuredevops/modulePipelines/ms.documentdb.databaseaccounts.yml +++ b/.azuredevops/modulePipelines/ms.documentdb.databaseaccounts.yml @@ -34,25 +34,7 @@ variables: value: '/modules/Microsoft.DocumentDB/databaseAccounts' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/mongodb.parameters.json - - path: $(modulePath)/.test/gremlindb.parameters.json - - path: $(modulePath)/.test/plain.parameters.json - - path: $(modulePath)/.test/sqldb.parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.eventgrid.systemtopics.yml b/.azuredevops/modulePipelines/ms.eventgrid.systemtopics.yml index c368416620..cda2137308 100644 --- a/.azuredevops/modulePipelines/ms.eventgrid.systemtopics.yml +++ b/.azuredevops/modulePipelines/ms.eventgrid.systemtopics.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.EventGrid/systemTopics' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.eventgrid.topics.yml b/.azuredevops/modulePipelines/ms.eventgrid.topics.yml index 45e271e00e..7bea81ca5d 100644 --- a/.azuredevops/modulePipelines/ms.eventgrid.topics.yml +++ b/.azuredevops/modulePipelines/ms.eventgrid.topics.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.EventGrid/topics' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.eventhub.namespaces.yml b/.azuredevops/modulePipelines/ms.eventhub.namespaces.yml index a507769455..f249d03bd1 100644 --- a/.azuredevops/modulePipelines/ms.eventhub.namespaces.yml +++ b/.azuredevops/modulePipelines/ms.eventhub.namespaces.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.EventHub/namespaces' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.healthbot.healthbots.yml b/.azuredevops/modulePipelines/ms.healthbot.healthbots.yml index 60cf3c4b9b..07043ef06e 100644 --- a/.azuredevops/modulePipelines/ms.healthbot.healthbots.yml +++ b/.azuredevops/modulePipelines/ms.healthbot.healthbots.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.HealthBot/healthBots' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.insights.actiongroups.yml b/.azuredevops/modulePipelines/ms.insights.actiongroups.yml index d065e7aa5a..5de4b8ad9e 100644 --- a/.azuredevops/modulePipelines/ms.insights.actiongroups.yml +++ b/.azuredevops/modulePipelines/ms.insights.actiongroups.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Insights/actionGroups' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.insights.activitylogalerts.yml b/.azuredevops/modulePipelines/ms.insights.activitylogalerts.yml index 1fa1286161..44747c7226 100644 --- a/.azuredevops/modulePipelines/ms.insights.activitylogalerts.yml +++ b/.azuredevops/modulePipelines/ms.insights.activitylogalerts.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Insights/activityLogAlerts' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.insights.components.yml b/.azuredevops/modulePipelines/ms.insights.components.yml index 83868e2ce4..35319946c1 100644 --- a/.azuredevops/modulePipelines/ms.insights.components.yml +++ b/.azuredevops/modulePipelines/ms.insights.components.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Insights/components' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.insights.diagnosticsettings.yml b/.azuredevops/modulePipelines/ms.insights.diagnosticsettings.yml index 42c67c039b..0e33edeece 100644 --- a/.azuredevops/modulePipelines/ms.insights.diagnosticsettings.yml +++ b/.azuredevops/modulePipelines/ms.insights.diagnosticsettings.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Insights/diagnosticSettings' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.insights.metricalerts.yml b/.azuredevops/modulePipelines/ms.insights.metricalerts.yml index f883c7754a..ab7e782f53 100644 --- a/.azuredevops/modulePipelines/ms.insights.metricalerts.yml +++ b/.azuredevops/modulePipelines/ms.insights.metricalerts.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Insights/metricAlerts' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.insights.privatelinkscopes.yml b/.azuredevops/modulePipelines/ms.insights.privatelinkscopes.yml index ed1cd860b2..feb6e6a8d5 100644 --- a/.azuredevops/modulePipelines/ms.insights.privatelinkscopes.yml +++ b/.azuredevops/modulePipelines/ms.insights.privatelinkscopes.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Insights/privateLinkScopes' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.insights.scheduledqueryrules.yml b/.azuredevops/modulePipelines/ms.insights.scheduledqueryrules.yml index 55048bd8dc..23ec070c42 100644 --- a/.azuredevops/modulePipelines/ms.insights.scheduledqueryrules.yml +++ b/.azuredevops/modulePipelines/ms.insights.scheduledqueryrules.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Insights/scheduledQueryRules' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.keyvault.vaults.yml b/.azuredevops/modulePipelines/ms.keyvault.vaults.yml index 3fa4c1122f..7e0f0aa48e 100644 --- a/.azuredevops/modulePipelines/ms.keyvault.vaults.yml +++ b/.azuredevops/modulePipelines/ms.keyvault.vaults.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.KeyVault/vaults' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.kubernetesconfiguration.extensions.yml b/.azuredevops/modulePipelines/ms.kubernetesconfiguration.extensions.yml index fd176ad9ef..3a7c2f5aeb 100644 --- a/.azuredevops/modulePipelines/ms.kubernetesconfiguration.extensions.yml +++ b/.azuredevops/modulePipelines/ms.kubernetesconfiguration.extensions.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.KubernetesConfiguration/extensions' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.kubernetesconfiguration.fluxconfigurations.yml b/.azuredevops/modulePipelines/ms.kubernetesconfiguration.fluxconfigurations.yml index f1b7bd74f4..bee10b2782 100644 --- a/.azuredevops/modulePipelines/ms.kubernetesconfiguration.fluxconfigurations.yml +++ b/.azuredevops/modulePipelines/ms.kubernetesconfiguration.fluxconfigurations.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.KubernetesConfiguration/fluxConfigurations' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.logic.workflows.yml b/.azuredevops/modulePipelines/ms.logic.workflows.yml index 21f019db89..376bdadfa4 100644 --- a/.azuredevops/modulePipelines/ms.logic.workflows.yml +++ b/.azuredevops/modulePipelines/ms.logic.workflows.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Logic/workflows' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.machinelearningservices.workspaces.yml b/.azuredevops/modulePipelines/ms.machinelearningservices.workspaces.yml index 125fd6c922..f68a3a3ee5 100644 --- a/.azuredevops/modulePipelines/ms.machinelearningservices.workspaces.yml +++ b/.azuredevops/modulePipelines/ms.machinelearningservices.workspaces.yml @@ -34,24 +34,7 @@ variables: value: '/modules/Microsoft.MachineLearningServices/workspaces' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - path: $(modulePath)/.test/encr.parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.managedidentity.userassignedidentities.yml b/.azuredevops/modulePipelines/ms.managedidentity.userassignedidentities.yml index a9dcc9e358..46f88afd42 100644 --- a/.azuredevops/modulePipelines/ms.managedidentity.userassignedidentities.yml +++ b/.azuredevops/modulePipelines/ms.managedidentity.userassignedidentities.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.ManagedIdentity/userAssignedIdentities' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.managedservices.registrationdefinitions.yml b/.azuredevops/modulePipelines/ms.managedservices.registrationdefinitions.yml index 0489b42b0a..554b737336 100644 --- a/.azuredevops/modulePipelines/ms.managedservices.registrationdefinitions.yml +++ b/.azuredevops/modulePipelines/ms.managedservices.registrationdefinitions.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.ManagedServices/registrationDefinitions' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - path: $(modulePath)/.test/rg.parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.management.managementgroups.yml b/.azuredevops/modulePipelines/ms.management.managementgroups.yml index ecd8f96634..4ba1bb4068 100644 --- a/.azuredevops/modulePipelines/ms.management.managementgroups.yml +++ b/.azuredevops/modulePipelines/ms.management.managementgroups.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Management/managementGroups' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.netapp.netappaccounts.yml b/.azuredevops/modulePipelines/ms.netapp.netappaccounts.yml index 6eaada9780..0e5389def4 100644 --- a/.azuredevops/modulePipelines/ms.netapp.netappaccounts.yml +++ b/.azuredevops/modulePipelines/ms.netapp.netappaccounts.yml @@ -34,24 +34,7 @@ variables: value: '/modules/Microsoft.NetApp/netAppAccounts' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/nfs3.parameters.json - - path: $(modulePath)/.test/nfs41.parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.applicationgateways.yml b/.azuredevops/modulePipelines/ms.network.applicationgateways.yml index 338e5833e4..93166ef4e1 100644 --- a/.azuredevops/modulePipelines/ms.network.applicationgateways.yml +++ b/.azuredevops/modulePipelines/ms.network.applicationgateways.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Network/applicationGateways' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.applicationsecuritygroups.yml b/.azuredevops/modulePipelines/ms.network.applicationsecuritygroups.yml index 752aba961f..d1a7c37c94 100644 --- a/.azuredevops/modulePipelines/ms.network.applicationsecuritygroups.yml +++ b/.azuredevops/modulePipelines/ms.network.applicationsecuritygroups.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Network/applicationSecurityGroups' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.azurefirewalls.yml b/.azuredevops/modulePipelines/ms.network.azurefirewalls.yml index e22f1a6d8e..69b81d4f55 100644 --- a/.azuredevops/modulePipelines/ms.network.azurefirewalls.yml +++ b/.azuredevops/modulePipelines/ms.network.azurefirewalls.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Network/azureFirewalls' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.bastionhosts.yml b/.azuredevops/modulePipelines/ms.network.bastionhosts.yml index cfdf6f3159..ad93228cea 100644 --- a/.azuredevops/modulePipelines/ms.network.bastionhosts.yml +++ b/.azuredevops/modulePipelines/ms.network.bastionhosts.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.Network/bastionHosts' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.connections.yml b/.azuredevops/modulePipelines/ms.network.connections.yml index e5c7ba8cda..98b285daf4 100644 --- a/.azuredevops/modulePipelines/ms.network.connections.yml +++ b/.azuredevops/modulePipelines/ms.network.connections.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Network/connections' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/vnet2vnet.parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.ddosprotectionplans.yml b/.azuredevops/modulePipelines/ms.network.ddosprotectionplans.yml index a162d084b8..8c0dcfe1ce 100644 --- a/.azuredevops/modulePipelines/ms.network.ddosprotectionplans.yml +++ b/.azuredevops/modulePipelines/ms.network.ddosprotectionplans.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Network/ddosProtectionPlans' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.expressroutecircuits.yml b/.azuredevops/modulePipelines/ms.network.expressroutecircuits.yml index 740994bd5e..1cd0d42474 100644 --- a/.azuredevops/modulePipelines/ms.network.expressroutecircuits.yml +++ b/.azuredevops/modulePipelines/ms.network.expressroutecircuits.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Network/expressRouteCircuits' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.firewallpolicies.yml b/.azuredevops/modulePipelines/ms.network.firewallpolicies.yml index 589052e06e..ca506220c0 100644 --- a/.azuredevops/modulePipelines/ms.network.firewallpolicies.yml +++ b/.azuredevops/modulePipelines/ms.network.firewallpolicies.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Network/firewallPolicies' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.frontdoors.yml b/.azuredevops/modulePipelines/ms.network.frontdoors.yml index 8aae51017a..c175bfc03b 100644 --- a/.azuredevops/modulePipelines/ms.network.frontdoors.yml +++ b/.azuredevops/modulePipelines/ms.network.frontdoors.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Network/frontDoors' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.ipgroups.yml b/.azuredevops/modulePipelines/ms.network.ipgroups.yml index 6ab23f1e6f..9838a500c2 100644 --- a/.azuredevops/modulePipelines/ms.network.ipgroups.yml +++ b/.azuredevops/modulePipelines/ms.network.ipgroups.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Network/ipGroups' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.loadbalancers.yml b/.azuredevops/modulePipelines/ms.network.loadbalancers.yml index 49e4c668d4..f1629a9390 100644 --- a/.azuredevops/modulePipelines/ms.network.loadbalancers.yml +++ b/.azuredevops/modulePipelines/ms.network.loadbalancers.yml @@ -34,24 +34,7 @@ variables: value: '/modules/Microsoft.Network/loadBalancers' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/internal.parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.localnetworkgateways.yml b/.azuredevops/modulePipelines/ms.network.localnetworkgateways.yml index 560819deed..ce54223cef 100644 --- a/.azuredevops/modulePipelines/ms.network.localnetworkgateways.yml +++ b/.azuredevops/modulePipelines/ms.network.localnetworkgateways.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Network/localNetworkGateways' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.natgateways.yml b/.azuredevops/modulePipelines/ms.network.natgateways.yml index 98d389f40b..dc86474537 100644 --- a/.azuredevops/modulePipelines/ms.network.natgateways.yml +++ b/.azuredevops/modulePipelines/ms.network.natgateways.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Network/natGateways' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.networkinterfaces.yml b/.azuredevops/modulePipelines/ms.network.networkinterfaces.yml index 38643e7ad5..e22ee92ed8 100644 --- a/.azuredevops/modulePipelines/ms.network.networkinterfaces.yml +++ b/.azuredevops/modulePipelines/ms.network.networkinterfaces.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.Network/networkInterfaces' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.networksecuritygroups.yml b/.azuredevops/modulePipelines/ms.network.networksecuritygroups.yml index 12e86b36b9..e3bb54830f 100644 --- a/.azuredevops/modulePipelines/ms.network.networksecuritygroups.yml +++ b/.azuredevops/modulePipelines/ms.network.networksecuritygroups.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.Network/networkSecurityGroups' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.networkwatchers.yml b/.azuredevops/modulePipelines/ms.network.networkwatchers.yml index b4da5891b4..0b8e7d28b3 100644 --- a/.azuredevops/modulePipelines/ms.network.networkwatchers.yml +++ b/.azuredevops/modulePipelines/ms.network.networkwatchers.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.Network/networkWatchers' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.privatednszones.yml b/.azuredevops/modulePipelines/ms.network.privatednszones.yml index ac21a6dbd5..c508dcb0d5 100644 --- a/.azuredevops/modulePipelines/ms.network.privatednszones.yml +++ b/.azuredevops/modulePipelines/ms.network.privatednszones.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.Network/privateDnsZones' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.privateendpoints.yml b/.azuredevops/modulePipelines/ms.network.privateendpoints.yml index 556a20d7d6..be2577b896 100644 --- a/.azuredevops/modulePipelines/ms.network.privateendpoints.yml +++ b/.azuredevops/modulePipelines/ms.network.privateendpoints.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.Network/privateEndpoints' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.publicipaddresses.yml b/.azuredevops/modulePipelines/ms.network.publicipaddresses.yml index 0800659ccd..a7ed81d617 100644 --- a/.azuredevops/modulePipelines/ms.network.publicipaddresses.yml +++ b/.azuredevops/modulePipelines/ms.network.publicipaddresses.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Network/publicIPAddresses' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.publicipprefixes.yml b/.azuredevops/modulePipelines/ms.network.publicipprefixes.yml index 6df6837c99..7459ec1c54 100644 --- a/.azuredevops/modulePipelines/ms.network.publicipprefixes.yml +++ b/.azuredevops/modulePipelines/ms.network.publicipprefixes.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Network/publicIPPrefixes' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.routetables.yml b/.azuredevops/modulePipelines/ms.network.routetables.yml index 92f8fdf6d6..1dc1cd6379 100644 --- a/.azuredevops/modulePipelines/ms.network.routetables.yml +++ b/.azuredevops/modulePipelines/ms.network.routetables.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Network/routeTables' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.trafficmanagerprofiles.yml b/.azuredevops/modulePipelines/ms.network.trafficmanagerprofiles.yml index 3196e7fc21..051fc9b60b 100644 --- a/.azuredevops/modulePipelines/ms.network.trafficmanagerprofiles.yml +++ b/.azuredevops/modulePipelines/ms.network.trafficmanagerprofiles.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Network/trafficmanagerprofiles' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.virtualhubs.yml b/.azuredevops/modulePipelines/ms.network.virtualhubs.yml index 03e06fdcd3..394535e640 100644 --- a/.azuredevops/modulePipelines/ms.network.virtualhubs.yml +++ b/.azuredevops/modulePipelines/ms.network.virtualhubs.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.Network/virtualHubs' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.virtualnetworkgateways.yml b/.azuredevops/modulePipelines/ms.network.virtualnetworkgateways.yml index d85d443bd4..4d06fb0556 100644 --- a/.azuredevops/modulePipelines/ms.network.virtualnetworkgateways.yml +++ b/.azuredevops/modulePipelines/ms.network.virtualnetworkgateways.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.Network/virtualNetworkGateways' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/expressRoute.parameters.json - - path: $(modulePath)/.test/vpn.parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.virtualnetworks.yml b/.azuredevops/modulePipelines/ms.network.virtualnetworks.yml index 35e251fe64..8d44ed8fd8 100644 --- a/.azuredevops/modulePipelines/ms.network.virtualnetworks.yml +++ b/.azuredevops/modulePipelines/ms.network.virtualnetworks.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.Network/virtualNetworks' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - path: $(modulePath)/.test/vnetPeering.parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.virtualwans.yml b/.azuredevops/modulePipelines/ms.network.virtualwans.yml index b47a9be8a8..21f92b97d9 100644 --- a/.azuredevops/modulePipelines/ms.network.virtualwans.yml +++ b/.azuredevops/modulePipelines/ms.network.virtualwans.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.Network/virtualWans' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.vpngateways.yml b/.azuredevops/modulePipelines/ms.network.vpngateways.yml index c929f00e60..0dc281ca48 100644 --- a/.azuredevops/modulePipelines/ms.network.vpngateways.yml +++ b/.azuredevops/modulePipelines/ms.network.vpngateways.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.Network/vpnGateways' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.network.vpnsites.yml b/.azuredevops/modulePipelines/ms.network.vpnsites.yml index 0ed4dcfb9e..11854bdca3 100644 --- a/.azuredevops/modulePipelines/ms.network.vpnsites.yml +++ b/.azuredevops/modulePipelines/ms.network.vpnsites.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.Network/vpnSites' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.operationalinsights.workspaces.yml b/.azuredevops/modulePipelines/ms.operationalinsights.workspaces.yml index 37d876556f..6a89ebcddc 100644 --- a/.azuredevops/modulePipelines/ms.operationalinsights.workspaces.yml +++ b/.azuredevops/modulePipelines/ms.operationalinsights.workspaces.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.OperationalInsights/workspaces' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml b/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml index 45e98f4c7b..e5627159bb 100644 --- a/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml +++ b/.azuredevops/modulePipelines/ms.operationsmanagement.solutions.yml @@ -34,24 +34,7 @@ variables: value: '/modules/Microsoft.OperationsManagement/solutions' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/nonms.parameters.json - - path: $(modulePath)/.test/ms.parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.recoveryservices.vaults.yml b/.azuredevops/modulePipelines/ms.recoveryservices.vaults.yml index 46c69e6db8..931902c7ac 100644 --- a/.azuredevops/modulePipelines/ms.recoveryservices.vaults.yml +++ b/.azuredevops/modulePipelines/ms.recoveryservices.vaults.yml @@ -34,27 +34,7 @@ variables: value: '/modules/Microsoft.RecoveryServices/vaults' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/min.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - path: $(modulePath)/.test/dr.parameters.json - templateFilePath: $(modulePath)/deploy.bicep - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.resources.deploymentscripts.yml b/.azuredevops/modulePipelines/ms.resources.deploymentscripts.yml index 1208c3d4fe..bc4013082e 100644 --- a/.azuredevops/modulePipelines/ms.resources.deploymentscripts.yml +++ b/.azuredevops/modulePipelines/ms.resources.deploymentscripts.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.Resources/deploymentScripts' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/cli.parameters.json - - path: $(modulePath)/.test/ps.parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.resources.resourcegroups.yml b/.azuredevops/modulePipelines/ms.resources.resourcegroups.yml index 6095d13e82..b125531c64 100644 --- a/.azuredevops/modulePipelines/ms.resources.resourcegroups.yml +++ b/.azuredevops/modulePipelines/ms.resources.resourcegroups.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Resources/resourceGroups' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.resources.tags.yml b/.azuredevops/modulePipelines/ms.resources.tags.yml index 4d69e1fb73..2e1181b772 100644 --- a/.azuredevops/modulePipelines/ms.resources.tags.yml +++ b/.azuredevops/modulePipelines/ms.resources.tags.yml @@ -34,24 +34,7 @@ variables: value: '/modules/Microsoft.Resources/tags' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/rg.parameters.json - - path: $(modulePath)/.test/sub.parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.security.azuresecuritycenter.yml b/.azuredevops/modulePipelines/ms.security.azuresecuritycenter.yml index a3ff45c1d2..7ef4c5cfe3 100644 --- a/.azuredevops/modulePipelines/ms.security.azuresecuritycenter.yml +++ b/.azuredevops/modulePipelines/ms.security.azuresecuritycenter.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Security/azureSecurityCenter' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.servicebus.namespaces.yml b/.azuredevops/modulePipelines/ms.servicebus.namespaces.yml index df07ccfad7..e9f333f146 100644 --- a/.azuredevops/modulePipelines/ms.servicebus.namespaces.yml +++ b/.azuredevops/modulePipelines/ms.servicebus.namespaces.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.ServiceBus/namespaces' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.servicefabric.clusters.yml b/.azuredevops/modulePipelines/ms.servicefabric.clusters.yml index 210bcc8601..74c199916c 100644 --- a/.azuredevops/modulePipelines/ms.servicefabric.clusters.yml +++ b/.azuredevops/modulePipelines/ms.servicefabric.clusters.yml @@ -34,24 +34,7 @@ variables: value: '/modules/Microsoft.ServiceFabric/clusters' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/full.parameters.json - - path: $(modulePath)/.test/cert.parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.signalrservice.webpubsub.yml b/.azuredevops/modulePipelines/ms.signalrservice.webpubsub.yml index e55c8b4cf5..2ba0b201f1 100644 --- a/.azuredevops/modulePipelines/ms.signalrservice.webpubsub.yml +++ b/.azuredevops/modulePipelines/ms.signalrservice.webpubsub.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.SignalRService/webPubSub' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.sql.managedinstances.yml b/.azuredevops/modulePipelines/ms.sql.managedinstances.yml index cd4f46e4ab..e39166b10d 100644 --- a/.azuredevops/modulePipelines/ms.sql.managedinstances.yml +++ b/.azuredevops/modulePipelines/ms.sql.managedinstances.yml @@ -34,23 +34,11 @@ variables: value: '/modules/Microsoft.Sql/managedInstances' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - defaultJobTimeoutInMinutes: 360 + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' + - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + + defaultJobTimeoutInMinutes: 360 diff --git a/.azuredevops/modulePipelines/ms.sql.servers.yml b/.azuredevops/modulePipelines/ms.sql.servers.yml index b0ea5eef46..452f013e44 100644 --- a/.azuredevops/modulePipelines/ms.sql.servers.yml +++ b/.azuredevops/modulePipelines/ms.sql.servers.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.Sql/servers' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - path: $(modulePath)/.test/admin.parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.storage.storageaccounts.yml b/.azuredevops/modulePipelines/ms.storage.storageaccounts.yml index 89b2843a8d..eb36b76e61 100644 --- a/.azuredevops/modulePipelines/ms.storage.storageaccounts.yml +++ b/.azuredevops/modulePipelines/ms.storage.storageaccounts.yml @@ -34,26 +34,7 @@ variables: value: '/modules/Microsoft.Storage/storageAccounts' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/nfs.parameters.json - - path: $(modulePath)/.test/parameters.json - - path: $(modulePath)/.test/v1.parameters.json - - path: $(modulePath)/.test/encr.parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.synapse.privatelinkhubs.yml b/.azuredevops/modulePipelines/ms.synapse.privatelinkhubs.yml index e68cd37d6b..4541b2085d 100644 --- a/.azuredevops/modulePipelines/ms.synapse.privatelinkhubs.yml +++ b/.azuredevops/modulePipelines/ms.synapse.privatelinkhubs.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.Synapse/privateLinkHubs' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.virtualmachineimages.imagetemplates.yml b/.azuredevops/modulePipelines/ms.virtualmachineimages.imagetemplates.yml index 37e0c7618c..c46b80a192 100644 --- a/.azuredevops/modulePipelines/ms.virtualmachineimages.imagetemplates.yml +++ b/.azuredevops/modulePipelines/ms.virtualmachineimages.imagetemplates.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.VirtualMachineImages/imageTemplates' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.web.connections.yml b/.azuredevops/modulePipelines/ms.web.connections.yml index da283faca2..dabe963b9f 100644 --- a/.azuredevops/modulePipelines/ms.web.connections.yml +++ b/.azuredevops/modulePipelines/ms.web.connections.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Web/connections' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.web.hostingenvironments.yml b/.azuredevops/modulePipelines/ms.web.hostingenvironments.yml index efc1a4bd6f..73f587a2f7 100644 --- a/.azuredevops/modulePipelines/ms.web.hostingenvironments.yml +++ b/.azuredevops/modulePipelines/ms.web.hostingenvironments.yml @@ -34,24 +34,12 @@ variables: value: '/modules/Microsoft.Web/hostingEnvironments' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/asev2.parameters.json - - path: $(modulePath)/.test/asev3.parameters.json - defaultJobTimeoutInMinutes: 180 + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' + + - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + + defaultJobTimeoutInMinutes: 180 diff --git a/.azuredevops/modulePipelines/ms.web.serverfarms.yml b/.azuredevops/modulePipelines/ms.web.serverfarms.yml index 195039baac..08af684f19 100644 --- a/.azuredevops/modulePipelines/ms.web.serverfarms.yml +++ b/.azuredevops/modulePipelines/ms.web.serverfarms.yml @@ -34,22 +34,7 @@ variables: value: '/modules/Microsoft.Web/serverfarms' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.web.sites.yml b/.azuredevops/modulePipelines/ms.web.sites.yml index 83336e7671..3173c9232b 100644 --- a/.azuredevops/modulePipelines/ms.web.sites.yml +++ b/.azuredevops/modulePipelines/ms.web.sites.yml @@ -34,25 +34,7 @@ variables: value: '/modules/Microsoft.Web/sites' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/fa.min.parameters.json - - path: $(modulePath)/.test/fa.parameters.json - - path: $(modulePath)/.test/wa.min.parameters.json - - path: $(modulePath)/.test/wa.parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/modulePipelines/ms.web.staticsites.yml b/.azuredevops/modulePipelines/ms.web.staticsites.yml index 4cf0f4302b..cdd1580529 100644 --- a/.azuredevops/modulePipelines/ms.web.staticsites.yml +++ b/.azuredevops/modulePipelines/ms.web.staticsites.yml @@ -34,23 +34,7 @@ variables: value: '/modules/Microsoft.Web/staticSites' stages: - - stage: Validation - displayName: Static validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml - - - stage: Deployment - displayName: Deployment validation - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml - parameters: - removeDeployment: '${{ parameters.removeDeployment }}' - deploymentBlocks: - - path: $(modulePath)/.test/min.parameters.json - - path: $(modulePath)/.test/parameters.json - - - stage: Publishing - displayName: Publishing - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) - jobs: - - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml + - template: /.azuredevops/pipelineTemplates/stages.module.yml + parameters: + removeDeployment: '${{ parameters.removeDeployment }}' + prerelease: '${{ parameters.prerelease }}' diff --git a/.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml b/.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml new file mode 100644 index 0000000000..e2455703dd --- /dev/null +++ b/.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml @@ -0,0 +1,254 @@ +######################################################### +## DEPLOYMENT PIPELINE ## +######################################################### +## +## This pipeline template contains the logic to deploy a given module's ARM template using the provided parameter file(s) +## +## Enabled levels of deployment +## - Resource-Group-Level +## - Subscription-Level +## - Management-Group-Level +## - Tenant-Level +## +######################################################## +## +##---------------------------------------------## +## TEMPLATE PARAMETERS ## +##---------------------------------------------## +## +## By default it uses the variables specified in the below [parameters] section. However, you can overwrite these variables in the +## referencing pipeline by providing the parameter explicitly. +## +## NOTE: If you don't need to overwrite a shared value, you can IGNORE this section +## +## |=================================================================================================================================================================================================================================| +## | Parameter | Default Value | Description | Example | +## |---------------------------------|--------------------------------------|-----------------------------------------------------------------------------------------------------------|--------------------------------------------| +## | serviceConnection | '$(serviceConnection)' | The service connection that connects to Azure | 'demo-internal' | +## | poolName | '$(poolName)' | You can provide either a [poolname] or [vmImage] to run the job on | 'Custom Deployment Pool' | +## | vmImage | '$(vmImage)' | You can provide either a [poolname] or [vmImage] to run the job on | 'ubuntu20.04' | +## | defaultJobTimeoutInMinutes | 120 | The timeout for the job in this pipeline | 120 | +## | deploymentBlocks | | The parameter file(s) to deploy with. Must be provided | path: 'C:/parameters.json' | +## | location | '$(location)' | The location to deploy with | 'EastUs2' | +## | resourceGroupName | '$(resourceGroupName)' | The resourcegroup to deploy into. Required only for Resource-Group-Level deployments | 'validation-rg' | +## | subscriptionId | '$(ARM_SUBSCRIPTION_ID)' | The id of the subscription to deploy into when using a Management group service connection | 'aed7c000-6387-412e-bed0-24dfddf4bbc6' | +## | managementGroupId | '$(ARM_MGMTGROUP_ID)' | The id of the management group to deploy into. Required only for Management-Group-Level deployments | '6ycc9620-cb01-454f-9ebc-fc6b1df48d64' | +## | azurePowerShellVersion | '$(azurePowerShellVersion)' | Used for configuring the Azure PowerShellModules Version, one of the example values. | 'latestVersion' or 'OtherVersion' | +## | preferredAzurePowerShellVersion | '$(preferredAzurePowerShellVersion)' | Used for configuring the Azure PowerShellModules Version, either an empty string or the specific version. | '4.4.0' | +## |=================================================================================================================================================================================================================================| +## +##---------------------------------------------## + +parameters: + # Pipeline-related parameters + serviceConnection: '$(serviceConnection)' + poolName: '$(poolName)' + vmImage: '$(vmImage)' + defaultJobTimeoutInMinutes: 120 + dependsOn: [] + # Logic-related parameters + deploymentBlocks: '' + location: '$(location)' + resourceGroupName: '$(resourceGroupName)' + subscriptionId: '$(ARM_SUBSCRIPTION_ID)' + managementGroupId: '$(ARM_MGMTGROUP_ID)' + # Azure PowerShell Version parameters + azurePowerShellVersion: '$(azurePowerShellVersion)' + preferredAzurePowerShellVersion: '$(preferredAzurePowerShellVersion)' + +##---------------------------------------------## +## TEMPLATE LOGIC ## +##---------------------------------------------## + +jobs: + - ${{ each deploymentBlock in parameters.deploymentBlocks }}: + - job: ${{ deploymentBlock.jobName }} + displayName: ${{ deploymentBlock.displayName }} + timeoutInMinutes: ${{ parameters.defaultJobTimeoutInMinutes }} + ${{ if ne( parameters.dependsOn, '') }}: + dependsOn: ${{ parameters.dependsOn }} + pool: + ${{ if ne(parameters.vmImage, '') }}: + vmImage: ${{ parameters.vmImage }} + ${{ if ne(parameters.poolName, '') }}: + name: ${{ parameters.poolName }} + + steps: + # [Checkout Repositories] task(s) + #-------------------------------- + - checkout: self + + # [Agent] Prepare environment + #---------------------------- + - task: PowerShell@2 + displayName: 'Setup agent' + inputs: + targetType: inline + pwsh: true + script: | + # Load used functions + . (Join-Path '$(System.DefaultWorkingDirectory)' 'utilities' 'pipelines' 'sharedScripts' 'Set-EnvironmentOnAgent.ps1') + + # Define PS modules to install on the runner + $Modules = @( + @{ Name = 'Az.Accounts' }, + @{ Name = 'Az.Resources' } + ) + + # Set agent up + Set-EnvironmentOnAgent -PSModules $Modules + + # [Agent] Replace tokens + #----------------------- + - task: AzurePowerShell@5 + displayName: 'Replace Tokens [${{ deploymentBlock.path }}] via connection [${{ parameters.serviceConnection }}]' + inputs: + azureSubscription: ${{ parameters.serviceConnection }} + azurePowerShellVersion: ${{ parameters.azurePowerShellVersion }} + preferredAzurePowerShellVersion: ${{ parameters.preferredAzurePowerShellVersion }} + ScriptType: InlineScript + pwsh: true + inline: | + # Load used functions + . (Join-Path '$(System.DefaultWorkingDirectory)' 'utilities' 'pipelines' 'tokensReplacement' 'Convert-TokensInFile.ps1') + + # Load Settings File + $Settings = Get-Content -Path (Join-Path '$(System.DefaultWorkingDirectory)' 'settings.json') | ConvertFrom-Json -AsHashTable + + # Construct Token Function Input + $ConvertTokensInputs = @{ + Tokens = @{} + FilePath = Join-Path '$(System.DefaultWorkingDirectory)' '${{ parameters.modulePath }}' '${{ deploymentBlock.path }}' + TokenPrefix = $Settings.parameterFileTokens.tokenPrefix + TokenSuffix = $Settings.parameterFileTokens.tokenSuffix + } + + # Add defaults + $ConvertTokensInputs.Tokens += @{ + resourceGroupName = '${{ parameters.resourceGroupName }}' + subscriptionId = '${{ parameters.subscriptionId }}' + managementGroupId = '${{ parameters.managementGroupId }}' + tenantId = '$(ARM_TENANT_ID)' + deploymentSpId = '$(DEPLOYMENT_SP_ID)' + } + + # Add local tokens + if ($Settings.parameterFileTokens.localTokens) { + $tokenMap = @{} + foreach ($token in $Settings.parameterFileTokens.localTokens) { + $tokenMap += @{ $token.name = $token.value } + } + Write-Verbose ('Using local tokens [{0}]' -f ($tokenMap.Keys -join ', ')) -Verbose + $ConvertTokensInputs.Tokens += $tokenMap + } + + # Add custom tokens (passed in via the pipeline) + if(-not [String]::IsNullOrEmpty('${{ deploymentBlock.customParameterFileTokens }}')) { + $customTokens = '${{ deploymentBlock.customParameterFileTokens }}' | ConvertFrom-Json -AsHashTable + Write-Verbose ('Using custom parameter file tokens [{0}]' -f ($customTokens.Keys -join ', ')) -Verbose + $ConvertTokensInputs.Tokens += $customTokens + } + + # Invoke Token Replacement Functionality + $null = Convert-TokensInFile @ConvertTokensInputs + + # [Validation] task(s) + #--------------------- + - task: AzurePowerShell@5 + displayName: 'Validate [${{ deploymentBlock.path }}] via connection [${{ parameters.serviceConnection }}]' + inputs: + azureSubscription: ${{ parameters.serviceConnection }} + azurePowerShellVersion: ${{ parameters.azurePowerShellVersion }} + preferredAzurePowerShellVersion: ${{ parameters.preferredAzurePowerShellVersion }} + ScriptType: InlineScript + pwsh: true + inline: | + # Load used functions + . (Join-Path '$(System.DefaultWorkingDirectory)' '$(pipelineFunctionsPath)' 'resourceDeployment' 'Test-TemplateDeployment.ps1') + + # ----------- # + # INVOKE TEST # + # ----------- # + $functionInput = @{ + templateFilePath = Join-Path '$(System.DefaultWorkingDirectory)' '${{ deploymentBlock.templateFilePath }}' + parameterFilePath = Join-Path '$(System.DefaultWorkingDirectory)' '${{ deploymentBlock.path }}' + location = '${{ parameters.location }}' + resourceGroupName = '${{ parameters.resourceGroupName }}' + subscriptionId = '${{ parameters.subscriptionId }}' + managementGroupId = '${{ parameters.managementGroupId }}' + additionalParameters = @{} + } + + $projectSettings = Get-Content -Path 'settings.json' | ConvertFrom-Json + if (-not [String]::IsNullOrEmpty($projectSettings.enableDefaultTelemetry) -and (Get-Content -Path $functionInput.templateFilePath -Raw) -like '*param enableDefaultTelemetry*') { + $functionInput['additionalParameters'] += @{ + enableDefaultTelemetry = $projectSettings.enableDefaultTelemetry + } + } + + Write-Verbose "Invoke task with" -Verbose + Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose + + Test-TemplateDeployment @functionInput -Verbose + + # [Deployment] task(s) + #--------------------- + - task: AzurePowerShell@5 + displayName: 'Deploy [${{ deploymentBlock.path }}] via connection [${{ parameters.serviceConnection }}]' + name: 'DeployModule' + inputs: + azureSubscription: ${{ parameters.serviceConnection }} + azurePowerShellVersion: ${{ parameters.azurePowerShellVersion }} + preferredAzurePowerShellVersion: ${{ parameters.preferredAzurePowerShellVersion }} + pwsh: true + ScriptType: InlineScript + inline: | + # Load used functions + . (Join-Path '$(System.DefaultWorkingDirectory)' '$(pipelineFunctionsPath)' 'resourceDeployment' 'New-TemplateDeployment.ps1') + + # ----------------- # + # INVOKE DEPLOYMENT # + # ----------------- # + $functionInput = @{ + templateFilePath = Join-Path '$(System.DefaultWorkingDirectory)' '${{ deploymentBlock.templateFilePath }}' + parameterFilePath = Join-Path '$(System.DefaultWorkingDirectory)' '${{ deploymentBlock.path }}' + location = '${{ parameters.location }}' + resourceGroupName = '${{ parameters.resourceGroupName }}' + subscriptionId = '${{ parameters.subscriptionId }}' + managementGroupId = '${{ parameters.managementGroupId }}' + doNotThrow = $true + additionalParameters = @{} + } + + $projectSettings = Get-Content -Path 'settings.json' | ConvertFrom-Json + if (-not [String]::IsNullOrEmpty($projectSettings.enableDefaultTelemetry) -and (Get-Content -Path $functionInput.templateFilePath -Raw) -like '*param enableDefaultTelemetry*') { + $functionInput['additionalParameters'] += @{ + enableDefaultTelemetry = $projectSettings.enableDefaultTelemetry + } + } + + Write-Verbose "Invoke task with" -Verbose + Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose + + # Invoke deployment + $res = New-TemplateDeployment @functionInput -Verbose + + # Get deployment name + Write-Host ('##vso[task.setvariable variable=deploymentName]{0}' -f $res.deploymentName) + + # Populate further outputs + $deploymentOutputHash=@{} + + foreach ($outputKey in $res.deploymentOutput.Keys) { + Write-Output ('##vso[task.setvariable variable={0}]{1}' -f $outputKey, $res.deploymentOutput[$outputKey].Value) + $deploymentOutputHash.add($outputKey,$res.deploymentOutput[$outputKey].Value) + } + + $deploymentOutput = $deploymentOutputHash | ConvertTo-Json -Compress -Depth 100 + Write-Verbose "Deployment output: $deploymentOutput" -Verbose + Write-Output ('##vso[task.setvariable variable={0};isOutput=true]{1}' -f 'deploymentOutput', $deploymentOutput) + + if ($res.ContainsKey('exception')) { + # Happens only if there is an exception + throw $res.exception + } diff --git a/.azuredevops/pipelineTemplates/stages.module.yml b/.azuredevops/pipelineTemplates/stages.module.yml new file mode 100644 index 0000000000..647517a17e --- /dev/null +++ b/.azuredevops/pipelineTemplates/stages.module.yml @@ -0,0 +1,28 @@ +parameters: + removeDeployment: true + prerelease: false + templateFilePath: '' + defaultJobTimeoutInMinutes: 120 + +stages: + - stage: validation + displayName: Static validation + jobs: + - template: /.azuredevops/pipelineTemplates/jobs.validateModulePester.yml + + - stage: deployment + displayName: Deployment validation + jobs: + - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + parameters: + templateFilePath: '$(modulePath)/deploy.bicep' + removeDeployment: '${{ parameters.removeDeployment }}' + defaultJobTimeoutInMinutes: ${{ parameters.defaultJobTimeoutInMinutes }} + + - stage: Publishing + dependsOn: + - deployment + displayName: Publish module + condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true'))) + jobs: + - template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml diff --git a/.azuredevops/platformPipelines/platform.dependencies.yml b/.azuredevops/platformPipelines/platform.dependencies.yml index d29cce9289..ac6c5b8ab8 100644 --- a/.azuredevops/platformPipelines/platform.dependencies.yml +++ b/.azuredevops/platformPipelines/platform.dependencies.yml @@ -20,7 +20,7 @@ trigger: none # - main # paths: # include: -# - '.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml' +# - '.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml' # - '.azuredevops/platformPipelines/platform.dependencies.yml' # - 'utilities/pipelines/dependencies/**' @@ -41,7 +41,7 @@ stages: resourceType: 'Microsoft.Resources/resourceGroups' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/validation.parameters.json @@ -59,7 +59,7 @@ stages: resourceType: 'Microsoft.Compute/proximityPlacementGroups' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json @@ -74,7 +74,7 @@ stages: resourceType: 'Microsoft.ManagedIdentity/userAssignedIdentities' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json @@ -112,7 +112,7 @@ stages: resourceType: 'Microsoft.Web/serverfarms' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json @@ -127,7 +127,7 @@ stages: resourceType: 'Microsoft.Web/sites' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json @@ -142,7 +142,7 @@ stages: resourceType: 'Microsoft.Authorization/policyAssignments' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/mg.parameters.json @@ -160,7 +160,7 @@ stages: resourceType: 'Microsoft.EventHub/namespaces' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json @@ -175,7 +175,7 @@ stages: resourceType: 'Microsoft.OperationalInsights/workspaces' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json @@ -196,7 +196,7 @@ stages: resourceType: 'Microsoft.Storage/storageAccounts' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json @@ -292,7 +292,7 @@ stages: resourceType: 'Microsoft.Compute/galleries' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json @@ -311,7 +311,7 @@ stages: saResourceType: 'Microsoft.Storage\storageAccounts' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json @@ -445,7 +445,7 @@ stages: resourceType: 'Microsoft.Insights/actionGroups' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json @@ -460,7 +460,7 @@ stages: resourceType: 'Microsoft.Network/applicationSecurityGroups' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json @@ -475,7 +475,7 @@ stages: resourceType: 'Microsoft.Network/routeTables' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json @@ -496,7 +496,7 @@ stages: resourceType: 'Microsoft.Network/networkSecurityGroups' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json @@ -529,7 +529,7 @@ stages: resourceType: 'Microsoft.Network\publicIPAddresses' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/apgw.parameters.json @@ -564,7 +564,7 @@ stages: resourceType: 'Microsoft.Insights/components' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json @@ -581,7 +581,7 @@ stages: resourceType: 'Microsoft.Automation/automationAccounts' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json @@ -598,7 +598,7 @@ stages: resourceType: 'Microsoft.DesktopVirtualization/hostpools' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json @@ -617,7 +617,7 @@ stages: templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep msiPrincipalId: $[ stageDependencies.deploy_msi.job_set_msi_id.outputs['print_msi_prinId.msiPrincipalId'] ] jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json @@ -637,7 +637,7 @@ stages: templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep msiPrincipalId: $[ stageDependencies.deploy_msi.job_set_msi_id.outputs['print_msi_prinId.msiPrincipalId'] ] jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json @@ -890,7 +890,7 @@ stages: resourceType: 'Microsoft.Compute/diskEncryptionSets' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json @@ -905,7 +905,7 @@ stages: resourceType: 'Microsoft.DesktopVirtualization/applicationgroups' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json @@ -921,7 +921,7 @@ stages: templateFilePath: $(modulesPath)/$(resourceType)/subscription/deploy.bicep msiPrincipalId: $[ stageDependencies.deploy_msi.job_set_msi_id.outputs['print_msi_prinId.msiPrincipalId'] ] jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json @@ -939,7 +939,7 @@ stages: resourceType: 'Microsoft.Network/virtualNetworks' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json @@ -995,7 +995,7 @@ stages: resourceType: 'Microsoft.Network/privateDnsZones' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/automation.parameters.json @@ -1075,7 +1075,7 @@ stages: resourceType: 'Microsoft.Compute/virtualMachines' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/parameters.json @@ -1090,7 +1090,7 @@ stages: resourceType: 'Microsoft.Network/loadBalancers' templateFilePath: $(modulesPath)/$(resourceType)/deploy.bicep jobs: - - template: /.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml + - template: /.azuredevops/pipelineTemplates/jobs.dependenciesModuleDeployment.yml parameters: deploymentBlocks: - path: $(dependencyPath)/$(resourceType)/parameters/internal.parameters.json From fd1cbeeaa568010d586af7361eea3a7d2547deb7 Mon Sep 17 00:00:00 2001 From: MrMCake Date: Mon, 18 Jul 2022 17:33:53 +0200 Subject: [PATCH 2/9] GH pipeline rename --- .../jobs.getModuleTestFiles.yml | 51 +++++++++++++++++++ .../action.yml | 10 ++-- .github/workflows/ms.aad.domainservices.yml | 10 ++-- .../workflows/ms.analysisservices.servers.yml | 10 ++-- .../workflows/ms.apimanagement.service.yml | 10 ++-- ...s.appconfiguration.configurationstores.yml | 10 ++-- .github/workflows/ms.authorization.locks.yml | 10 ++-- .../ms.authorization.policyassignments.yml | 10 ++-- .../ms.authorization.policydefinitions.yml | 10 ++-- .../ms.authorization.policyexemptions.yml | 10 ++-- .../ms.authorization.policysetdefinitions.yml | 10 ++-- .../ms.authorization.roleassignments.yml | 10 ++-- .../ms.authorization.roledefinitions.yml | 10 ++-- .../ms.automation.automationaccounts.yml | 10 ++-- .github/workflows/ms.batch.batchaccounts.yml | 10 ++-- .github/workflows/ms.cache.redis.yml | 10 ++-- .../ms.cognitiveservices.accounts.yml | 10 ++-- .../workflows/ms.compute.availabilitysets.yml | 10 ++-- .../ms.compute.diskencryptionsets.yml | 10 ++-- .github/workflows/ms.compute.disks.yml | 10 ++-- .github/workflows/ms.compute.galleries.yml | 10 ++-- .github/workflows/ms.compute.images.yml | 10 ++-- .../ms.compute.proximityplacementgroups.yml | 10 ++-- .../workflows/ms.compute.virtualmachines.yml | 10 ++-- .../ms.compute.virtualmachinescalesets.yml | 10 ++-- .github/workflows/ms.consumption.budgets.yml | 10 ++-- .../ms.containerinstance.containergroups.yml | 10 ++-- .../ms.containerregistry.registries.yml | 10 ++-- .../ms.containerservice.managedclusters.yml | 10 ++-- .../workflows/ms.databricks.workspaces.yml | 10 ++-- .../workflows/ms.datafactory.factories.yml | 10 ++-- .../ms.dataprotection.backupvaults.yml | 10 ++-- ...esktopvirtualization.applicationgroups.yml | 10 ++-- .../ms.desktopvirtualization.hostpools.yml | 10 ++-- .../ms.desktopvirtualization.scalingplans.yml | 10 ++-- .../ms.desktopvirtualization.workspaces.yml | 10 ++-- .../ms.documentdb.databaseaccounts.yml | 10 ++-- .../workflows/ms.eventgrid.systemtopics.yml | 10 ++-- .github/workflows/ms.eventgrid.topics.yml | 10 ++-- .github/workflows/ms.eventhub.namespaces.yml | 10 ++-- .github/workflows/ms.healthbot.healthbots.yml | 10 ++-- .../workflows/ms.insights.actiongroups.yml | 10 ++-- .../ms.insights.activitylogalerts.yml | 10 ++-- .github/workflows/ms.insights.components.yml | 10 ++-- .../ms.insights.diagnosticsettings.yml | 10 ++-- .../workflows/ms.insights.metricalerts.yml | 10 ++-- .../ms.insights.privatelinkscopes.yml | 10 ++-- .../ms.insights.scheduledqueryrules.yml | 10 ++-- .github/workflows/ms.keyvault.vaults.yml | 10 ++-- .../ms.kubernetesconfiguration.extensions.yml | 10 ++-- ...rnetesconfiguration.fluxconfigurations.yml | 10 ++-- .github/workflows/ms.logic.workflows.yml | 10 ++-- .../ms.machinelearningservices.workspaces.yml | 10 ++-- ...managedidentity.userassignedidentities.yml | 10 ++-- ...anagedservices.registrationdefinitions.yml | 10 ++-- .../ms.management.managementgroups.yml | 10 ++-- .../workflows/ms.netapp.netappaccounts.yml | 10 ++-- .../ms.network.applicationgateways.yml | 10 ++-- .../ms.network.applicationsecuritygroups.yml | 10 ++-- .../workflows/ms.network.azurefirewalls.yml | 10 ++-- .github/workflows/ms.network.bastionhosts.yml | 10 ++-- .github/workflows/ms.network.connections.yml | 10 ++-- .../ms.network.ddosprotectionplans.yml | 10 ++-- .../ms.network.expressroutecircuits.yml | 10 ++-- .../workflows/ms.network.firewallpolicies.yml | 10 ++-- .github/workflows/ms.network.frontdoors.yml | 10 ++-- .github/workflows/ms.network.ipgroups.yml | 10 ++-- .../workflows/ms.network.loadbalancers.yml | 10 ++-- .../ms.network.localnetworkgateways.yml | 10 ++-- .github/workflows/ms.network.natgateways.yml | 10 ++-- .../ms.network.networkinterfaces.yml | 10 ++-- .../ms.network.networksecuritygroups.yml | 10 ++-- .../workflows/ms.network.networkwatchers.yml | 10 ++-- .../workflows/ms.network.privatednszones.yml | 10 ++-- .../workflows/ms.network.privateendpoints.yml | 10 ++-- .../ms.network.publicipaddresses.yml | 10 ++-- .../workflows/ms.network.publicipprefixes.yml | 10 ++-- .github/workflows/ms.network.routetables.yml | 10 ++-- .../ms.network.trafficmanagerprofiles.yml | 10 ++-- .github/workflows/ms.network.virtualhubs.yml | 10 ++-- .../ms.network.virtualnetworkgateways.yml | 10 ++-- .../workflows/ms.network.virtualnetworks.yml | 10 ++-- .github/workflows/ms.network.virtualwans.yml | 10 ++-- .github/workflows/ms.network.vpngateways.yml | 10 ++-- .github/workflows/ms.network.vpnsites.yml | 10 ++-- .../ms.operationalinsights.workspaces.yml | 10 ++-- .../ms.operationsmanagement.solutions.yml | 10 ++-- .../workflows/ms.recoveryservices.vaults.yml | 10 ++-- .../ms.resources.deploymentscripts.yml | 10 ++-- .../workflows/ms.resources.resourcegroups.yml | 10 ++-- .github/workflows/ms.resources.tags.yml | 10 ++-- .../ms.security.azuresecuritycenter.yml | 10 ++-- .../workflows/ms.servicebus.namespaces.yml | 10 ++-- .../workflows/ms.servicefabric.clusters.yml | 10 ++-- .../workflows/ms.signalrservice.webpubsub.yml | 10 ++-- .github/workflows/ms.sql.managedinstances.yml | 10 ++-- .github/workflows/ms.sql.servers.yml | 10 ++-- .../workflows/ms.storage.storageaccounts.yml | 10 ++-- .../workflows/ms.synapse.privatelinkhubs.yml | 10 ++-- ...ms.virtualmachineimages.imagetemplates.yml | 10 ++-- .github/workflows/ms.web.connections.yml | 10 ++-- .../workflows/ms.web.hostingenvironments.yml | 10 ++-- .github/workflows/ms.web.serverfarms.yml | 10 ++-- .github/workflows/ms.web.sites.yml | 10 ++-- .github/workflows/ms.web.staticsites.yml | 10 ++-- 105 files changed, 571 insertions(+), 520 deletions(-) create mode 100644 .azuredevops/pipelineTemplates/jobs.getModuleTestFiles.yml rename .github/actions/templates/{getParameterFiles => getModuleTestFiles}/action.yml (80%) diff --git a/.azuredevops/pipelineTemplates/jobs.getModuleTestFiles.yml b/.azuredevops/pipelineTemplates/jobs.getModuleTestFiles.yml new file mode 100644 index 0000000000..15e227b1fe --- /dev/null +++ b/.azuredevops/pipelineTemplates/jobs.getModuleTestFiles.yml @@ -0,0 +1,51 @@ +parameters: + # Pipeline-related parameters + poolName: '$(poolName)' + vmImage: '$(vmImage)' + + # Logic-related parameters + modulePath: '$(modulePath)' + +##---------------------------------------------## +## TEMPLATE LOGIC ## +##---------------------------------------------## +jobs: + - job: getModuleTestFiles + displayName: Get deployment test file paths + pool: + ${{ if ne(parameters.vmImage, '') }}: + vmImage: ${{ parameters.vmImage }} + ${{ if ne(parameters.poolName, '') }}: + name: ${{ parameters.poolName }} + steps: + - task: PowerShell@2 + displayName: 'Get parameter files' + name: getModuleTestFilesTask + inputs: + targetType: inline + pwsh: true + script: | + # Load used functions + . (Join-Path '$(System.DefaultWorkingDirectory)' 'utilities' 'pipelines' 'sharedScripts' 'Get-ModuleTestFileList.ps1') + + $functionInput = @{ + ModulePath = Join-Path '$(System.DefaultWorkingDirectory)' '${{ parameters.modulePath }}' + } + + Write-Verbose "Invoke task with" -Verbose + Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose + + # Set agent up + $deploymentTestPaths = Get-ModuleTestFileList @functionInput -Verbose + + $testTable = @{} + foreach($deploymentTestPath in $deploymentTestPaths) { + $deploymentTestFileName = Split-Path $deploymentTestPath -Leaf + $testTable[$deploymentTestFileName] = @{ + parameterFilePath = $deploymentTestPath + } + } + + $deploymentTestPathsOutput = $testTable | ConvertTo-Json -Compress + Write-Host ('##vso[task.setVariable variable=parameterTests;isOutput=true]{0}' -f ($testTable | ConvertTo-Json -Compress)) + Write-Verbose "Parameter files: $deploymentTestPathsOutput" -Verbose diff --git a/.github/actions/templates/getParameterFiles/action.yml b/.github/actions/templates/getModuleTestFiles/action.yml similarity index 80% rename from .github/actions/templates/getParameterFiles/action.yml rename to .github/actions/templates/getModuleTestFiles/action.yml index fac1cbb3cd..8b3dc9bac5 100644 --- a/.github/actions/templates/getParameterFiles/action.yml +++ b/.github/actions/templates/getModuleTestFiles/action.yml @@ -7,15 +7,15 @@ inputs: required: true outputs: - parameterFilePaths: - description: 'The parameter files to use for template evaluation' - value: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: + description: 'The module test files to use for template evaluation' + value: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} runs: using: 'composite' steps: - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths shell: pwsh run: | # Grouping task logs @@ -35,5 +35,5 @@ runs: $compressedOutput = "[$compressedOutput]" } Write-Verbose "Publishing output: $compressedOutput" -Verbose - Write-Output "::set-output name=parameterFilePaths::$compressedOutput" + Write-Output "::set-output name=moduleTestFilePaths::$compressedOutput" Write-Output "::endgroup::" diff --git a/.github/workflows/ms.aad.domainservices.yml b/.github/workflows/ms.aad.domainservices.yml index ab37fe054d..bae08d0e1a 100644 --- a/.github/workflows/ms.aad.domainservices.yml +++ b/.github/workflows/ms.aad.domainservices.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ stepsget-module-test-file-pathss.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.analysisservices.servers.yml b/.github/workflows/ms.analysisservices.servers.yml index 1a89d807d0..11185e15a9 100644 --- a/.github/workflows/ms.analysisservices.servers.yml +++ b/.github/workflows/ms.analysisservices.servers.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.apimanagement.service.yml b/.github/workflows/ms.apimanagement.service.yml index 3da2e51cdd..882d62b763 100644 --- a/.github/workflows/ms.apimanagement.service.yml +++ b/.github/workflows/ms.apimanagement.service.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.appconfiguration.configurationstores.yml b/.github/workflows/ms.appconfiguration.configurationstores.yml index a0f4638b34..f6a36d8b4e 100644 --- a/.github/workflows/ms.appconfiguration.configurationstores.yml +++ b/.github/workflows/ms.appconfiguration.configurationstores.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.authorization.locks.yml b/.github/workflows/ms.authorization.locks.yml index 40f02515f8..8126b0959d 100644 --- a/.github/workflows/ms.authorization.locks.yml +++ b/.github/workflows/ms.authorization.locks.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -106,11 +106,11 @@ jobs: # ------------------- # ## Deploy & Remove ## # ------------------- # - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.authorization.policyassignments.yml b/.github/workflows/ms.authorization.policyassignments.yml index 1364c4daec..58c470ed1b 100644 --- a/.github/workflows/ms.authorization.policyassignments.yml +++ b/.github/workflows/ms.authorization.policyassignments.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -106,11 +106,11 @@ jobs: # ------------------- # ## Deploy & Remove ## # ------------------- # - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.authorization.policydefinitions.yml b/.github/workflows/ms.authorization.policydefinitions.yml index e7164ab991..1cf2f31afe 100644 --- a/.github/workflows/ms.authorization.policydefinitions.yml +++ b/.github/workflows/ms.authorization.policydefinitions.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -106,11 +106,11 @@ jobs: # ------------------- # ## Deploy & Remove ## # ------------------- # - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.authorization.policyexemptions.yml b/.github/workflows/ms.authorization.policyexemptions.yml index 435d8db25d..0aebd08c54 100644 --- a/.github/workflows/ms.authorization.policyexemptions.yml +++ b/.github/workflows/ms.authorization.policyexemptions.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -106,11 +106,11 @@ jobs: # ------------------- # ## Deploy & Remove ## # ------------------- # - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.authorization.policysetdefinitions.yml b/.github/workflows/ms.authorization.policysetdefinitions.yml index 55e7eee6f2..794e879f84 100644 --- a/.github/workflows/ms.authorization.policysetdefinitions.yml +++ b/.github/workflows/ms.authorization.policysetdefinitions.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -106,11 +106,11 @@ jobs: # ------------------- # ## Deploy & Remove ## # ------------------- # - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.authorization.roleassignments.yml b/.github/workflows/ms.authorization.roleassignments.yml index 25c8ffe6f6..96cd0b7040 100644 --- a/.github/workflows/ms.authorization.roleassignments.yml +++ b/.github/workflows/ms.authorization.roleassignments.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -106,11 +106,11 @@ jobs: # ------------------- # ## Deploy & Remove ## # ------------------- # - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.authorization.roledefinitions.yml b/.github/workflows/ms.authorization.roledefinitions.yml index 9e3a315263..9a733471c0 100644 --- a/.github/workflows/ms.authorization.roledefinitions.yml +++ b/.github/workflows/ms.authorization.roledefinitions.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -106,11 +106,11 @@ jobs: # ------------------- # ## Deploy & Remove ## # ------------------- # - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.automation.automationaccounts.yml b/.github/workflows/ms.automation.automationaccounts.yml index 057e636864..8397a24adc 100644 --- a/.github/workflows/ms.automation.automationaccounts.yml +++ b/.github/workflows/ms.automation.automationaccounts.yml @@ -53,13 +53,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -94,7 +94,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -104,11 +104,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.batch.batchaccounts.yml b/.github/workflows/ms.batch.batchaccounts.yml index 328553a5f4..c735b71e76 100644 --- a/.github/workflows/ms.batch.batchaccounts.yml +++ b/.github/workflows/ms.batch.batchaccounts.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.cache.redis.yml b/.github/workflows/ms.cache.redis.yml index 70876b1d7e..571a9f79e2 100644 --- a/.github/workflows/ms.cache.redis.yml +++ b/.github/workflows/ms.cache.redis.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.cognitiveservices.accounts.yml b/.github/workflows/ms.cognitiveservices.accounts.yml index fcfbbdc383..973e1fa5c2 100644 --- a/.github/workflows/ms.cognitiveservices.accounts.yml +++ b/.github/workflows/ms.cognitiveservices.accounts.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.compute.availabilitysets.yml b/.github/workflows/ms.compute.availabilitysets.yml index b4094d2940..f1ce439509 100644 --- a/.github/workflows/ms.compute.availabilitysets.yml +++ b/.github/workflows/ms.compute.availabilitysets.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.compute.diskencryptionsets.yml b/.github/workflows/ms.compute.diskencryptionsets.yml index 8c9151e925..85ca142e73 100644 --- a/.github/workflows/ms.compute.diskencryptionsets.yml +++ b/.github/workflows/ms.compute.diskencryptionsets.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.compute.disks.yml b/.github/workflows/ms.compute.disks.yml index b99dd3655d..a2e38e8e62 100644 --- a/.github/workflows/ms.compute.disks.yml +++ b/.github/workflows/ms.compute.disks.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.compute.galleries.yml b/.github/workflows/ms.compute.galleries.yml index e2cf9591ef..98b7c6e5c1 100644 --- a/.github/workflows/ms.compute.galleries.yml +++ b/.github/workflows/ms.compute.galleries.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.compute.images.yml b/.github/workflows/ms.compute.images.yml index 403c02fcf9..082f139887 100644 --- a/.github/workflows/ms.compute.images.yml +++ b/.github/workflows/ms.compute.images.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.compute.proximityplacementgroups.yml b/.github/workflows/ms.compute.proximityplacementgroups.yml index abd48055d3..3ed012e2f4 100644 --- a/.github/workflows/ms.compute.proximityplacementgroups.yml +++ b/.github/workflows/ms.compute.proximityplacementgroups.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.compute.virtualmachines.yml b/.github/workflows/ms.compute.virtualmachines.yml index 988ded0c5f..63158204da 100644 --- a/.github/workflows/ms.compute.virtualmachines.yml +++ b/.github/workflows/ms.compute.virtualmachines.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.compute.virtualmachinescalesets.yml b/.github/workflows/ms.compute.virtualmachinescalesets.yml index 470c7e1b59..3b7cfc2f08 100644 --- a/.github/workflows/ms.compute.virtualmachinescalesets.yml +++ b/.github/workflows/ms.compute.virtualmachinescalesets.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.consumption.budgets.yml b/.github/workflows/ms.consumption.budgets.yml index b4e7f9a6e2..171d027cbb 100644 --- a/.github/workflows/ms.consumption.budgets.yml +++ b/.github/workflows/ms.consumption.budgets.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.containerinstance.containergroups.yml b/.github/workflows/ms.containerinstance.containergroups.yml index 4765cf31f0..6d1367a6ac 100644 --- a/.github/workflows/ms.containerinstance.containergroups.yml +++ b/.github/workflows/ms.containerinstance.containergroups.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.containerregistry.registries.yml b/.github/workflows/ms.containerregistry.registries.yml index 3bd86f54f2..4c37b681b4 100644 --- a/.github/workflows/ms.containerregistry.registries.yml +++ b/.github/workflows/ms.containerregistry.registries.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.containerservice.managedclusters.yml b/.github/workflows/ms.containerservice.managedclusters.yml index 6d6677f79d..a6d04f22ae 100644 --- a/.github/workflows/ms.containerservice.managedclusters.yml +++ b/.github/workflows/ms.containerservice.managedclusters.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.databricks.workspaces.yml b/.github/workflows/ms.databricks.workspaces.yml index 758f2e7685..464899f10a 100644 --- a/.github/workflows/ms.databricks.workspaces.yml +++ b/.github/workflows/ms.databricks.workspaces.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.datafactory.factories.yml b/.github/workflows/ms.datafactory.factories.yml index 65f92d041b..627c87210b 100644 --- a/.github/workflows/ms.datafactory.factories.yml +++ b/.github/workflows/ms.datafactory.factories.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.dataprotection.backupvaults.yml b/.github/workflows/ms.dataprotection.backupvaults.yml index 6ad676cfca..3c700a6c27 100644 --- a/.github/workflows/ms.dataprotection.backupvaults.yml +++ b/.github/workflows/ms.dataprotection.backupvaults.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.desktopvirtualization.applicationgroups.yml b/.github/workflows/ms.desktopvirtualization.applicationgroups.yml index 0f370287eb..878bd3b240 100644 --- a/.github/workflows/ms.desktopvirtualization.applicationgroups.yml +++ b/.github/workflows/ms.desktopvirtualization.applicationgroups.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.desktopvirtualization.hostpools.yml b/.github/workflows/ms.desktopvirtualization.hostpools.yml index bd431b614f..55a544b040 100644 --- a/.github/workflows/ms.desktopvirtualization.hostpools.yml +++ b/.github/workflows/ms.desktopvirtualization.hostpools.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.desktopvirtualization.scalingplans.yml b/.github/workflows/ms.desktopvirtualization.scalingplans.yml index 829b3aa685..a2eaf3f3c1 100644 --- a/.github/workflows/ms.desktopvirtualization.scalingplans.yml +++ b/.github/workflows/ms.desktopvirtualization.scalingplans.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.desktopvirtualization.workspaces.yml b/.github/workflows/ms.desktopvirtualization.workspaces.yml index b13b73fdf9..56f4b38c6d 100644 --- a/.github/workflows/ms.desktopvirtualization.workspaces.yml +++ b/.github/workflows/ms.desktopvirtualization.workspaces.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.documentdb.databaseaccounts.yml b/.github/workflows/ms.documentdb.databaseaccounts.yml index 8d6bca51f7..d21ae68c9c 100644 --- a/.github/workflows/ms.documentdb.databaseaccounts.yml +++ b/.github/workflows/ms.documentdb.databaseaccounts.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.eventgrid.systemtopics.yml b/.github/workflows/ms.eventgrid.systemtopics.yml index e40e8612e5..646fc47119 100644 --- a/.github/workflows/ms.eventgrid.systemtopics.yml +++ b/.github/workflows/ms.eventgrid.systemtopics.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.eventgrid.topics.yml b/.github/workflows/ms.eventgrid.topics.yml index 5f45ab7026..b674f9dfb0 100644 --- a/.github/workflows/ms.eventgrid.topics.yml +++ b/.github/workflows/ms.eventgrid.topics.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.eventhub.namespaces.yml b/.github/workflows/ms.eventhub.namespaces.yml index 74bdf5dfe6..6a9cb1dd2e 100644 --- a/.github/workflows/ms.eventhub.namespaces.yml +++ b/.github/workflows/ms.eventhub.namespaces.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.healthbot.healthbots.yml b/.github/workflows/ms.healthbot.healthbots.yml index 7f9124d280..a9eec0a207 100644 --- a/.github/workflows/ms.healthbot.healthbots.yml +++ b/.github/workflows/ms.healthbot.healthbots.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.insights.actiongroups.yml b/.github/workflows/ms.insights.actiongroups.yml index 62d66ad671..7f867bf6c4 100644 --- a/.github/workflows/ms.insights.actiongroups.yml +++ b/.github/workflows/ms.insights.actiongroups.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.insights.activitylogalerts.yml b/.github/workflows/ms.insights.activitylogalerts.yml index 4780c624cb..4bfffe381f 100644 --- a/.github/workflows/ms.insights.activitylogalerts.yml +++ b/.github/workflows/ms.insights.activitylogalerts.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.insights.components.yml b/.github/workflows/ms.insights.components.yml index 4ce0d56069..013e449c3d 100644 --- a/.github/workflows/ms.insights.components.yml +++ b/.github/workflows/ms.insights.components.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.insights.diagnosticsettings.yml b/.github/workflows/ms.insights.diagnosticsettings.yml index 4c7e2bc7a2..50a0f53671 100644 --- a/.github/workflows/ms.insights.diagnosticsettings.yml +++ b/.github/workflows/ms.insights.diagnosticsettings.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.insights.metricalerts.yml b/.github/workflows/ms.insights.metricalerts.yml index bccae4382b..302be4bba9 100644 --- a/.github/workflows/ms.insights.metricalerts.yml +++ b/.github/workflows/ms.insights.metricalerts.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.insights.privatelinkscopes.yml b/.github/workflows/ms.insights.privatelinkscopes.yml index b4bf6f27c9..70d6837e62 100644 --- a/.github/workflows/ms.insights.privatelinkscopes.yml +++ b/.github/workflows/ms.insights.privatelinkscopes.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.insights.scheduledqueryrules.yml b/.github/workflows/ms.insights.scheduledqueryrules.yml index 35dfabbf7a..beee80abfb 100644 --- a/.github/workflows/ms.insights.scheduledqueryrules.yml +++ b/.github/workflows/ms.insights.scheduledqueryrules.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.keyvault.vaults.yml b/.github/workflows/ms.keyvault.vaults.yml index cfb9f3ced2..d7f8db5f20 100644 --- a/.github/workflows/ms.keyvault.vaults.yml +++ b/.github/workflows/ms.keyvault.vaults.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.kubernetesconfiguration.extensions.yml b/.github/workflows/ms.kubernetesconfiguration.extensions.yml index 07fc455d70..11b2aeede4 100644 --- a/.github/workflows/ms.kubernetesconfiguration.extensions.yml +++ b/.github/workflows/ms.kubernetesconfiguration.extensions.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml b/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml index f0165866e1..65088a0483 100644 --- a/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml +++ b/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.logic.workflows.yml b/.github/workflows/ms.logic.workflows.yml index 6ac381a45e..02fd994206 100644 --- a/.github/workflows/ms.logic.workflows.yml +++ b/.github/workflows/ms.logic.workflows.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.machinelearningservices.workspaces.yml b/.github/workflows/ms.machinelearningservices.workspaces.yml index 28d18b0561..4838bec1a6 100644 --- a/.github/workflows/ms.machinelearningservices.workspaces.yml +++ b/.github/workflows/ms.machinelearningservices.workspaces.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.managedidentity.userassignedidentities.yml b/.github/workflows/ms.managedidentity.userassignedidentities.yml index 4306e0772d..2a1aa4f55c 100644 --- a/.github/workflows/ms.managedidentity.userassignedidentities.yml +++ b/.github/workflows/ms.managedidentity.userassignedidentities.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.managedservices.registrationdefinitions.yml b/.github/workflows/ms.managedservices.registrationdefinitions.yml index fc59f63b15..a11e5526b3 100644 --- a/.github/workflows/ms.managedservices.registrationdefinitions.yml +++ b/.github/workflows/ms.managedservices.registrationdefinitions.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.management.managementgroups.yml b/.github/workflows/ms.management.managementgroups.yml index 63937c35ec..21524c6c73 100644 --- a/.github/workflows/ms.management.managementgroups.yml +++ b/.github/workflows/ms.management.managementgroups.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.netapp.netappaccounts.yml b/.github/workflows/ms.netapp.netappaccounts.yml index 298c4acdc8..3a8b40933f 100644 --- a/.github/workflows/ms.netapp.netappaccounts.yml +++ b/.github/workflows/ms.netapp.netappaccounts.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.applicationgateways.yml b/.github/workflows/ms.network.applicationgateways.yml index 0317ef528c..742e582e2f 100644 --- a/.github/workflows/ms.network.applicationgateways.yml +++ b/.github/workflows/ms.network.applicationgateways.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.applicationsecuritygroups.yml b/.github/workflows/ms.network.applicationsecuritygroups.yml index 2b8978703a..6e28b1d932 100644 --- a/.github/workflows/ms.network.applicationsecuritygroups.yml +++ b/.github/workflows/ms.network.applicationsecuritygroups.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.azurefirewalls.yml b/.github/workflows/ms.network.azurefirewalls.yml index 9c84e57b27..6ad02edb4c 100644 --- a/.github/workflows/ms.network.azurefirewalls.yml +++ b/.github/workflows/ms.network.azurefirewalls.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.bastionhosts.yml b/.github/workflows/ms.network.bastionhosts.yml index 54e8c6b729..69b911ea62 100644 --- a/.github/workflows/ms.network.bastionhosts.yml +++ b/.github/workflows/ms.network.bastionhosts.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.connections.yml b/.github/workflows/ms.network.connections.yml index 0fe644b183..9303d1671f 100644 --- a/.github/workflows/ms.network.connections.yml +++ b/.github/workflows/ms.network.connections.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.ddosprotectionplans.yml b/.github/workflows/ms.network.ddosprotectionplans.yml index c0f2abf626..df5ddfc2fe 100644 --- a/.github/workflows/ms.network.ddosprotectionplans.yml +++ b/.github/workflows/ms.network.ddosprotectionplans.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.expressroutecircuits.yml b/.github/workflows/ms.network.expressroutecircuits.yml index a5f81307a7..2c95f7eec8 100644 --- a/.github/workflows/ms.network.expressroutecircuits.yml +++ b/.github/workflows/ms.network.expressroutecircuits.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.firewallpolicies.yml b/.github/workflows/ms.network.firewallpolicies.yml index bbb779f72b..c32741da4d 100644 --- a/.github/workflows/ms.network.firewallpolicies.yml +++ b/.github/workflows/ms.network.firewallpolicies.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.frontdoors.yml b/.github/workflows/ms.network.frontdoors.yml index 7d3aee03b3..ee1695664f 100644 --- a/.github/workflows/ms.network.frontdoors.yml +++ b/.github/workflows/ms.network.frontdoors.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.ipgroups.yml b/.github/workflows/ms.network.ipgroups.yml index 8e82d4e2ba..24a608d767 100644 --- a/.github/workflows/ms.network.ipgroups.yml +++ b/.github/workflows/ms.network.ipgroups.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.loadbalancers.yml b/.github/workflows/ms.network.loadbalancers.yml index 05c3fdfa27..68db5903d9 100644 --- a/.github/workflows/ms.network.loadbalancers.yml +++ b/.github/workflows/ms.network.loadbalancers.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.localnetworkgateways.yml b/.github/workflows/ms.network.localnetworkgateways.yml index 2238c4d2be..34c9902191 100644 --- a/.github/workflows/ms.network.localnetworkgateways.yml +++ b/.github/workflows/ms.network.localnetworkgateways.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.natgateways.yml b/.github/workflows/ms.network.natgateways.yml index ae5f1dc4d4..91c5229ba2 100644 --- a/.github/workflows/ms.network.natgateways.yml +++ b/.github/workflows/ms.network.natgateways.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.networkinterfaces.yml b/.github/workflows/ms.network.networkinterfaces.yml index d7c384f00c..05fef53721 100644 --- a/.github/workflows/ms.network.networkinterfaces.yml +++ b/.github/workflows/ms.network.networkinterfaces.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.networksecuritygroups.yml b/.github/workflows/ms.network.networksecuritygroups.yml index 389b5ccf31..844cb05c8c 100644 --- a/.github/workflows/ms.network.networksecuritygroups.yml +++ b/.github/workflows/ms.network.networksecuritygroups.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.networkwatchers.yml b/.github/workflows/ms.network.networkwatchers.yml index 6499938d62..c4a71abb5c 100644 --- a/.github/workflows/ms.network.networkwatchers.yml +++ b/.github/workflows/ms.network.networkwatchers.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.privatednszones.yml b/.github/workflows/ms.network.privatednszones.yml index e7cec51a01..3a4501c47f 100644 --- a/.github/workflows/ms.network.privatednszones.yml +++ b/.github/workflows/ms.network.privatednszones.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.privateendpoints.yml b/.github/workflows/ms.network.privateendpoints.yml index 8d7ae5b2a8..13f9f10986 100644 --- a/.github/workflows/ms.network.privateendpoints.yml +++ b/.github/workflows/ms.network.privateendpoints.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.publicipaddresses.yml b/.github/workflows/ms.network.publicipaddresses.yml index b132a34dc5..041c0e6789 100644 --- a/.github/workflows/ms.network.publicipaddresses.yml +++ b/.github/workflows/ms.network.publicipaddresses.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.publicipprefixes.yml b/.github/workflows/ms.network.publicipprefixes.yml index f33d593df7..c89f954cfc 100644 --- a/.github/workflows/ms.network.publicipprefixes.yml +++ b/.github/workflows/ms.network.publicipprefixes.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.routetables.yml b/.github/workflows/ms.network.routetables.yml index b52120ffeb..eaa636a46b 100644 --- a/.github/workflows/ms.network.routetables.yml +++ b/.github/workflows/ms.network.routetables.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.trafficmanagerprofiles.yml b/.github/workflows/ms.network.trafficmanagerprofiles.yml index 232b7cecc3..d58567a400 100644 --- a/.github/workflows/ms.network.trafficmanagerprofiles.yml +++ b/.github/workflows/ms.network.trafficmanagerprofiles.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.virtualhubs.yml b/.github/workflows/ms.network.virtualhubs.yml index 3ad7931db1..83eda4bd22 100644 --- a/.github/workflows/ms.network.virtualhubs.yml +++ b/.github/workflows/ms.network.virtualhubs.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.virtualnetworkgateways.yml b/.github/workflows/ms.network.virtualnetworkgateways.yml index 09a0e735de..dc3a92c73a 100644 --- a/.github/workflows/ms.network.virtualnetworkgateways.yml +++ b/.github/workflows/ms.network.virtualnetworkgateways.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.virtualnetworks.yml b/.github/workflows/ms.network.virtualnetworks.yml index 328b19cc67..27f29007fd 100644 --- a/.github/workflows/ms.network.virtualnetworks.yml +++ b/.github/workflows/ms.network.virtualnetworks.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.virtualwans.yml b/.github/workflows/ms.network.virtualwans.yml index dcc0936a6a..339dc7ea4a 100644 --- a/.github/workflows/ms.network.virtualwans.yml +++ b/.github/workflows/ms.network.virtualwans.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.vpngateways.yml b/.github/workflows/ms.network.vpngateways.yml index 7afeddefa3..a3243f01a6 100644 --- a/.github/workflows/ms.network.vpngateways.yml +++ b/.github/workflows/ms.network.vpngateways.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.network.vpnsites.yml b/.github/workflows/ms.network.vpnsites.yml index 7da3f82a7a..c279d27cf0 100644 --- a/.github/workflows/ms.network.vpnsites.yml +++ b/.github/workflows/ms.network.vpnsites.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.operationalinsights.workspaces.yml b/.github/workflows/ms.operationalinsights.workspaces.yml index fcd7c82af2..345c991171 100644 --- a/.github/workflows/ms.operationalinsights.workspaces.yml +++ b/.github/workflows/ms.operationalinsights.workspaces.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.operationsmanagement.solutions.yml b/.github/workflows/ms.operationsmanagement.solutions.yml index fe613f8b8c..5d60d92e43 100644 --- a/.github/workflows/ms.operationsmanagement.solutions.yml +++ b/.github/workflows/ms.operationsmanagement.solutions.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.recoveryservices.vaults.yml b/.github/workflows/ms.recoveryservices.vaults.yml index 6558bcf646..64ed69a31a 100644 --- a/.github/workflows/ms.recoveryservices.vaults.yml +++ b/.github/workflows/ms.recoveryservices.vaults.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.resources.deploymentscripts.yml b/.github/workflows/ms.resources.deploymentscripts.yml index 096e35c577..5e5c169dda 100644 --- a/.github/workflows/ms.resources.deploymentscripts.yml +++ b/.github/workflows/ms.resources.deploymentscripts.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 088301edfd..854e498b36 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.resources.tags.yml b/.github/workflows/ms.resources.tags.yml index 5b3cfd1a3d..b97f79b0c0 100644 --- a/.github/workflows/ms.resources.tags.yml +++ b/.github/workflows/ms.resources.tags.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.security.azuresecuritycenter.yml b/.github/workflows/ms.security.azuresecuritycenter.yml index a8a66941b6..beb06a4feb 100644 --- a/.github/workflows/ms.security.azuresecuritycenter.yml +++ b/.github/workflows/ms.security.azuresecuritycenter.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.servicebus.namespaces.yml b/.github/workflows/ms.servicebus.namespaces.yml index a9d58a13c0..0e75b8d468 100644 --- a/.github/workflows/ms.servicebus.namespaces.yml +++ b/.github/workflows/ms.servicebus.namespaces.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.servicefabric.clusters.yml b/.github/workflows/ms.servicefabric.clusters.yml index d593c6bccd..17bb06d76b 100644 --- a/.github/workflows/ms.servicefabric.clusters.yml +++ b/.github/workflows/ms.servicefabric.clusters.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.signalrservice.webpubsub.yml b/.github/workflows/ms.signalrservice.webpubsub.yml index 050f20c344..c8d5745103 100644 --- a/.github/workflows/ms.signalrservice.webpubsub.yml +++ b/.github/workflows/ms.signalrservice.webpubsub.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.sql.managedinstances.yml b/.github/workflows/ms.sql.managedinstances.yml index 90c044d510..2705d21c8e 100644 --- a/.github/workflows/ms.sql.managedinstances.yml +++ b/.github/workflows/ms.sql.managedinstances.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.sql.servers.yml b/.github/workflows/ms.sql.servers.yml index 62a73eafe5..c27ccd2efd 100644 --- a/.github/workflows/ms.sql.servers.yml +++ b/.github/workflows/ms.sql.servers.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.storage.storageaccounts.yml b/.github/workflows/ms.storage.storageaccounts.yml index b99de66b34..70be4db92b 100644 --- a/.github/workflows/ms.storage.storageaccounts.yml +++ b/.github/workflows/ms.storage.storageaccounts.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.synapse.privatelinkhubs.yml b/.github/workflows/ms.synapse.privatelinkhubs.yml index f016c9daea..231cdb794c 100644 --- a/.github/workflows/ms.synapse.privatelinkhubs.yml +++ b/.github/workflows/ms.synapse.privatelinkhubs.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.virtualmachineimages.imagetemplates.yml b/.github/workflows/ms.virtualmachineimages.imagetemplates.yml index 5c2eb4a2bd..936414358d 100644 --- a/.github/workflows/ms.virtualmachineimages.imagetemplates.yml +++ b/.github/workflows/ms.virtualmachineimages.imagetemplates.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.web.connections.yml b/.github/workflows/ms.web.connections.yml index 8a699933be..b6d5311922 100644 --- a/.github/workflows/ms.web.connections.yml +++ b/.github/workflows/ms.web.connections.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.web.hostingenvironments.yml b/.github/workflows/ms.web.hostingenvironments.yml index 257824fc29..0a2d71aedb 100644 --- a/.github/workflows/ms.web.hostingenvironments.yml +++ b/.github/workflows/ms.web.hostingenvironments.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.web.serverfarms.yml b/.github/workflows/ms.web.serverfarms.yml index 1b5363948a..9a0dd324a6 100644 --- a/.github/workflows/ms.web.serverfarms.yml +++ b/.github/workflows/ms.web.serverfarms.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.web.sites.yml b/.github/workflows/ms.web.sites.yml index c664d89611..41d484c31f 100644 --- a/.github/workflows/ms.web.sites.yml +++ b/.github/workflows/ms.web.sites.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' diff --git a/.github/workflows/ms.web.staticsites.yml b/.github/workflows/ms.web.staticsites.yml index 8dbaae5f4d..12d3e638c4 100644 --- a/.github/workflows/ms.web.staticsites.yml +++ b/.github/workflows/ms.web.staticsites.yml @@ -52,13 +52,13 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' - id: get-parameter-file-paths + id: get-module-test-file-paths uses: ./.github/actions/templates/getParameterFiles with: modulePath: '${{ env.modulePath }}' outputs: removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} - parameterFilePaths: ${{ steps.get-parameter-file-paths.outputs.parameterFilePaths }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - parameterFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.parameterFilePaths) }} + moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v2 @@ -103,11 +103,11 @@ jobs: uses: ./.github/actions/templates/setEnvironmentVariables with: variablesPath: ${{ env.variablesPath }} - - name: 'Using parameter file [${{ matrix.parameterFilePaths }}]' + - name: 'Using parameter file [${{ matrix.moduleTestFilePaths }}]' uses: ./.github/actions/templates/validateModuleDeployment with: templateFilePath: '${{ env.modulePath }}/deploy.bicep' - parameterFilePath: '${{ env.modulePath }}/${{ matrix.parameterFilePaths }}' + parameterFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}' location: '${{ env.location }}' resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' From 1367caf598012033f779951811e7575919e6fde8 Mon Sep 17 00:00:00 2001 From: MrMCake Date: Mon, 18 Jul 2022 17:35:36 +0200 Subject: [PATCH 3/9] Additional error handling --- .../resourceDeployment/New-TemplateDeployment.ps1 | 12 ++++++++++++ .../resourceDeployment/Test-TemplateDeployment.ps1 | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/utilities/pipelines/resourceDeployment/New-TemplateDeployment.ps1 b/utilities/pipelines/resourceDeployment/New-TemplateDeployment.ps1 index ea77202a1c..c882866976 100644 --- a/utilities/pipelines/resourceDeployment/New-TemplateDeployment.ps1 +++ b/utilities/pipelines/resourceDeployment/New-TemplateDeployment.ps1 @@ -252,6 +252,18 @@ function New-DeploymentWithParameterFile { $Stoploop = $true } } + if ($res.ProvisioningState -eq 'Failed') { + # Deployment failed but no exception was thrown. Hence we must do it for the command. + + $errorInputObject = @{ + DeploymentScope = $deploymentScope + DeploymentName = $deploymentName + ResourceGroupName = $resourceGroupName + } + $exceptionMessage = Get-ErrorMessageForScope @errorInputObject + + throw "Deployed failed with provisioning state [Failed]. Error Message: [$exceptionMessage]. Please review the Azure logs of deployment [$deploymentName] in scope [$deploymentScope] for further details." + } $Stoploop = $true } catch { if ($retryCount -ge $retryLimit) { diff --git a/utilities/pipelines/resourceDeployment/Test-TemplateDeployment.ps1 b/utilities/pipelines/resourceDeployment/Test-TemplateDeployment.ps1 index 0601075f47..168d8ccb2d 100644 --- a/utilities/pipelines/resourceDeployment/Test-TemplateDeployment.ps1 +++ b/utilities/pipelines/resourceDeployment/Test-TemplateDeployment.ps1 @@ -121,7 +121,7 @@ function Test-TemplateDeployment { } if (-not (Get-AzResourceGroup -Name $resourceGroupName -ErrorAction 'SilentlyContinue')) { if ($PSCmdlet.ShouldProcess("Resource group [$resourceGroupName] in location [$location]", 'Create')) { - New-AzResourceGroup -Name $resourceGroupName -Location $location + $null = New-AzResourceGroup -Name $resourceGroupName -Location $location } } if ($PSCmdlet.ShouldProcess('Resource group level deployment', 'Test')) { From fb85de91ec94de95820c624cab7e2c98856913e9 Mon Sep 17 00:00:00 2001 From: MrMCake Date: Mon, 18 Jul 2022 17:36:05 +0200 Subject: [PATCH 4/9] Removal update --- .../pipelines/resourceRemoval/Initialize-DeploymentRemoval.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/utilities/pipelines/resourceRemoval/Initialize-DeploymentRemoval.ps1 b/utilities/pipelines/resourceRemoval/Initialize-DeploymentRemoval.ps1 index af78109452..89c178e42f 100644 --- a/utilities/pipelines/resourceRemoval/Initialize-DeploymentRemoval.ps1 +++ b/utilities/pipelines/resourceRemoval/Initialize-DeploymentRemoval.ps1 @@ -66,6 +66,7 @@ function Initialize-DeploymentRemoval { 'Microsoft.Network/privateEndpoints', 'Microsoft.OperationsManagement/solutions', 'Microsoft.OperationalInsights/workspaces/linkedServices', + 'Microsoft.OperationalInsights/workspaces', 'Microsoft.Resources/resourceGroups', 'Microsoft.Compute/virtualMachines' ) From ff55ac04c6588a19c53125e6eedaaf0fdab82751 Mon Sep 17 00:00:00 2001 From: MrMCake Date: Mon, 18 Jul 2022 17:36:48 +0200 Subject: [PATCH 5/9] Updated file fetch --- .../sharedScripts/Get-ModuleTestFileList.ps1 | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/utilities/pipelines/sharedScripts/Get-ModuleTestFileList.ps1 b/utilities/pipelines/sharedScripts/Get-ModuleTestFileList.ps1 index c219156f83..af1ddc40e2 100644 --- a/utilities/pipelines/sharedScripts/Get-ModuleTestFileList.ps1 +++ b/utilities/pipelines/sharedScripts/Get-ModuleTestFileList.ps1 @@ -9,22 +9,33 @@ The relative path is returned instead of the full one to make paths easier to re .PARAMETER ModulePath Mandatory. The module path to search in. +.PARAMETER SearchFolder +Optional. The folder to search for files in + .EXAMPLE Get-ModuleTestFileList -ModulePath 'C:\ResourceModules\arm\Microsoft.Compute\virtualMachines' -Returns the relative file paths of all parameter files of the virtual machines module. +Returns the relative file paths of all parameter files of the virtual machines module in folder '.test'. + +.EXAMPLE +Get-ModuleTestFileList -ModulePath 'C:\ResourceModules\arm\Microsoft.Compute\virtualMachines' -SearchFolder 'parameters' + +Returns the relative file paths of all parameter files of the virtual machines module in folder 'parameters'. #> function Get-ModuleTestFileList { [CmdletBinding()] param ( [Parameter(Mandatory)] - [string] $ModulePath + [string] $ModulePath, + + [Parameter(Mandatory = $false)] + [string] $SearchFolder = '.test' ) $deploymentTests = @() - if (Test-Path (Join-Path $ModulePath '.test')) { - $deploymentTests += (Get-ChildItem -Path (Join-Path $ModulePath '.test') -Depth 0 -Include ('*.json', '*.bicep') -File).FullName + if (Test-Path (Join-Path $ModulePath $SearchFolder)) { + $deploymentTests += (Get-ChildItem -Path (Join-Path $ModulePath $SearchFolder) -Depth 0 -Include ('*.json', '*.bicep') -File).FullName } if (-not $deploymentTests) { From 7f05f560c1cb685e3436fa9d95c34d7442f82658 Mon Sep 17 00:00:00 2001 From: MrMCake Date: Mon, 18 Jul 2022 19:23:51 +0200 Subject: [PATCH 6/9] Refactored DevOps deployment template --- .../jobs.getModuleTestFiles.yml | 2 +- .../jobs.validateModuleDeployment.yml | 629 +++++++++--------- 2 files changed, 308 insertions(+), 323 deletions(-) diff --git a/.azuredevops/pipelineTemplates/jobs.getModuleTestFiles.yml b/.azuredevops/pipelineTemplates/jobs.getModuleTestFiles.yml index 15e227b1fe..dc69e6549d 100644 --- a/.azuredevops/pipelineTemplates/jobs.getModuleTestFiles.yml +++ b/.azuredevops/pipelineTemplates/jobs.getModuleTestFiles.yml @@ -42,7 +42,7 @@ jobs: foreach($deploymentTestPath in $deploymentTestPaths) { $deploymentTestFileName = Split-Path $deploymentTestPath -Leaf $testTable[$deploymentTestFileName] = @{ - parameterFilePath = $deploymentTestPath + moduleTestFilePath = $deploymentTestPath } } diff --git a/.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml b/.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml index 207b45e811..aeb50722c5 100644 --- a/.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml +++ b/.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml @@ -21,26 +21,25 @@ ## ## NOTE: If you don't need to overwrite a shared value, you can IGNORE this section ## -## |=================================================================================================================================================================================================================================| -## | Parameter | Default Value | Description | Example | -## |---------------------------------|--------------------------------------|-----------------------------------------------------------------------------------------------------------|--------------------------------------------| -## | serviceConnection | '$(serviceConnection)' | The service connection that connects to Azure | 'demo-internal' | -## | removeDeployment | '$(removeDeployment)' | Set to [true] to flag resource for removal. If not provided, defaults to false. | 'true' | -## | poolName | '$(poolName)' | You can provide either a [poolname] or [vmImage] to run the job on | 'Custom Deployment Pool' | -## | vmImage | '$(vmImage)' | You can provide either a [poolname] or [vmImage] to run the job on | 'ubuntu20.04' | -## | defaultJobTimeoutInMinutes | 120 | The timeout for the job in this pipeline | 120 | -## | checkoutRepositories | '' | An optional list of repositories to check out at the beginning of this job in addition to the source | 'Components' | -## | modulePath | '$(modulePath)' | The path to the module to deploy. E.g. [c:/KeyVault] | 'c:/KeyVault' | -## | deploymentBlocks | | The parameter file(s) to deploy with. Must be provided | path: 'C:/parameters.json' | -## | location | '$(location)' | The location to deploy with | 'EastUs2' | -## | resourceGroupName | '$(resourceGroupName)' | The resourcegroup to deploy into. Required only for Resource-Group-Level deployments | 'validation-rg' | -## | subscriptionId | '$(ARM_SUBSCRIPTION_ID)' | The id of the subscription to deploy into when using a Management group service connection | 'aed7c000-6387-412e-bed0-24dfddf4bbc6' | -## | managementGroupId | '$(ARM_MGMTGROUP_ID)' | The id of the management group to deploy into. Required only for Management-Group-Level deployments | '6ycc9620-cb01-454f-9ebc-fc6b1df48d64' | -## | parametersRepository | '$(Build.Repository.Name)' | The respository with the parameter files. Defaults to the triggering repository | 'Solutions' | -## | modulesRepository | '$(modulesRepository)' | The respository with the modules. | 'Components' | -## | azurePowerShellVersion | '$(azurePowerShellVersion)' | Used for configuring the Azure PowerShellModules Version, one of the example values. | 'latestVersion' or 'OtherVersion' | -## | preferredAzurePowerShellVersion | '$(preferredAzurePowerShellVersion)' | Used for configuring the Azure PowerShellModules Version, either an empty string or the specific version. | '4.4.0' | -## |=================================================================================================================================================================================================================================| +## |============================================================================================================================================================================================================================================| +## | Parameter | Default Value | Description | Example | +## |---------------------------------|--------------------------------------|-----------------------------------------------------------------------------------------------------------|-------------------------------------------------------| +## | serviceConnection | '$(serviceConnection)' | The service connection that connects to Azure. | 'demo-internal' | +## | poolName | '$(poolName)' | You can provide either a [poolname] or [vmImage] to run the job on. | 'Custom Deployment Pool' | +## | vmImage | '$(vmImage)' | You can provide either a [poolname] or [vmImage] to run the job on. | 'ubuntu20.04' | +## | defaultJobTimeoutInMinutes | 120 | The timeout for the job in this pipeline. | 120 | +## | removeDeployment | 'true' | Set to [true] to flag resources for removal. If not provided, defaults to true. | 'true' | +## | templateFilePath | '' | Path to the template file to deploy. | 'arm/Microsoft.AnalysisServices/servers/deploy.bicep' | +## | customParameterFileTokens | '' | | | +## | jobDisplayName | '' | The display name of the job. | 'Deploy module' | +## | modulePath | '$(modulePath)' | The path to the module to deploy. | 'c:/KeyVault' | +## | location | '$(location)' | The location to deploy resources to. | 'EastUs2' | +## | resourceGroupName | '$(resourceGroupName)' | The resourcegroup to deploy into. Required only for Resource-Group-Level deployments. | 'validation-rg' | +## | subscriptionId | '$(ARM_SUBSCRIPTION_ID)' | The id of the subscription to deploy into when using a Management group service connection. | 'aed7c000-6387-412e-bed0-24dfddf4bbc6' | +## | managementGroupId | '$(ARM_MGMTGROUP_ID)' | The id of the management group to deploy into. Required only for Management-Group-Level deployments. | '6ycc9620-cb01-454f-9ebc-fc6b1df48d64' | +## | azurePowerShellVersion | '$(azurePowerShellVersion)' | Used for configuring the Azure PowerShellModules Version, one of the example values. | 'latestVersion' or 'OtherVersion' | +## | preferredAzurePowerShellVersion | '$(preferredAzurePowerShellVersion)' | Used for configuring the Azure PowerShellModules Version, either an empty string or the specific version. | '4.4.0' | +## |============================================================================================================================================================================================================================================| ## ##---------------------------------------------## @@ -50,18 +49,15 @@ parameters: poolName: '$(poolName)' vmImage: '$(vmImage)' defaultJobTimeoutInMinutes: 120 - checkoutRepositories: '' - dependsOn: [] # Logic-related parameters removeDeployment: false + templateFilePath: '' + customParameterFileTokens: '' modulePath: '$(modulePath)' - deploymentBlocks: '' location: '$(location)' resourceGroupName: '$(resourceGroupName)' subscriptionId: '$(ARM_SUBSCRIPTION_ID)' managementGroupId: '$(ARM_MGMTGROUP_ID)' - parametersRepository: '$(Build.Repository.Name)' - modulesRepository: '$(modulesRepository)' # Azure PowerShell Version parameters azurePowerShellVersion: '$(azurePowerShellVersion)' preferredAzurePowerShellVersion: '$(preferredAzurePowerShellVersion)' @@ -69,303 +65,292 @@ parameters: ##---------------------------------------------## ## TEMPLATE LOGIC ## ##---------------------------------------------## - jobs: - - ${{ each deploymentBlock in parameters.deploymentBlocks }}: - - job: ${{ deploymentBlock.jobName }} - - ${{ if ne( deploymentBlock.displayName, '') }}: - displayName: ${{ deploymentBlock.displayName }} - ${{ if eq( deploymentBlock.displayName, '') }}: - displayName: Deploy with [${{ replace( deploymentBlock.path, '$(modulePath)', '') }}] - timeoutInMinutes: ${{ parameters.defaultJobTimeoutInMinutes }} - ${{ if ne( parameters.dependsOn, '') }}: - dependsOn: ${{ parameters.dependsOn }} - pool: - ${{ if ne(parameters.vmImage, '') }}: - vmImage: ${{ parameters.vmImage }} - ${{ if ne(parameters.poolName, '') }}: - name: ${{ parameters.poolName }} - - steps: - # [Checkout Repositories] task(s) - #-------------------------------- - - checkout: self - - ${{ if ne(parameters.checkoutRepositories, '') }}: - - ? ${{ each checkoutRepository in parameters.checkoutRepositories }} - : - checkout: ${{ checkoutRepository }} - fetchDepth: 1 # the depth of commits to ask Git to fetch; if not set defaults to no limit - path: 's/${{ checkoutRepository }}' - - # [Agent] Prepare environment - #---------------------------- - - task: PowerShell@2 - displayName: 'Setup agent' - inputs: - targetType: inline - pwsh: true - script: | - # Load used functions - . (Join-Path '$(System.DefaultWorkingDirectory)' 'utilities' 'pipelines' 'sharedScripts' 'Set-EnvironmentOnAgent.ps1') - - # Define PS modules to install on the runner - $Modules = @( - @{ Name = 'Az.Accounts' }, - @{ Name = 'Az.Resources' } - ) - - # Additional PS modules need to be installed for the removal step in case it is enabled - if ('${{ parameters.removeDeployment}}' -eq 'true') { - $Modules += @( - @{ Name = 'Az.CognitiveServices' }, - @{ Name = 'Az.Compute' }, - @{ Name = 'Az.KeyVault' }, - @{ Name = 'Az.Monitor' }, - @{ Name = 'Az.OperationalInsights' }, - @{ Name = 'Az.RecoveryServices' } - ) - } - - # Set agent up - Set-EnvironmentOnAgent -PSModules $Modules - - # [Multi Repo] Support task - #-------------------------- - - task: PowerShell@2 - displayName: Handle Multi-Repo Invocation - inputs: - targetType: inline - pwsh: true - script: | - # Handle multiple-repositories - if( "${{ join(';',parameters.checkoutRepositories) }}".length -gt 0) { - Write-Verbose "Multi-Repo Checkout" -Verbose - $moduleRepoRoot = Join-Path '$(System.DefaultWorkingDirectory)' '$(modulesRepository)' - $parametersRepoRoot = Join-Path '$(System.DefaultWorkingDirectory)' '${{ parameters.parametersRepository }}' - } else { - Write-Verbose "No Multi-Repo Checkout" -Verbose - $moduleRepoRoot = '$(System.DefaultWorkingDirectory)' - $parametersRepoRoot = '$(System.DefaultWorkingDirectory)' - } - Write-Output "##vso[task.setvariable variable=ModuleRepoRoot]$moduleRepoRoot" - Write-Output "##vso[task.setvariable variable=parametersRepoRoot]$parametersRepoRoot" - - # [Agent] Replace tokens - #----------------------- - - task: AzurePowerShell@5 - displayName: 'Replace Tokens [${{ deploymentBlock.path }}] via connection [${{ parameters.serviceConnection }}]' - inputs: - azureSubscription: ${{ parameters.serviceConnection }} - azurePowerShellVersion: ${{ parameters.azurePowerShellVersion }} - preferredAzurePowerShellVersion: ${{ parameters.preferredAzurePowerShellVersion }} - ScriptType: InlineScript - pwsh: true - inline: | - # Load used functions - . (Join-Path '$(moduleRepoRoot)' 'utilities' 'pipelines' 'tokensReplacement' 'Convert-TokensInFile.ps1') - - # Load Settings File - $Settings = Get-Content -Path (Join-Path '$(moduleRepoRoot)' 'settings.json') | ConvertFrom-Json -AsHashTable - - # Construct Token Function Input - $ConvertTokensInputs = @{ - Tokens = @{} - FilePath = Join-Path '$(parametersRepoRoot)' '${{ deploymentBlock.path }}' - TokenPrefix = $Settings.parameterFileTokens.tokenPrefix - TokenSuffix = $Settings.parameterFileTokens.tokenSuffix - } - - # Add defaults - $ConvertTokensInputs.Tokens += @{ - resourceGroupName = '${{ parameters.resourceGroupName }}' - subscriptionId = '${{ parameters.subscriptionId }}' - managementGroupId = '${{ parameters.managementGroupId }}' - tenantId = '$(ARM_TENANT_ID)' - deploymentSpId = '$(DEPLOYMENT_SP_ID)' - } - - # Add local tokens - if ($Settings.parameterFileTokens.localTokens) { - $tokenMap = @{} - foreach ($token in $Settings.parameterFileTokens.localTokens) { - $tokenMap += @{ $token.name = $token.value } - } - Write-Verbose ('Using local tokens [{0}]' -f ($tokenMap.Keys -join ', ')) -Verbose - $ConvertTokensInputs.Tokens += $tokenMap - } - - # Add custom tokens (passed in via the pipeline) - if(-not [String]::IsNullOrEmpty('${{ deploymentBlock.customParameterFileTokens }}')) { - $customTokens = '${{ deploymentBlock.customParameterFileTokens }}' | ConvertFrom-Json -AsHashTable - Write-Verbose ('Using custom parameter file tokens [{0}]' -f ($customTokens.Keys -join ', ')) -Verbose - $ConvertTokensInputs.Tokens += $customTokens - } - - # Invoke Token Replacement Functionality - $null = Convert-TokensInFile @ConvertTokensInputs - - # [Validation] task(s) - #--------------------- - - task: AzurePowerShell@5 - displayName: 'Validate [${{ deploymentBlock.path }}] via connection [${{ parameters.serviceConnection }}]' - inputs: - azureSubscription: ${{ parameters.serviceConnection }} - azurePowerShellVersion: ${{ parameters.azurePowerShellVersion }} - preferredAzurePowerShellVersion: ${{ parameters.preferredAzurePowerShellVersion }} - ScriptType: InlineScript - pwsh: true - inline: | - # Load used functions - . (Join-Path '$(moduleRepoRoot)' '$(pipelineFunctionsPath)' 'resourceDeployment' 'Test-TemplateDeployment.ps1') - - if(-not [String]::IsNullOrEmpty('${{ deploymentBlock.templateFilePath }}')) { - $templateFilePath = Join-Path '$(moduleRepoRoot)' '${{ deploymentBlock.templateFilePath }}' - } else { - # Use default path - $templateFilePath = (Test-Path (Join-Path '$(ModuleRepoRoot)' '$(modulePath)' 'deploy.bicep')) ? - (Join-Path '$(ModuleRepoRoot)' '$(modulePath)' 'deploy.bicep') : - (Join-Path '$(ModuleRepoRoot)' '$(modulePath)' 'deploy.json') - } - - # ----------- # - # INVOKE TEST # - # ----------- # - $functionInput = @{ - templateFilePath = $templateFilePath - location = '${{ parameters.location }}' - resourceGroupName = '${{ parameters.resourceGroupName }}' - subscriptionId = '${{ parameters.subscriptionId }}' - managementGroupId = '${{ parameters.managementGroupId }}' - additionalParameters = @{} - } - - if(-not [String]::IsNullOrEmpty('${{ deploymentBlock.path }}')) { - $functionInput['parameterFilePath'] = Join-Path '$(ParametersRepoRoot)' '${{ deploymentBlock.path }}' - } - - $projectSettings = Get-Content -Path 'settings.json' | ConvertFrom-Json - if (-not [String]::IsNullOrEmpty($projectSettings.enableDefaultTelemetry) -and (Get-Content -Path $functionInput.templateFilePath -Raw) -like '*param enableDefaultTelemetry*') { - $functionInput['additionalParameters'] += @{ - enableDefaultTelemetry = $projectSettings.enableDefaultTelemetry - } - } - - Write-Verbose "Invoke task with" -Verbose - Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose - - Test-TemplateDeployment @functionInput -Verbose - - # [Deployment] task(s) - #--------------------- - - task: AzurePowerShell@5 - displayName: 'Deploy [${{ deploymentBlock.path }}] via connection [${{ parameters.serviceConnection }}]' - name: 'DeployModule' - inputs: - azureSubscription: ${{ parameters.serviceConnection }} - azurePowerShellVersion: ${{ parameters.azurePowerShellVersion }} - preferredAzurePowerShellVersion: ${{ parameters.preferredAzurePowerShellVersion }} - pwsh: true - ScriptType: InlineScript - inline: | - # Load used functions - . (Join-Path '$(moduleRepoRoot)' '$(pipelineFunctionsPath)' 'resourceDeployment' 'New-TemplateDeployment.ps1') - - if(-not [String]::IsNullOrEmpty('${{ deploymentBlock.templateFilePath }}')) { - $templateFilePath = Join-Path '$(moduleRepoRoot)' '${{ deploymentBlock.templateFilePath }}' - } else { - # Use default path - $templateFilePath = (Test-Path (Join-Path '$(ModuleRepoRoot)' '$(modulePath)' 'deploy.bicep')) ? - (Join-Path '$(ModuleRepoRoot)' '$(modulePath)' 'deploy.bicep') : - (Join-Path '$(ModuleRepoRoot)' '$(modulePath)' 'deploy.json') + - template: /.azuredevops/pipelineTemplates/jobs.getModuleTestFiles.yml + - job: deploy + displayName: 'Deploying ' # Auto-populated + timeoutInMinutes: ${{ parameters.defaultJobTimeoutInMinutes }} + pool: + ${{ if ne(parameters.vmImage, '') }}: + vmImage: ${{ parameters.vmImage }} + ${{ if ne(parameters.poolName, '') }}: + name: ${{ parameters.poolName }} + dependsOn: + - getModuleTestFiles + strategy: + matrix: $[ dependencies.getModuleTestFiles.outputs['getModuleTestFilesTask.parameterTests'] ] + ##---------------------------------------------## + ## TEMPLATE LOGIC ## + ##---------------------------------------------## + steps: + # [Agent] Prepare environment + #---------------------------- + - task: PowerShell@2 + displayName: 'Setup agent for deployment' + inputs: + targetType: inline + pwsh: true + script: | + # Load used functions + . (Join-Path '$(System.DefaultWorkingDirectory)' 'utilities' 'pipelines' 'sharedScripts' 'Set-EnvironmentOnAgent.ps1') + + # Define PS modules to install on the runner + $Modules = @( + @{ Name = 'Az.Accounts' }, + @{ Name = 'Az.Resources' } + ) + + # Additional PS modules need to be installed for the removal step in case it is enabled + if ('${{ parameters.removeDeployment}}' -eq 'true') { + $Modules += @( + @{ Name = 'Az.CognitiveServices' }, + @{ Name = 'Az.Compute' }, + @{ Name = 'Az.KeyVault' }, + @{ Name = 'Az.Monitor' }, + @{ Name = 'Az.OperationalInsights' }, + @{ Name = 'Az.RecoveryServices' } + ) + } + + # Set agent up + Set-EnvironmentOnAgent -PSModules $Modules + + # [Agent] Replace tokens + #----------------------- + - task: AzurePowerShell@5 + displayName: 'Replace Tokens [$(moduleTestFilePath)] via connection [${{ parameters.serviceConnection }}]' + inputs: + azureSubscription: ${{ parameters.serviceConnection }} + azurePowerShellVersion: 'latestVersion' + preferredAzurePowerShellVersion: '' + ScriptType: InlineScript + pwsh: true + inline: | + # Load used functions + . (Join-Path '$(System.DefaultWorkingDirectory)' 'utilities' 'pipelines' 'tokensReplacement' 'Convert-TokensInFile.ps1') + + # Load Settings File + $Settings = Get-Content -Path (Join-Path '$(System.DefaultWorkingDirectory)' 'settings.json') | ConvertFrom-Json -AsHashTable + + if((Split-Path '$(moduleTestFilePath)' -Extension) -ne '.json') { + Write-Verbose 'Skipping token replacement as the deployment test file is no JSON-Parameter file' -Verbose + return + } + + $moduleTestFilePath = Join-Path '$(System.DefaultWorkingDirectory)' '$(modulePath)' '$(moduleTestFilePath)' + + # Construct Token Function Input + $ConvertTokensInputs = @{ + Tokens = @{} + FilePath = $moduleTestFilePath + TokenPrefix = $Settings.parameterFileTokens.tokenPrefix + TokenSuffix = $Settings.parameterFileTokens.tokenSuffix + } + + # Add defaults + $ConvertTokensInputs.Tokens += @{ + resourceGroupName = '${{ parameters.resourceGroupName }}' + subscriptionId = '${{ parameters.subscriptionId }}' + managementGroupId = '${{ parameters.managementGroupId }}' + tenantId = '$(ARM_TENANT_ID)' + deploymentSpId = '$(DEPLOYMENT_SP_ID)' + } + + # Add local tokens + if ($Settings.parameterFileTokens.localTokens) { + $tokenMap = @{} + foreach ($token in $Settings.parameterFileTokens.localTokens) { + $tokenMap += @{ $token.name = $token.value } + } + Write-Verbose ('Using local tokens [{0}]' -f ($tokenMap.Keys -join ', ')) -Verbose + $ConvertTokensInputs.Tokens += $tokenMap + } + + # Add custom tokens (passed in via the pipeline) + if(-not [String]::IsNullOrEmpty('${{ parameters.customParameterFileTokens }}')) { + $customTokens = '${{ parameters.customParameterFileTokens }}' | ConvertFrom-Json -AsHashTable + Write-Verbose ('Using custom parameter file tokens [{0}]' -f ($customTokens.Keys -join ', ')) -Verbose + $ConvertTokensInputs.Tokens += $customTokens + } + + # Invoke Token Replacement Functionality + $null = Convert-TokensInFile @ConvertTokensInputs + + # [Validation] task(s) + #--------------------- + - task: AzurePowerShell@5 + displayName: 'Validate template file via connection [${{ parameters.serviceConnection }}]' + inputs: + azureSubscription: ${{ parameters.serviceConnection }} + azurePowerShellVersion: 'latestVersion' + preferredAzurePowerShellVersion: '' + ScriptType: InlineScript + pwsh: true + inline: | + # Load used functions + . (Join-Path '$(System.DefaultWorkingDirectory)' '$(pipelineFunctionsPath)' 'resourceDeployment' 'Test-TemplateDeployment.ps1') + + # Prepare general parameters + # -------------------------- + $projectSettings = Get-Content -Path 'settings.json' | ConvertFrom-Json + + # Fetching parameters + $location = '${{ parameters.location }}' + $resourceGroupName = '${{ parameters.resourceGroupName }}' + $subscriptionId = '${{ parameters.subscriptionId }}' + $managementGroupId = '${{ parameters.managementGroupId }}' + + $moduleTemplateFilePath = Join-Path '$(System.DefaultWorkingDirectory)' '${{ parameters.templateFilePath }}' + $moduleTestFilePath = Join-Path '$(System.DefaultWorkingDirectory)' '$(modulePath)' '$(moduleTestFilePath)' + + if ((Split-Path $moduleTemplateFilePath -Extension) -eq '.bicep') { + $moduleTemplateContent = az bicep build --file $moduleTemplateFilePath --stdout --no-restore | ConvertFrom-Json -AsHashtable + $moduleTemplatePossibleParameters = $moduleTemplateContent.parameters.Keys + } else { + $moduleTemplatePossibleParameters = ((Get-Content $moduleTemplateFilePath -Raw) | ConvertFrom-Json -AsHashtable).parameters.keys + } + + # ----------- # + # INVOKE TEST # + # ----------- # + + # Building input object + $functionInput = @{ + templateFilePath = $moduleTemplateFilePath + parameterFilePath = $moduleTestFilePath + location = $location + resourceGroupName = $resourceGroupName + subscriptionId = $subscriptionId + managementGroupId = $managementGroupId + additionalParameters = @{} + } + + # Handle additional parameters + # ---------------------------- + if (-not [String]::IsNullOrEmpty($projectSettings.enableDefaultTelemetry) -and ($moduleTemplatePossibleParameters.Keys -contains 'enableDefaultTelemetry')) { + $functionInput['additionalParameters'] += @{ + enableDefaultTelemetry = $projectSettings.enableDefaultTelemetry } - - # ----------------- # - # INVOKE DEPLOYMENT # - # ----------------- # - $functionInput = @{ - templateFilePath = $templateFilePath - location = '${{ parameters.location }}' - resourceGroupName = '${{ parameters.resourceGroupName }}' - subscriptionId = '${{ parameters.subscriptionId }}' - managementGroupId = '${{ parameters.managementGroupId }}' - doNotThrow = $true - additionalParameters = @{} - } - - if(-not [String]::IsNullOrEmpty('${{ deploymentBlock.path }}')) { - $functionInput['parameterFilePath'] = Join-Path '$(ParametersRepoRoot)' '${{ deploymentBlock.path }}' - } - - $projectSettings = Get-Content -Path 'settings.json' | ConvertFrom-Json - if (-not [String]::IsNullOrEmpty($projectSettings.enableDefaultTelemetry) -and (Get-Content -Path $functionInput.templateFilePath -Raw) -like '*param enableDefaultTelemetry*') { - $functionInput['additionalParameters'] += @{ - enableDefaultTelemetry = $projectSettings.enableDefaultTelemetry - } - } - - Write-Verbose "Invoke task with" -Verbose - Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose - - # Invoke deployment - $res = New-TemplateDeployment @functionInput -Verbose - - # Get deployment name - Write-Host ('##vso[task.setvariable variable=deploymentName]{0}' -f $res.deploymentName) - - # Populate further outputs - $deploymentOutputHash=@{} - - foreach ($outputKey in $res.deploymentOutput.Keys) { - Write-Output ('##vso[task.setvariable variable={0}]{1}' -f $outputKey, $res.deploymentOutput[$outputKey].Value) - $deploymentOutputHash.add($outputKey,$res.deploymentOutput[$outputKey].Value) - } - - $deploymentOutput = $deploymentOutputHash | ConvertTo-Json -Compress -Depth 100 - Write-Verbose "Deployment output: $deploymentOutput" -Verbose - Write-Output ('##vso[task.setvariable variable={0};isOutput=true]{1}' -f 'deploymentOutput', $deploymentOutput) - - if ($res.ContainsKey('exception')) { - # Happens only if there is an exception - throw $res.exception - } - - # [Removal] task(s) - #------------------ - - task: AzurePowerShell@5 - displayName: 'Remove deployed resources via [${{ parameters.serviceConnection }}]' - condition: and(succeededOrFailed(), eq( '${{ parameters.removeDeployment }}', 'true'), not(eq(variables['deploymentName'],''))) - inputs: - azureSubscription: ${{ parameters.serviceConnection }} - azurePowerShellVersion: ${{ parameters.azurePowerShellVersion }} - preferredAzurePowerShellVersion: ${{ parameters.preferredAzurePowerShellVersion }} - ScriptType: InlineScript - failOnStandardError: false - pwsh: true - inline: | - # Load used function - . (Join-Path '$(moduleRepoRoot)' '$(pipelineFunctionsPath)' 'resourceRemoval' 'Initialize-DeploymentRemoval.ps1') - - if(-not [String]::IsNullOrEmpty('${{ deploymentBlock.templateFilePath }}')) { - $templateFilePath = Join-Path '$(moduleRepoRoot)' '${{ deploymentBlock.templateFilePath }}' - } else { - # Use default path - $templateFilePath = (Test-Path (Join-Path '$(ModuleRepoRoot)' '$(modulePath)' 'deploy.bicep')) ? - (Join-Path '$(ModuleRepoRoot)' '$(modulePath)' 'deploy.bicep') : - (Join-Path '$(ModuleRepoRoot)' '$(modulePath)' 'deploy.json') - } - - if (-not [String]::IsNullOrEmpty('$(deploymentName)')) { - $functionInput = @{ - DeploymentName = '$(deploymentName)' - TemplateFilePath = $templateFilePath - ResourceGroupName = '${{ parameters.resourceGroupName }}' - subscriptionId = '${{ parameters.subscriptionId }}' - ManagementGroupId = '${{ parameters.managementGroupId }}' - Verbose = $true - } - - Write-Verbose 'Invoke task with' -Verbose - Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose - - Initialize-DeploymentRemoval @functionInput + } + + Write-Verbose "Invoke task with" -Verbose + Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose + + Test-TemplateDeployment @functionInput -Verbose + + # [Deployment] task(s) + #--------------------- + - task: AzurePowerShell@5 + name: deployModule + displayName: 'Deploy template file via connection [${{ parameters.serviceConnection }}]' + inputs: + azureSubscription: ${{ parameters.serviceConnection }} + azurePowerShellVersion: 'latestVersion' + preferredAzurePowerShellVersion: '' + pwsh: true + ScriptType: InlineScript + inline: | + # Load used functions + . (Join-Path '$(System.DefaultWorkingDirectory)' '$(pipelineFunctionsPath)' 'resourceDeployment' 'New-TemplateDeployment.ps1') + + # Prepare general parameters + # -------------------------- + $projectSettings = Get-Content -Path 'settings.json' | ConvertFrom-Json + + $location = '${{ parameters.location }}' + $resourceGroupName = '${{ parameters.resourceGroupName }}' + $subscriptionId = '${{ parameters.subscriptionId }}' + $managementGroupId = '${{ parameters.managementGroupId }}' + + $moduleTemplateFilePath = Join-Path '$(System.DefaultWorkingDirectory)' '${{ parameters.templateFilePath }}' + + $moduleTestFilePath = Join-Path '$(System.DefaultWorkingDirectory)' '$(modulePath)' '$(moduleTestFilePath)' + + if ((Split-Path $moduleTemplateFilePath -Extension) -eq '.bicep') { + $moduleTemplateContent = az bicep build --file $moduleTemplateFilePath --stdout --no-restore | ConvertFrom-Json -AsHashtable + $moduleTemplatePossibleParameters = $moduleTemplateContent.parameters.Keys + } else { + $moduleTemplatePossibleParameters = ((Get-Content $moduleTemplateFilePath -Raw) | ConvertFrom-Json -AsHashtable).parameters.keys + } + + # ----------- # + # INVOKE TEST # + # ----------- # + + # Building input object + $functionInput = @{ + templateFilePath = $moduleTemplateFilePath + parameterFilePath = $moduleTestFilePath + location = $location + resourceGroupName = $resourceGroupName + subscriptionId = $subscriptionId + managementGroupId = $managementGroupId + additionalParameters = @{} + } + + # Handle additional parameters + # ---------------------------- + if (-not [String]::IsNullOrEmpty($projectSettings.enableDefaultTelemetry) -and ($moduleTemplatePossibleParameters.Keys -contains 'enableDefaultTelemetry')) { + $functionInput['additionalParameters'] += @{ + enableDefaultTelemetry = $projectSettings.enableDefaultTelemetry } + } + + Write-Verbose 'Invoke task with' -Verbose + Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose + + # Invoke deployment + $res = New-TemplateDeployment @functionInput -Verbose + + # Get deployment name + $deploymentName = $res.deploymentName + Write-Verbose "Deployment name: $deploymentName" -Verbose + Write-Host "##vso[task.setvariable variable=deploymentName]$deploymentName" + Write-Host "##vso[task.setvariable variable=deploymentName;isOutput=true]$deploymentName" + + # Populate further outputs + $deploymentOutputHash=@{} + + foreach ($outputKey in $res.deploymentOutput.Keys) { + Write-Output ('##vso[task.setvariable variable={0}]{1}' -f $outputKey, $res.deploymentOutput[$outputKey].Value) + $deploymentOutputHash.add($outputKey,$res.deploymentOutput[$outputKey].Value) + } + + $deploymentOutput = $deploymentOutputHash | ConvertTo-Json -Compress -Depth 100 + Write-Verbose "Deployment output: $deploymentOutput" -Verbose + Write-Output "##vso[task.setvariable variable=deploymentOutput;isOutput=true]$deploymentOutput" + + if ($res.ContainsKey('exception')) { + # Happens only if there is an exception + throw $res.exception + } + + # [Removal] task(s) + #------------------ + - task: AzurePowerShell@5 + displayName: 'Remove deployed resources via [${{ parameters.serviceConnection }}]' + condition: and(succeededOrFailed(), eq('${{ parameters.removeDeployment }}', 'True'), not(eq(variables['deploymentName'],'')), not(startsWith(variables['deploymentName'], 'variables[' ))) + inputs: + azureSubscription: ${{ parameters.serviceConnection }} + azurePowerShellVersion: ${{ parameters.azurePowerShellVersion }} + preferredAzurePowerShellVersion: ${{ parameters.preferredAzurePowerShellVersion }} + ScriptType: InlineScript + failOnStandardError: false + pwsh: true + inline: | + # Load used function + . (Join-Path '$(System.DefaultWorkingDirectory)' '$(pipelineFunctionsPath)' 'resourceRemoval' 'Initialize-DeploymentRemoval.ps1') + + $functionInput = @{ + TemplateFilePath = Join-Path '$(System.DefaultWorkingDirectory)' '${{ parameters.templateFilePath }}' + ResourceGroupName = '${{ parameters.resourceGroupName }}' + subscriptionId = '${{ parameters.subscriptionId }}' + ManagementGroupId = '${{ parameters.managementGroupId }}' + deploymentName = '$(deploymentName)' + Verbose = $true + } + + Write-Verbose 'Invoke task with' -Verbose + Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose + + Initialize-DeploymentRemoval @functionInput From 785b359a5e50c32b21c1674e08ab3c5af3604e31 Mon Sep 17 00:00:00 2001 From: MrMCake Date: Mon, 18 Jul 2022 19:32:02 +0200 Subject: [PATCH 7/9] Updated template file reference --- .github/workflows/ms.analysisservices.servers.yml | 2 +- .github/workflows/ms.apimanagement.service.yml | 2 +- .github/workflows/ms.appconfiguration.configurationstores.yml | 2 +- .github/workflows/ms.authorization.locks.yml | 2 +- .github/workflows/ms.authorization.policyassignments.yml | 2 +- .github/workflows/ms.authorization.policydefinitions.yml | 2 +- .github/workflows/ms.authorization.policyexemptions.yml | 2 +- .github/workflows/ms.authorization.policysetdefinitions.yml | 2 +- .github/workflows/ms.authorization.roleassignments.yml | 2 +- .github/workflows/ms.authorization.roledefinitions.yml | 2 +- .github/workflows/ms.automation.automationaccounts.yml | 2 +- .github/workflows/ms.batch.batchaccounts.yml | 2 +- .github/workflows/ms.cache.redis.yml | 2 +- .github/workflows/ms.cognitiveservices.accounts.yml | 2 +- .github/workflows/ms.compute.availabilitysets.yml | 2 +- .github/workflows/ms.compute.diskencryptionsets.yml | 2 +- .github/workflows/ms.compute.disks.yml | 2 +- .github/workflows/ms.compute.galleries.yml | 2 +- .github/workflows/ms.compute.images.yml | 2 +- .github/workflows/ms.compute.proximityplacementgroups.yml | 2 +- .github/workflows/ms.compute.virtualmachines.yml | 2 +- .github/workflows/ms.compute.virtualmachinescalesets.yml | 2 +- .github/workflows/ms.consumption.budgets.yml | 2 +- .github/workflows/ms.containerinstance.containergroups.yml | 2 +- .github/workflows/ms.containerregistry.registries.yml | 2 +- .github/workflows/ms.containerservice.managedclusters.yml | 2 +- .github/workflows/ms.databricks.workspaces.yml | 2 +- .github/workflows/ms.datafactory.factories.yml | 2 +- .github/workflows/ms.dataprotection.backupvaults.yml | 2 +- .../workflows/ms.desktopvirtualization.applicationgroups.yml | 2 +- .github/workflows/ms.desktopvirtualization.hostpools.yml | 2 +- .github/workflows/ms.desktopvirtualization.scalingplans.yml | 2 +- .github/workflows/ms.desktopvirtualization.workspaces.yml | 2 +- .github/workflows/ms.documentdb.databaseaccounts.yml | 2 +- .github/workflows/ms.eventgrid.systemtopics.yml | 2 +- .github/workflows/ms.eventgrid.topics.yml | 2 +- .github/workflows/ms.eventhub.namespaces.yml | 2 +- .github/workflows/ms.healthbot.healthbots.yml | 2 +- .github/workflows/ms.insights.actiongroups.yml | 2 +- .github/workflows/ms.insights.activitylogalerts.yml | 2 +- .github/workflows/ms.insights.components.yml | 2 +- .github/workflows/ms.insights.diagnosticsettings.yml | 2 +- .github/workflows/ms.insights.metricalerts.yml | 2 +- .github/workflows/ms.insights.privatelinkscopes.yml | 2 +- .github/workflows/ms.insights.scheduledqueryrules.yml | 2 +- .github/workflows/ms.keyvault.vaults.yml | 2 +- .github/workflows/ms.kubernetesconfiguration.extensions.yml | 2 +- .../workflows/ms.kubernetesconfiguration.fluxconfigurations.yml | 2 +- .github/workflows/ms.logic.workflows.yml | 2 +- .github/workflows/ms.machinelearningservices.workspaces.yml | 2 +- .github/workflows/ms.managedidentity.userassignedidentities.yml | 2 +- .../workflows/ms.managedservices.registrationdefinitions.yml | 2 +- .github/workflows/ms.management.managementgroups.yml | 2 +- .github/workflows/ms.netapp.netappaccounts.yml | 2 +- .github/workflows/ms.network.applicationgateways.yml | 2 +- .github/workflows/ms.network.applicationsecuritygroups.yml | 2 +- .github/workflows/ms.network.azurefirewalls.yml | 2 +- .github/workflows/ms.network.bastionhosts.yml | 2 +- .github/workflows/ms.network.connections.yml | 2 +- .github/workflows/ms.network.ddosprotectionplans.yml | 2 +- .github/workflows/ms.network.expressroutecircuits.yml | 2 +- .github/workflows/ms.network.firewallpolicies.yml | 2 +- .github/workflows/ms.network.frontdoors.yml | 2 +- .github/workflows/ms.network.ipgroups.yml | 2 +- .github/workflows/ms.network.loadbalancers.yml | 2 +- .github/workflows/ms.network.localnetworkgateways.yml | 2 +- .github/workflows/ms.network.natgateways.yml | 2 +- .github/workflows/ms.network.networkinterfaces.yml | 2 +- .github/workflows/ms.network.networksecuritygroups.yml | 2 +- .github/workflows/ms.network.networkwatchers.yml | 2 +- .github/workflows/ms.network.privatednszones.yml | 2 +- .github/workflows/ms.network.privateendpoints.yml | 2 +- .github/workflows/ms.network.publicipaddresses.yml | 2 +- .github/workflows/ms.network.publicipprefixes.yml | 2 +- .github/workflows/ms.network.routetables.yml | 2 +- .github/workflows/ms.network.trafficmanagerprofiles.yml | 2 +- .github/workflows/ms.network.virtualhubs.yml | 2 +- .github/workflows/ms.network.virtualnetworkgateways.yml | 2 +- .github/workflows/ms.network.virtualnetworks.yml | 2 +- .github/workflows/ms.network.virtualwans.yml | 2 +- .github/workflows/ms.network.vpngateways.yml | 2 +- .github/workflows/ms.network.vpnsites.yml | 2 +- .github/workflows/ms.operationalinsights.workspaces.yml | 2 +- .github/workflows/ms.operationsmanagement.solutions.yml | 2 +- .github/workflows/ms.recoveryservices.vaults.yml | 2 +- .github/workflows/ms.resources.deploymentscripts.yml | 2 +- .github/workflows/ms.resources.resourcegroups.yml | 2 +- .github/workflows/ms.resources.tags.yml | 2 +- .github/workflows/ms.security.azuresecuritycenter.yml | 2 +- .github/workflows/ms.servicebus.namespaces.yml | 2 +- .github/workflows/ms.servicefabric.clusters.yml | 2 +- .github/workflows/ms.signalrservice.webpubsub.yml | 2 +- .github/workflows/ms.sql.managedinstances.yml | 2 +- .github/workflows/ms.sql.servers.yml | 2 +- .github/workflows/ms.storage.storageaccounts.yml | 2 +- .github/workflows/ms.synapse.privatelinkhubs.yml | 2 +- .github/workflows/ms.virtualmachineimages.imagetemplates.yml | 2 +- .github/workflows/ms.web.connections.yml | 2 +- .github/workflows/ms.web.hostingenvironments.yml | 2 +- .github/workflows/ms.web.serverfarms.yml | 2 +- .github/workflows/ms.web.sites.yml | 2 +- .github/workflows/ms.web.staticsites.yml | 2 +- 102 files changed, 102 insertions(+), 102 deletions(-) diff --git a/.github/workflows/ms.analysisservices.servers.yml b/.github/workflows/ms.analysisservices.servers.yml index 11185e15a9..5b3cb05157 100644 --- a/.github/workflows/ms.analysisservices.servers.yml +++ b/.github/workflows/ms.analysisservices.servers.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.apimanagement.service.yml b/.github/workflows/ms.apimanagement.service.yml index 882d62b763..ddef5bb8ae 100644 --- a/.github/workflows/ms.apimanagement.service.yml +++ b/.github/workflows/ms.apimanagement.service.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.appconfiguration.configurationstores.yml b/.github/workflows/ms.appconfiguration.configurationstores.yml index f6a36d8b4e..e3f2229eda 100644 --- a/.github/workflows/ms.appconfiguration.configurationstores.yml +++ b/.github/workflows/ms.appconfiguration.configurationstores.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.authorization.locks.yml b/.github/workflows/ms.authorization.locks.yml index 8126b0959d..9c122ec724 100644 --- a/.github/workflows/ms.authorization.locks.yml +++ b/.github/workflows/ms.authorization.locks.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.authorization.policyassignments.yml b/.github/workflows/ms.authorization.policyassignments.yml index 58c470ed1b..fe4f8fc7ac 100644 --- a/.github/workflows/ms.authorization.policyassignments.yml +++ b/.github/workflows/ms.authorization.policyassignments.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.authorization.policydefinitions.yml b/.github/workflows/ms.authorization.policydefinitions.yml index 1cf2f31afe..e69a7ae739 100644 --- a/.github/workflows/ms.authorization.policydefinitions.yml +++ b/.github/workflows/ms.authorization.policydefinitions.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.authorization.policyexemptions.yml b/.github/workflows/ms.authorization.policyexemptions.yml index 0aebd08c54..a53999e354 100644 --- a/.github/workflows/ms.authorization.policyexemptions.yml +++ b/.github/workflows/ms.authorization.policyexemptions.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.authorization.policysetdefinitions.yml b/.github/workflows/ms.authorization.policysetdefinitions.yml index 794e879f84..3381a3e7a4 100644 --- a/.github/workflows/ms.authorization.policysetdefinitions.yml +++ b/.github/workflows/ms.authorization.policysetdefinitions.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.authorization.roleassignments.yml b/.github/workflows/ms.authorization.roleassignments.yml index 96cd0b7040..b542ff4581 100644 --- a/.github/workflows/ms.authorization.roleassignments.yml +++ b/.github/workflows/ms.authorization.roleassignments.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.authorization.roledefinitions.yml b/.github/workflows/ms.authorization.roledefinitions.yml index 9a733471c0..9237743555 100644 --- a/.github/workflows/ms.authorization.roledefinitions.yml +++ b/.github/workflows/ms.authorization.roledefinitions.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.automation.automationaccounts.yml b/.github/workflows/ms.automation.automationaccounts.yml index 8397a24adc..4606de9875 100644 --- a/.github/workflows/ms.automation.automationaccounts.yml +++ b/.github/workflows/ms.automation.automationaccounts.yml @@ -54,7 +54,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.batch.batchaccounts.yml b/.github/workflows/ms.batch.batchaccounts.yml index c735b71e76..f3681d2061 100644 --- a/.github/workflows/ms.batch.batchaccounts.yml +++ b/.github/workflows/ms.batch.batchaccounts.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.cache.redis.yml b/.github/workflows/ms.cache.redis.yml index 571a9f79e2..a23008ab59 100644 --- a/.github/workflows/ms.cache.redis.yml +++ b/.github/workflows/ms.cache.redis.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.cognitiveservices.accounts.yml b/.github/workflows/ms.cognitiveservices.accounts.yml index 973e1fa5c2..ee65eb8954 100644 --- a/.github/workflows/ms.cognitiveservices.accounts.yml +++ b/.github/workflows/ms.cognitiveservices.accounts.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.compute.availabilitysets.yml b/.github/workflows/ms.compute.availabilitysets.yml index f1ce439509..f3a51210cb 100644 --- a/.github/workflows/ms.compute.availabilitysets.yml +++ b/.github/workflows/ms.compute.availabilitysets.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.compute.diskencryptionsets.yml b/.github/workflows/ms.compute.diskencryptionsets.yml index 85ca142e73..a95af86890 100644 --- a/.github/workflows/ms.compute.diskencryptionsets.yml +++ b/.github/workflows/ms.compute.diskencryptionsets.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.compute.disks.yml b/.github/workflows/ms.compute.disks.yml index a2e38e8e62..2ee343acb5 100644 --- a/.github/workflows/ms.compute.disks.yml +++ b/.github/workflows/ms.compute.disks.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.compute.galleries.yml b/.github/workflows/ms.compute.galleries.yml index 98b7c6e5c1..4f4c9c4828 100644 --- a/.github/workflows/ms.compute.galleries.yml +++ b/.github/workflows/ms.compute.galleries.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.compute.images.yml b/.github/workflows/ms.compute.images.yml index 082f139887..b4c20f5b02 100644 --- a/.github/workflows/ms.compute.images.yml +++ b/.github/workflows/ms.compute.images.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.compute.proximityplacementgroups.yml b/.github/workflows/ms.compute.proximityplacementgroups.yml index 3ed012e2f4..72143b61c0 100644 --- a/.github/workflows/ms.compute.proximityplacementgroups.yml +++ b/.github/workflows/ms.compute.proximityplacementgroups.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.compute.virtualmachines.yml b/.github/workflows/ms.compute.virtualmachines.yml index 63158204da..d3a9f84857 100644 --- a/.github/workflows/ms.compute.virtualmachines.yml +++ b/.github/workflows/ms.compute.virtualmachines.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.compute.virtualmachinescalesets.yml b/.github/workflows/ms.compute.virtualmachinescalesets.yml index 3b7cfc2f08..b816131d0b 100644 --- a/.github/workflows/ms.compute.virtualmachinescalesets.yml +++ b/.github/workflows/ms.compute.virtualmachinescalesets.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.consumption.budgets.yml b/.github/workflows/ms.consumption.budgets.yml index 171d027cbb..5d6b8520d1 100644 --- a/.github/workflows/ms.consumption.budgets.yml +++ b/.github/workflows/ms.consumption.budgets.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.containerinstance.containergroups.yml b/.github/workflows/ms.containerinstance.containergroups.yml index 6d1367a6ac..7b9d28b3aa 100644 --- a/.github/workflows/ms.containerinstance.containergroups.yml +++ b/.github/workflows/ms.containerinstance.containergroups.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.containerregistry.registries.yml b/.github/workflows/ms.containerregistry.registries.yml index 4c37b681b4..84c59fdcf7 100644 --- a/.github/workflows/ms.containerregistry.registries.yml +++ b/.github/workflows/ms.containerregistry.registries.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.containerservice.managedclusters.yml b/.github/workflows/ms.containerservice.managedclusters.yml index a6d04f22ae..e0bec6f532 100644 --- a/.github/workflows/ms.containerservice.managedclusters.yml +++ b/.github/workflows/ms.containerservice.managedclusters.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.databricks.workspaces.yml b/.github/workflows/ms.databricks.workspaces.yml index 464899f10a..485ffb37e5 100644 --- a/.github/workflows/ms.databricks.workspaces.yml +++ b/.github/workflows/ms.databricks.workspaces.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.datafactory.factories.yml b/.github/workflows/ms.datafactory.factories.yml index 627c87210b..f26aff735c 100644 --- a/.github/workflows/ms.datafactory.factories.yml +++ b/.github/workflows/ms.datafactory.factories.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.dataprotection.backupvaults.yml b/.github/workflows/ms.dataprotection.backupvaults.yml index 3c700a6c27..599fd09fb3 100644 --- a/.github/workflows/ms.dataprotection.backupvaults.yml +++ b/.github/workflows/ms.dataprotection.backupvaults.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.desktopvirtualization.applicationgroups.yml b/.github/workflows/ms.desktopvirtualization.applicationgroups.yml index 878bd3b240..d9317c3c7f 100644 --- a/.github/workflows/ms.desktopvirtualization.applicationgroups.yml +++ b/.github/workflows/ms.desktopvirtualization.applicationgroups.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.desktopvirtualization.hostpools.yml b/.github/workflows/ms.desktopvirtualization.hostpools.yml index 55a544b040..445adc498e 100644 --- a/.github/workflows/ms.desktopvirtualization.hostpools.yml +++ b/.github/workflows/ms.desktopvirtualization.hostpools.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.desktopvirtualization.scalingplans.yml b/.github/workflows/ms.desktopvirtualization.scalingplans.yml index a2eaf3f3c1..c55dac6caa 100644 --- a/.github/workflows/ms.desktopvirtualization.scalingplans.yml +++ b/.github/workflows/ms.desktopvirtualization.scalingplans.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.desktopvirtualization.workspaces.yml b/.github/workflows/ms.desktopvirtualization.workspaces.yml index 56f4b38c6d..82456cc9e0 100644 --- a/.github/workflows/ms.desktopvirtualization.workspaces.yml +++ b/.github/workflows/ms.desktopvirtualization.workspaces.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.documentdb.databaseaccounts.yml b/.github/workflows/ms.documentdb.databaseaccounts.yml index d21ae68c9c..eecd44db01 100644 --- a/.github/workflows/ms.documentdb.databaseaccounts.yml +++ b/.github/workflows/ms.documentdb.databaseaccounts.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.eventgrid.systemtopics.yml b/.github/workflows/ms.eventgrid.systemtopics.yml index 646fc47119..7d5892ecdb 100644 --- a/.github/workflows/ms.eventgrid.systemtopics.yml +++ b/.github/workflows/ms.eventgrid.systemtopics.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.eventgrid.topics.yml b/.github/workflows/ms.eventgrid.topics.yml index b674f9dfb0..a1730beef8 100644 --- a/.github/workflows/ms.eventgrid.topics.yml +++ b/.github/workflows/ms.eventgrid.topics.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.eventhub.namespaces.yml b/.github/workflows/ms.eventhub.namespaces.yml index 6a9cb1dd2e..03d4f1f78f 100644 --- a/.github/workflows/ms.eventhub.namespaces.yml +++ b/.github/workflows/ms.eventhub.namespaces.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.healthbot.healthbots.yml b/.github/workflows/ms.healthbot.healthbots.yml index a9eec0a207..b03ad6aa90 100644 --- a/.github/workflows/ms.healthbot.healthbots.yml +++ b/.github/workflows/ms.healthbot.healthbots.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.insights.actiongroups.yml b/.github/workflows/ms.insights.actiongroups.yml index 7f867bf6c4..977d6f34e8 100644 --- a/.github/workflows/ms.insights.actiongroups.yml +++ b/.github/workflows/ms.insights.actiongroups.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.insights.activitylogalerts.yml b/.github/workflows/ms.insights.activitylogalerts.yml index 4bfffe381f..45cd75770e 100644 --- a/.github/workflows/ms.insights.activitylogalerts.yml +++ b/.github/workflows/ms.insights.activitylogalerts.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.insights.components.yml b/.github/workflows/ms.insights.components.yml index 013e449c3d..2617e67a2b 100644 --- a/.github/workflows/ms.insights.components.yml +++ b/.github/workflows/ms.insights.components.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.insights.diagnosticsettings.yml b/.github/workflows/ms.insights.diagnosticsettings.yml index 50a0f53671..02f0acedc4 100644 --- a/.github/workflows/ms.insights.diagnosticsettings.yml +++ b/.github/workflows/ms.insights.diagnosticsettings.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.insights.metricalerts.yml b/.github/workflows/ms.insights.metricalerts.yml index 302be4bba9..3187aecc1e 100644 --- a/.github/workflows/ms.insights.metricalerts.yml +++ b/.github/workflows/ms.insights.metricalerts.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.insights.privatelinkscopes.yml b/.github/workflows/ms.insights.privatelinkscopes.yml index 70d6837e62..8b4500ee09 100644 --- a/.github/workflows/ms.insights.privatelinkscopes.yml +++ b/.github/workflows/ms.insights.privatelinkscopes.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.insights.scheduledqueryrules.yml b/.github/workflows/ms.insights.scheduledqueryrules.yml index beee80abfb..dbf8c19e0f 100644 --- a/.github/workflows/ms.insights.scheduledqueryrules.yml +++ b/.github/workflows/ms.insights.scheduledqueryrules.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.keyvault.vaults.yml b/.github/workflows/ms.keyvault.vaults.yml index d7f8db5f20..b251cf1d51 100644 --- a/.github/workflows/ms.keyvault.vaults.yml +++ b/.github/workflows/ms.keyvault.vaults.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.kubernetesconfiguration.extensions.yml b/.github/workflows/ms.kubernetesconfiguration.extensions.yml index 11b2aeede4..921612809a 100644 --- a/.github/workflows/ms.kubernetesconfiguration.extensions.yml +++ b/.github/workflows/ms.kubernetesconfiguration.extensions.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml b/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml index 65088a0483..93d799f535 100644 --- a/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml +++ b/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.logic.workflows.yml b/.github/workflows/ms.logic.workflows.yml index 02fd994206..f788735cd5 100644 --- a/.github/workflows/ms.logic.workflows.yml +++ b/.github/workflows/ms.logic.workflows.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.machinelearningservices.workspaces.yml b/.github/workflows/ms.machinelearningservices.workspaces.yml index 4838bec1a6..d44254f720 100644 --- a/.github/workflows/ms.machinelearningservices.workspaces.yml +++ b/.github/workflows/ms.machinelearningservices.workspaces.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.managedidentity.userassignedidentities.yml b/.github/workflows/ms.managedidentity.userassignedidentities.yml index 2a1aa4f55c..eb7a8a7ae9 100644 --- a/.github/workflows/ms.managedidentity.userassignedidentities.yml +++ b/.github/workflows/ms.managedidentity.userassignedidentities.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.managedservices.registrationdefinitions.yml b/.github/workflows/ms.managedservices.registrationdefinitions.yml index a11e5526b3..8b286687d4 100644 --- a/.github/workflows/ms.managedservices.registrationdefinitions.yml +++ b/.github/workflows/ms.managedservices.registrationdefinitions.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.management.managementgroups.yml b/.github/workflows/ms.management.managementgroups.yml index 21524c6c73..e91d4ab9d1 100644 --- a/.github/workflows/ms.management.managementgroups.yml +++ b/.github/workflows/ms.management.managementgroups.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.netapp.netappaccounts.yml b/.github/workflows/ms.netapp.netappaccounts.yml index 3a8b40933f..f45622ec17 100644 --- a/.github/workflows/ms.netapp.netappaccounts.yml +++ b/.github/workflows/ms.netapp.netappaccounts.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.applicationgateways.yml b/.github/workflows/ms.network.applicationgateways.yml index 742e582e2f..ef19fc7a40 100644 --- a/.github/workflows/ms.network.applicationgateways.yml +++ b/.github/workflows/ms.network.applicationgateways.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.applicationsecuritygroups.yml b/.github/workflows/ms.network.applicationsecuritygroups.yml index 6e28b1d932..6a79386802 100644 --- a/.github/workflows/ms.network.applicationsecuritygroups.yml +++ b/.github/workflows/ms.network.applicationsecuritygroups.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.azurefirewalls.yml b/.github/workflows/ms.network.azurefirewalls.yml index 6ad02edb4c..94260c2589 100644 --- a/.github/workflows/ms.network.azurefirewalls.yml +++ b/.github/workflows/ms.network.azurefirewalls.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.bastionhosts.yml b/.github/workflows/ms.network.bastionhosts.yml index 69b911ea62..c1dc1c2bac 100644 --- a/.github/workflows/ms.network.bastionhosts.yml +++ b/.github/workflows/ms.network.bastionhosts.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.connections.yml b/.github/workflows/ms.network.connections.yml index 9303d1671f..589b172bfe 100644 --- a/.github/workflows/ms.network.connections.yml +++ b/.github/workflows/ms.network.connections.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.ddosprotectionplans.yml b/.github/workflows/ms.network.ddosprotectionplans.yml index df5ddfc2fe..bd0ad8db57 100644 --- a/.github/workflows/ms.network.ddosprotectionplans.yml +++ b/.github/workflows/ms.network.ddosprotectionplans.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.expressroutecircuits.yml b/.github/workflows/ms.network.expressroutecircuits.yml index 2c95f7eec8..fb1e5f3da6 100644 --- a/.github/workflows/ms.network.expressroutecircuits.yml +++ b/.github/workflows/ms.network.expressroutecircuits.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.firewallpolicies.yml b/.github/workflows/ms.network.firewallpolicies.yml index c32741da4d..c9796485b1 100644 --- a/.github/workflows/ms.network.firewallpolicies.yml +++ b/.github/workflows/ms.network.firewallpolicies.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.frontdoors.yml b/.github/workflows/ms.network.frontdoors.yml index ee1695664f..93946a76d5 100644 --- a/.github/workflows/ms.network.frontdoors.yml +++ b/.github/workflows/ms.network.frontdoors.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.ipgroups.yml b/.github/workflows/ms.network.ipgroups.yml index 24a608d767..6b9361aa43 100644 --- a/.github/workflows/ms.network.ipgroups.yml +++ b/.github/workflows/ms.network.ipgroups.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.loadbalancers.yml b/.github/workflows/ms.network.loadbalancers.yml index 68db5903d9..20f8260526 100644 --- a/.github/workflows/ms.network.loadbalancers.yml +++ b/.github/workflows/ms.network.loadbalancers.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.localnetworkgateways.yml b/.github/workflows/ms.network.localnetworkgateways.yml index 34c9902191..691c85e6b6 100644 --- a/.github/workflows/ms.network.localnetworkgateways.yml +++ b/.github/workflows/ms.network.localnetworkgateways.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.natgateways.yml b/.github/workflows/ms.network.natgateways.yml index 91c5229ba2..5a9d10e800 100644 --- a/.github/workflows/ms.network.natgateways.yml +++ b/.github/workflows/ms.network.natgateways.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.networkinterfaces.yml b/.github/workflows/ms.network.networkinterfaces.yml index 05fef53721..0c49a1c7b8 100644 --- a/.github/workflows/ms.network.networkinterfaces.yml +++ b/.github/workflows/ms.network.networkinterfaces.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.networksecuritygroups.yml b/.github/workflows/ms.network.networksecuritygroups.yml index 844cb05c8c..5546dfb991 100644 --- a/.github/workflows/ms.network.networksecuritygroups.yml +++ b/.github/workflows/ms.network.networksecuritygroups.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.networkwatchers.yml b/.github/workflows/ms.network.networkwatchers.yml index c4a71abb5c..5656441699 100644 --- a/.github/workflows/ms.network.networkwatchers.yml +++ b/.github/workflows/ms.network.networkwatchers.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.privatednszones.yml b/.github/workflows/ms.network.privatednszones.yml index 3a4501c47f..12dc40bf0e 100644 --- a/.github/workflows/ms.network.privatednszones.yml +++ b/.github/workflows/ms.network.privatednszones.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.privateendpoints.yml b/.github/workflows/ms.network.privateendpoints.yml index 13f9f10986..6606f71374 100644 --- a/.github/workflows/ms.network.privateendpoints.yml +++ b/.github/workflows/ms.network.privateendpoints.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.publicipaddresses.yml b/.github/workflows/ms.network.publicipaddresses.yml index 041c0e6789..cf129e8ddb 100644 --- a/.github/workflows/ms.network.publicipaddresses.yml +++ b/.github/workflows/ms.network.publicipaddresses.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.publicipprefixes.yml b/.github/workflows/ms.network.publicipprefixes.yml index c89f954cfc..bf5b61a050 100644 --- a/.github/workflows/ms.network.publicipprefixes.yml +++ b/.github/workflows/ms.network.publicipprefixes.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.routetables.yml b/.github/workflows/ms.network.routetables.yml index eaa636a46b..d835a84981 100644 --- a/.github/workflows/ms.network.routetables.yml +++ b/.github/workflows/ms.network.routetables.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.trafficmanagerprofiles.yml b/.github/workflows/ms.network.trafficmanagerprofiles.yml index d58567a400..5b6055d831 100644 --- a/.github/workflows/ms.network.trafficmanagerprofiles.yml +++ b/.github/workflows/ms.network.trafficmanagerprofiles.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.virtualhubs.yml b/.github/workflows/ms.network.virtualhubs.yml index 83eda4bd22..6143a5a2d6 100644 --- a/.github/workflows/ms.network.virtualhubs.yml +++ b/.github/workflows/ms.network.virtualhubs.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.virtualnetworkgateways.yml b/.github/workflows/ms.network.virtualnetworkgateways.yml index dc3a92c73a..6ca2ed5190 100644 --- a/.github/workflows/ms.network.virtualnetworkgateways.yml +++ b/.github/workflows/ms.network.virtualnetworkgateways.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.virtualnetworks.yml b/.github/workflows/ms.network.virtualnetworks.yml index 27f29007fd..daac4eed7e 100644 --- a/.github/workflows/ms.network.virtualnetworks.yml +++ b/.github/workflows/ms.network.virtualnetworks.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.virtualwans.yml b/.github/workflows/ms.network.virtualwans.yml index 339dc7ea4a..14f926b8a6 100644 --- a/.github/workflows/ms.network.virtualwans.yml +++ b/.github/workflows/ms.network.virtualwans.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.vpngateways.yml b/.github/workflows/ms.network.vpngateways.yml index a3243f01a6..052a5d720d 100644 --- a/.github/workflows/ms.network.vpngateways.yml +++ b/.github/workflows/ms.network.vpngateways.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.network.vpnsites.yml b/.github/workflows/ms.network.vpnsites.yml index c279d27cf0..5ed752438b 100644 --- a/.github/workflows/ms.network.vpnsites.yml +++ b/.github/workflows/ms.network.vpnsites.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.operationalinsights.workspaces.yml b/.github/workflows/ms.operationalinsights.workspaces.yml index 345c991171..c4ad1a6c06 100644 --- a/.github/workflows/ms.operationalinsights.workspaces.yml +++ b/.github/workflows/ms.operationalinsights.workspaces.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.operationsmanagement.solutions.yml b/.github/workflows/ms.operationsmanagement.solutions.yml index 5d60d92e43..2551974b9c 100644 --- a/.github/workflows/ms.operationsmanagement.solutions.yml +++ b/.github/workflows/ms.operationsmanagement.solutions.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.recoveryservices.vaults.yml b/.github/workflows/ms.recoveryservices.vaults.yml index 64ed69a31a..ec7eac696e 100644 --- a/.github/workflows/ms.recoveryservices.vaults.yml +++ b/.github/workflows/ms.recoveryservices.vaults.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.resources.deploymentscripts.yml b/.github/workflows/ms.resources.deploymentscripts.yml index 5e5c169dda..0d1ed2bc1b 100644 --- a/.github/workflows/ms.resources.deploymentscripts.yml +++ b/.github/workflows/ms.resources.deploymentscripts.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 854e498b36..391202345c 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.resources.tags.yml b/.github/workflows/ms.resources.tags.yml index b97f79b0c0..efc989da5e 100644 --- a/.github/workflows/ms.resources.tags.yml +++ b/.github/workflows/ms.resources.tags.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.security.azuresecuritycenter.yml b/.github/workflows/ms.security.azuresecuritycenter.yml index beb06a4feb..2b2e2f4025 100644 --- a/.github/workflows/ms.security.azuresecuritycenter.yml +++ b/.github/workflows/ms.security.azuresecuritycenter.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.servicebus.namespaces.yml b/.github/workflows/ms.servicebus.namespaces.yml index 0e75b8d468..dfb2b6ebb9 100644 --- a/.github/workflows/ms.servicebus.namespaces.yml +++ b/.github/workflows/ms.servicebus.namespaces.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.servicefabric.clusters.yml b/.github/workflows/ms.servicefabric.clusters.yml index 17bb06d76b..f79f25b071 100644 --- a/.github/workflows/ms.servicefabric.clusters.yml +++ b/.github/workflows/ms.servicefabric.clusters.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.signalrservice.webpubsub.yml b/.github/workflows/ms.signalrservice.webpubsub.yml index c8d5745103..2116338ec4 100644 --- a/.github/workflows/ms.signalrservice.webpubsub.yml +++ b/.github/workflows/ms.signalrservice.webpubsub.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.sql.managedinstances.yml b/.github/workflows/ms.sql.managedinstances.yml index 2705d21c8e..1cb110aa08 100644 --- a/.github/workflows/ms.sql.managedinstances.yml +++ b/.github/workflows/ms.sql.managedinstances.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.sql.servers.yml b/.github/workflows/ms.sql.servers.yml index c27ccd2efd..c30c0a4379 100644 --- a/.github/workflows/ms.sql.servers.yml +++ b/.github/workflows/ms.sql.servers.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.storage.storageaccounts.yml b/.github/workflows/ms.storage.storageaccounts.yml index 70be4db92b..25aa1f441c 100644 --- a/.github/workflows/ms.storage.storageaccounts.yml +++ b/.github/workflows/ms.storage.storageaccounts.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.synapse.privatelinkhubs.yml b/.github/workflows/ms.synapse.privatelinkhubs.yml index 231cdb794c..d54baad385 100644 --- a/.github/workflows/ms.synapse.privatelinkhubs.yml +++ b/.github/workflows/ms.synapse.privatelinkhubs.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.virtualmachineimages.imagetemplates.yml b/.github/workflows/ms.virtualmachineimages.imagetemplates.yml index 936414358d..162e169a71 100644 --- a/.github/workflows/ms.virtualmachineimages.imagetemplates.yml +++ b/.github/workflows/ms.virtualmachineimages.imagetemplates.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.web.connections.yml b/.github/workflows/ms.web.connections.yml index b6d5311922..44eac22f0d 100644 --- a/.github/workflows/ms.web.connections.yml +++ b/.github/workflows/ms.web.connections.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.web.hostingenvironments.yml b/.github/workflows/ms.web.hostingenvironments.yml index 0a2d71aedb..1bc6f44f72 100644 --- a/.github/workflows/ms.web.hostingenvironments.yml +++ b/.github/workflows/ms.web.hostingenvironments.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.web.serverfarms.yml b/.github/workflows/ms.web.serverfarms.yml index 9a0dd324a6..e105bf9173 100644 --- a/.github/workflows/ms.web.serverfarms.yml +++ b/.github/workflows/ms.web.serverfarms.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.web.sites.yml b/.github/workflows/ms.web.sites.yml index 41d484c31f..83a768ed8c 100644 --- a/.github/workflows/ms.web.sites.yml +++ b/.github/workflows/ms.web.sites.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: diff --git a/.github/workflows/ms.web.staticsites.yml b/.github/workflows/ms.web.staticsites.yml index 12d3e638c4..b63afd1d97 100644 --- a/.github/workflows/ms.web.staticsites.yml +++ b/.github/workflows/ms.web.staticsites.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: From 906dedaae76d56fa2f5975895b48dce7ffb86914 Mon Sep 17 00:00:00 2001 From: MrMCake Date: Mon, 18 Jul 2022 20:06:38 +0200 Subject: [PATCH 8/9] Update to latest --- .github/workflows/ms.aad.domainservices.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ms.aad.domainservices.yml b/.github/workflows/ms.aad.domainservices.yml index bae08d0e1a..41bc4dc8dd 100644 --- a/.github/workflows/ms.aad.domainservices.yml +++ b/.github/workflows/ms.aad.domainservices.yml @@ -53,7 +53,7 @@ jobs: workflowPath: '${{ env.workflowPath}}' - name: 'Get parameter file paths' id: get-module-test-file-paths - uses: ./.github/actions/templates/getParameterFiles + uses: ./.github/actions/templates/getModuleTestFiles with: modulePath: '${{ env.modulePath }}' outputs: From 555fdd03a905d88dc5fe2c040e9e8db9d1870c6f Mon Sep 17 00:00:00 2001 From: MrMCake Date: Tue, 19 Jul 2022 18:58:22 +0200 Subject: [PATCH 9/9] Changed parameter fetch name --- .azuredevops/pipelineTemplates/jobs.getModuleTestFiles.yml | 4 ++-- .../pipelineTemplates/jobs.validateModuleDeployment.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.azuredevops/pipelineTemplates/jobs.getModuleTestFiles.yml b/.azuredevops/pipelineTemplates/jobs.getModuleTestFiles.yml index dc69e6549d..46229ad481 100644 --- a/.azuredevops/pipelineTemplates/jobs.getModuleTestFiles.yml +++ b/.azuredevops/pipelineTemplates/jobs.getModuleTestFiles.yml @@ -47,5 +47,5 @@ jobs: } $deploymentTestPathsOutput = $testTable | ConvertTo-Json -Compress - Write-Host ('##vso[task.setVariable variable=parameterTests;isOutput=true]{0}' -f ($testTable | ConvertTo-Json -Compress)) - Write-Verbose "Parameter files: $deploymentTestPathsOutput" -Verbose + Write-Host ('##vso[task.setVariable variable=moduleTests;isOutput=true]{0}' -f ($testTable | ConvertTo-Json -Compress)) + Write-Verbose "Module test files: $deploymentTestPathsOutput" -Verbose diff --git a/.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml b/.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml index aeb50722c5..610ab82657 100644 --- a/.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml +++ b/.azuredevops/pipelineTemplates/jobs.validateModuleDeployment.yml @@ -78,7 +78,7 @@ jobs: dependsOn: - getModuleTestFiles strategy: - matrix: $[ dependencies.getModuleTestFiles.outputs['getModuleTestFilesTask.parameterTests'] ] + matrix: $[ dependencies.getModuleTestFiles.outputs['getModuleTestFilesTask.moduleTests'] ] ##---------------------------------------------## ## TEMPLATE LOGIC ## ##---------------------------------------------##