HiveBrain v1.2.0
Get Started
← Back to all entries
snippetMinor

How to setup artifact filters to differentiate for deployment

Submitted by: @import:stackexchange-devops··
0
Viewed 0 times
differentiateartifactsetupfiltersforhowdeployment

Problem

We would like to deploy only the artefacts that are built from our dev branch to the dev environment.

and master branch to be deployed to staging(stage) and production(PRD) environments

As a tool, we are using VSTS

https://i.stack.imgur.com/KtT3B.jpg

How should we coordinate this process if we can not implement artefact filters in VSTS?

I am considering to create a separate container registry for master builds

https://i.stack.imgur.com/Dzcve.jpg

Wanted to learn the best practice before i implement this

Solution

Azure DevOps supports artifact filters for each environment. Below is screenshot of how to enable the feature.

Context

StackExchange DevOps Q#4964, answer score: 4

Revisions (0)

No revisions yet.