Skip to content

feat: Auto-update chart required stops

João Alexandre Cunha requested to merge auto-update-charts-required-stops into master

What does this MR do and why?

Analog to Maintain upgrade stop for Omnibus (!2925 - merged).

This MR uses the existing upgrade path information to update the chart upgrade stop on each release.

Previously each upgrade stop was updated manually:

Related issue

Closes gitlab-org/charts/gitlab#5494 (closed)

Content

* feat: Auto-update chart required stops

In https://gitlab.com/gitlab-org/release-tools/-/merge_requests/2925 we
added automatic updates of required stops to Omnibus. Now we're doing
the same for the GitLab Helm chart.

It's making use of the already existing
ReleaseTools::PublicRelease::UpgradeStop class. The logic is pretty similar
to what was done to Omnibus, the only difference is which files we need
to change on the chart project, and which regex we're using to replace.

Changelog: added

* Remove unnecessary auxiliar method

* Remove unused shared_context

Author Check-list

  • Has documentation been updated?
Edited by João Alexandre Cunha

Merge request reports

Loading