summaryrefslogtreecommitdiff
path: root/support/gitlab_config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'support/gitlab_config.rb')
-rw-r--r--support/gitlab_config.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/support/gitlab_config.rb b/support/gitlab_config.rb
index 1416488..52ac5ee 100644
--- a/support/gitlab_config.rb
+++ b/support/gitlab_config.rb
@@ -1,5 +1,8 @@
require 'yaml'
+# Determine the root of the gitlab-shell directory
+ROOT_PATH = ENV.fetch('GITLAB_SHELL_DIR', File.expand_path('..', __dir__))
+
class GitlabConfig
attr_reader :config