summaryrefslogtreecommitdiff
path: root/spec/gitlab_shell_gitlab_shell_spec.rb
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2019-03-11 10:44:36 +0100
committerBob Van Landuyt <bob@vanlanduyt.co>2019-03-13 12:17:52 +0100
commitf9d3d8b301c90d05012ac3a8ec53d0ff1dd3aa79 (patch)
tree739325471ad815cdd14cdf1eea5c7b27e4f0c046 /spec/gitlab_shell_gitlab_shell_spec.rb
parent2a51ab3902226b2d571987d07edb31425054215e (diff)
downloadgitlab-shell-f9d3d8b301c90d05012ac3a8ec53d0ff1dd3aa79.tar.gz
Get secret from config
This adds parsing if the `secret_file` from YAML. And reads the contents of the configured file. If no file is configured, we fall back to the `.gitlab_shell_secret` in the root dir of the configuration. If the configured path does not start with a `/` we start looking for the file relative to the root dir of the configuration.
Diffstat (limited to 'spec/gitlab_shell_gitlab_shell_spec.rb')
0 files changed, 0 insertions, 0 deletions