Skip to content

Introduce Remote Dev Settings module

Chad Woolley requested to merge caw-rd-add-config-injection into master

Issue: Introduce Remote Dev Settings module (#442103 - closed)

What does this MR do and why?

Implements changes described in Introduce Remote Dev Settings module (#442103 - closed)

MR acceptance checklist

See #442103 (closed)

How to set up and validate locally

  • Verify overriding of all supported values from ee/lib/remote_development/settings/defaults_initializer.rb via ENV vars in the form GITLAB_REMOTE_DEVELOPMENT_*
  • Verify overriding of default_branch_name in application settings. Since this is not used directly, you can test by displaying it:
  • Verify precedence that ENV vars override current settings:
    • With the current setting for default branch still overridden, set an ENV var override to a different value in GITLAB_REMOTE_DEVELOPMENT_DEFAULT_BRANCH_NAME
    • Start a new bin/rails c and verify the ENV var value is used.
Edited by Chad Woolley

Merge request reports