Skip to content

Track Omnibus deployments when deploying GitLab

Yorick Peterse requested to merge omnibus-release-tracking into master

This adds support for tracking Omnibus deployments for both regular and auto deployments. Parsing versions into Omnibus data is done in a way similar to parsing versions for GitLab Rails, but using a dedicated class since the internals are different from parsing GitLab Rails versions.

The way this roughly works is as follows:

  1. For an auto-deploy we extract the Omnibus SHA from the version, then expand that into a full SHA and ref name. Just like for GitLab Rails we rely on auto-deployment pipelines to determine the deployed ref.

  2. For tags we basically just take the input version, convert it to an Omnibus tag name, then get the SHA from that tag.

See gitlab-com/gl-infra/delivery#678 (closed) for more information.

Merge request reports