Skip to content

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

@Bhuard1

Description

@Bhuard1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions