Skip to content

Gitaly: update cgroups configuration

John Cai requested to merge jc-update-cgroups-config-gitaly into master

What does this MR do?

Gitaly: update cgroups configuration

In 15.0, we are updating the way that cgroups are configured. gitaly!4483 (merged) has the Gitaly changes.

This MR modifies the way the gitaly config toml generates the cgroups config according to the new format.

A second commit detects if an old version of the config is being used, and will translate it to the new config format on the Gitaly side. This way, we maintain backwards compatibility and omnibus acts as a translation layer.

NOTE: Gitaly will also remain backwards compatible with the old config as well.

Changelog: changed

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion

Required

  • Merge Request Title, and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com
  • Pipeline is green on dev.gitlab.org if the change is touching anything besides documentation or internal cookbooks
  • trigger-package has a green pipeline running against latest commit

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Tests added
  • Integration tests added to GitLab QA
  • Equivalent MR/issue for the GitLab Chart opened
Edited by John Cai

Merge request reports