microsoft / azure-pipelines-yaml

Azure Pipelines YAML examples, templates, and community interaction
MIT License
1.21k stars 934 forks source link

Blue Green deployment strategy #531

Closed serxansherif closed 3 years ago

serxansherif commented 3 years ago

Hello,

I get the following error when I use the Blue/Green strategy.

image

andy-mishechkin commented 3 years ago

Hello, @serxansherif Did you mean Azure DevOps yaml scheme ? https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=azure-devops&tabs=schema%2Cparameter-schema - here I see no any "blueGreen" keywords for strategies. Parallel, matrix, maxParallel only. image. Please clarify, where did you try to use your yaml file, and if it's possible, please provide link to definition of this yaml Thank you!

serxansherif commented 3 years ago

Hello @andy-mishechkin

According to the following link, Blue green deployment strategy can be used in the yaml pipeline.

https://github.com/microsoft/azure-pipelines-yaml/blob/master/design/deployment-strategies.md

anatolybolshakov commented 3 years ago

Hi @serxansherif blue-green strategy is obsolete at the moment - you can find list of available strategies in docs. I created PR for this - https://github.com/microsoft/azure-pipelines-yaml/pull/541