dmitryserbin / azdev-release-orchestrator

Azure DevOps extension to manage and orchestrate release pipelines
MIT License
23 stars 12 forks source link

Trigger last stable release? #26

Closed evertonmc closed 3 years ago

evertonmc commented 4 years ago

Is it possible to trigger a release with the artifacts of the last successful release? image

dmitryserbin commented 4 years ago

Thanks for your feedback. Currently, when selecting latest release, the orchestrator will find and re-deploy a latest available release regardless status of the target stage (i.e. it may re-run failed stages, if any).

It might be possible to add target stage status filter for latest release deployment, so it will only proceed with successfully deployed stages. I will add this to the backlog.

evertonmc commented 4 years ago

cool, thanks. Use case: recreate environment every morning with last successful release of every component.

dmitryserbin commented 4 years ago

Meanwhile, you can try tagging last successful release artifact using this extension and using artifact tag filter for the orchestrator job.

1) Successfully deploy stage 2) Add stage name tag to the deployed artifact (using task above 3) Run orchestrator with filter artifact tag = stage name

image

image

evertonmc commented 4 years ago

Thanks, but this only works for build artifacts coming from the same project as the release pipeline, which don't apply for me

dmitryserbin commented 3 years ago

This will be addressed in the next release.