Replies: 1 comment
-
Hello @Liszet. Also, the other parameter works very well along with the above one and speeds up the process: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
We have a case where we are deploying the code to dev(live), test and prod environment. The necessary triggers are started in source control. After deployment to dev and to test we would like the stop the triggers in these environments, since we want people to run the pipelines that they need on demand, and we do not want these pipelines to run on their schedule and incur costs. Whereas deployment to prod should keep the triggers as they are defined in source control. What is the recommended way to achieve this?
We are using Azure DevOps pipelines where the deployment to each environment has their own template deployment file. At the moment we are using the PrePostDeploymentScript.Ver2 together with AzureResourceManagerTemplateDeployment@3
Later edit:
Based on the documentation, would this be a good way to achieve this?
Then when new triggers are published they are published as stopped, and unless explicitly started in the dev and test environment, they will remain stopped with each deployment.
Beta Was this translation helpful? Give feedback.
All reactions