Skip to content

GLOBAL_SETTINGS_FILE

Warren Gifford requested to merge bl/global-settings into master

Created by: beyang

Fixes https://github.com/sourcegraph/sourcegraph/issues/5014

Changelog description:

Global settings can be configured from a local file using the environment variable GLOBAL_SETTINGS_FILE.

This is similar to SITE_CONFIG_FILE and CRITICAL_CONFIG_FILE but for global settings. See the docs (in the diff) for a complete description of what this does.

Please test the following:

  • Setting GLOBAL_SETTINGS_FILE is reflected in the value of global settings in the UI.
  • You can't edit the global settings in the UI if GLOBAL_SETTINGS_FILE is set.
  • You can edit the global settings if GLOBAL_SETTINGS_FILE is set and GLOBAL_SETTINGS_ALLOW_EDITS=true.

Merge request reports

Loading