Skip to content

How to prevent reversion of changes known to be applied elsewhere? #9921

Answered by brwilkinson
cemerick asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @cemerick

On some resource types some properties are optional and it is possible setup conditions on these OR on the whole resources.

If you do use a condition you can maintain state such as a flag to say to skip the deployment all together.

However in the case of containerApps the image is a required property. So you can only skip deploying the resource all together.

Would it be possible to integrate your same template into your Deployment pipeline? That way you pass in the image name as a parameter which comes from a Build variable?

It's hard if you have 2 separate pipelines, So perhaps just build the Container App Environment in your main templates, then deploy the Apps in the App P…

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@brwilkinson
Comment options

@brwilkinson
Comment options

Answer selected by brwilkinson
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@thisispaulsmith
Comment options

@arealmaas
Comment options

@trylvis
Comment options

@arealmaas
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants