Azure / Azure/Azure-DataFactory

Predeployment (PrePostDeploymentScript.Ver2.ps1) powershell script stops all blob triggers

Open
#467 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
529
Forks
623
PR merge metrics
No merged PRs in 30d

Description

Hi,

I am looking at new release script (ie. PrePostDeploymentScript.Ver2.ps1) that only stop triggers if they have changed

During testing all of the blob event triggers are being stopped even if no code has changed.
The script looks at ArmTemplateParametersForFactory.json currently but it contains values of 'dev' environnements in source control (subscription/ressourcegroup/storeaccount) so when comparing to target environnement differences are seen (variable $additionalPropsChanged is set to True)

Do I need to add another powershell script that would apply the 'override template parameters' in the release onto of the ArmTemplateParametersForFactory.json before running the script that stops the triggers?

Currently we override the ArmTemplateParametersForFactory.json values during the Armtemplate deploiement task with a variable set in 'Override template parameters'

Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.