Skip to content

Gitaly: add config.toml back, as mock template

Jason Plum requested to merge gitaly-config-as-tpl into master

What does this MR do?

Add config.toml back to Gitaly image, as a "mock" template (ERB) to address concerns of container needing an out of box experience that will function for external parties CI pipelines.

Replace minimized config.toml that was removed in db8853ac, and place via Dockerfile as config.toml.erb into /etc/gitaly. set-config will pick this up to replace the 0 byte file when set-config is ran in the entrypoint behavior. This results in /etc/gitaly/config.toml following the correct permissions and operational pattern.

Related issues

Related to !1145 (comment 1122733553)

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

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Integration tests added to GitLab QA
  • The impact any change in container size has should be evaluated
Edited by Mitchell Nielsen

Merge request reports