user/gitlab-shell: new aport

This commit is contained in:
build@apk-groulx 2023-01-11 13:38:45 +00:00
parent 95b9767c2b
commit 02bebb22f7
6 changed files with 251 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