Skip to content

Experiment: can we identify the last auto_deploy package from release/metadata?

Alessio Caiazza requested to merge last_product_version into master

What does this MR do and why?

This MR runs a little experiment to figure out if it is possible to decouple product metadata fetching from release-tools tags.

Today we identify packages using the previous tag on a coordinator pipeline (a tag on release-tools) to fetch release-metadata of the previous package and search for changes.

There is too much coupling with the pipeline running it, it it will not be possible to split package tagging from package deployment with this implementation.

In this merge request we implement Enumerable on ProductVersion to lazily enumerate product versions from release/metadata commits.

On top of that we are validating this assumption by introducing experiments metrics in release tools to count how many times the new and old implementation found the same gitlab version.

Status

The metric can be seen live on thanos

Edited by Alessio Caiazza

Merge request reports