Stop Unintended Production Deploys with Azure Pipelines Environment Approvals
Use Azure Pipelines environments with required approvals to pause deployments before production while keeping lower environments automated.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Use Azure Pipelines environments with required approvals to pause deployments before production while keeping lower environments automated.
Use a single multi-stage YAML pipeline with Azure DevOps Environments to build, test and gate production releases with approvals, checks and environment-scoped variables.
A concise guide to creating a version-controlled CI pipeline in Azure DevOps using YAML, covering prerequisites, YAML setup, pipeline creation, verification checks, and safe rollback.
I currently have a monorepo with services in subdirectories that I'm leaning towards turning into a multirepo with a metarepo. One of the reasons I decided to give Azure DevOps a try was someone told me you can have triggers on the subdirectories like: trigger: branches: include: - master paths: include: - client Tested and it works. However, what I'm wonder
I'm using Azure Pipelines as a part of Azure DevOps. I'm trying to define variables in my template file, because I need to use the same value multiple times. This is my stage-template.yml : parameters: - name: param1 type: string - name: param2 type: string variables: var1: path/${{ parameters.param2 }}/to-my-file.yml stages: - stage: Deploy${{ parameters.pa
I'm trying to use a template that's stored in another Git repository in Azure DevOps where that template has a reference to a script also contained within that repository. While I can successfully use the template from the main pipeline it doesn't reference the script the template requires. Is there some way I can do this please? The HelloWorld template/scri
My current implementation of Azure pipelines is to trigger only when a pull request is made to Develop branch. But, I want to run the pipeline on every new push on any branch. How to trigger that? My current implementation of the Azure YAML file trigger: - none pr: - branches: include: - dev and below that steps are configured.
You can create a loop in devops pipelines YAML by using a syntax similiar to -${{ each x in y }}: . From my understanding, y can be an array. However, I find that there is no documentation for each . The only page describing an example of it's usage is on the "Templates" page. So my question is: how do I go about specifying an array? I know one way is to use
I am trying to understand the difference between the two nuget restore commands in Azure build pipeline: - task: NuGetCommand@2 inputs: restoreSolution: '$(solution)' and - task: DotNetCoreCLI@2 inputs: command: 'restore' projects: '$(solution)' feedsToUse: 'select' I have tried to understand but at microsoft pages all I see is that one can use both - I can'