AzOps is a PowerShell module which deploys (Push) ARM Resource Templates & Bicep files at all Azure scope levels and exports (Pull) ARM resource hierarchy.
This PR changes two key pieces to fix #886 and avoid incorrect recursive parameter discovery.
Adjusts how the $deploymentName is derived at run-time. Ensuring that if the deployment job que contains overlapping deployments, we only process it once when they have matching deployment name and files.
Addressing #886
During recursive parameter discovery there was a possibility that a un-related file pair would have been discovered and queued for processing. This is not the intent so a step in the recursive process has been added to regex match the base name of any discovered files prior to any further processing.
This PR fixes/adds/changes/removes
Changes Invoke-AzOpsPush.ps1
Changes Repository.Tests.ps1
Adds decoy.westeurope.bicep
Adds decoy.westeurope.x123.parameters.json
Adds deployallrt.westeurope.bicep
Adds deployallrt.westeurope.x123.parameters.json
Adds deployallrt.westeurope.xabc.bicepparam
Adds deployallrt2.westeurope.bicep
Breaking Changes
N/A
Testing Evidence
The logic has been tested according to the issue and an automated test has been added.
Overview/Summary
This PR changes two key pieces to fix #886 and avoid incorrect recursive parameter discovery.
$deploymentName
is derived at run-time. Ensuring that if the deployment job que contains overlapping deployments, we only process it once when they have matching deployment name and files.This PR fixes/adds/changes/removes
Invoke-AzOpsPush.ps1
Repository.Tests.ps1
decoy.westeurope.bicep
decoy.westeurope.x123.parameters.json
deployallrt.westeurope.bicep
deployallrt.westeurope.x123.parameters.json
deployallrt.westeurope.xabc.bicepparam
deployallrt2.westeurope.bicep
Breaking Changes
Testing Evidence
The logic has been tested according to the issue and an automated test has been added.
As part of this Pull Request I have
main
branch