Skip to content
Snippets Groups Projects
Verified Commit c3c50422 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Use recursive lookup for git repositories in the bin/create-hooks script

parent 3986309c
No related branches found
No related tags found
1 merge request!128Use recursive lookup for git repositories in the bin/create-hooks script
Pipeline #
v5.0.3
- Use recursive lookup for git repositories in the bin/create-hooks script
v5.0.2
- Adds timeout option to push branches
 
Loading
Loading
5.0.2
5.0.3
Loading
Loading
@@ -11,7 +11,7 @@ require File.join(ROOT_PATH, 'lib', 'gitlab_metrics')
repository_storage_paths = ARGV
 
repository_storage_paths.each do |repo_path|
Dir["#{repo_path.chomp('/')}/*/*.git"].each do |repo|
Dir["#{repo_path.chomp('/')}/**/*.git"].each do |repo|
begin
GitlabMetrics.measure('command-create-hooks') do
GitlabProjects.create_hooks(repo)
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