archives/gitlab-shell: new aport

This commit is contained in:
Antoine Martin 2024-08-09 22:27:57 -04:00
parent f690124a2f
commit 9f6c072b60
Signed by: ayakael
GPG key ID: D62A472A4AA7D541
6 changed files with 270 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- a/support/gitlab_config.rb
+++ b/support/gitlab_config.rb
@@ -4,7 +4,7 @@ class GitlabConfig
attr_reader :config
def initialize
- @config = YAML.load_file(File.join(ROOT_PATH, 'config.yml'))
+ @config = YAML.load_file(ENV.fetch('GITLAB_SHELL_CONFIG', '/etc/gitlab/gitlab-shell.yml'))
end
def home