Skip to content

Add ERB template support to omnibus configurations

Sanad Liaquat requested to merge qa-shl-add-omnibus-configuration-for-oauth into master

What does this MR do and why?

Describe in detail what your merge request does and why.

There are omnibus configurations that currently uses the template method and we would like to move them to use the Omnibus Configurator.

However, currently the Omnibus configurator cannot use attributes from components (such as the GitLab's address) because:

  1. The attributes are available only after the components are created
  2. The Omnibus configurations are loaded before the component is created.

This MR solves this problem by adding ERB template support to omnibus configurations. A component can now inject variables into Omnibus configuration by expanding the ERB template and providing the necessary values.

This MR also adds Omnibus configurators for Facebook and Github OAuth. The existing OAuth scenario will be removed once jobs are in place that use the new Omnibus configurator files.

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Sanad Liaquat

Merge request reports