As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Commit ef945750 authored by Ash McKenzie's avatar Ash McKenzie
Browse files

Remove parsing of repository_storage_paths

parent d21a781b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -5,18 +5,12 @@ require_relative '../support/gitlab_config'
config = GitlabConfig.new
key_dir = File.dirname("#{config.auth_file}")
repository_storage_paths = ARGV
commands = [
%W(mkdir -p #{key_dir}),
%W(chmod 700 #{key_dir}),
]
repository_storage_paths.each do |repository_storage_path|
commands << %W(mkdir -p #{repository_storage_path})
commands << %W(chmod ug+rwX,o-rwx #{repository_storage_path})
end
commands.each do |cmd|
print "#{cmd.join(' ')}: "
if system(*cmd)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment