Commit 40a94eb7 authored by Robert Speicher's avatar Robert Speicher

Merge branch '30284-fix-repo-clean-rules' into 'master'

Don't clean up the gitlab-test-fork_bare repo

Closes #30284

See merge request !10342
parents 8f93280e 8a0753a5
...@@ -92,7 +92,7 @@ module TestEnv ...@@ -92,7 +92,7 @@ module TestEnv
tmp_test_path = Rails.root.join('tmp', 'tests', '**') tmp_test_path = Rails.root.join('tmp', 'tests', '**')
Dir[tmp_test_path].each do |entry| Dir[tmp_test_path].each do |entry|
unless File.basename(entry) =~ /\Agitlab-(shell|test|test_bare|test-fork)\z/ unless File.basename(entry) =~ /\Agitlab-(shell|test|test_bare|test-fork|test-fork_bare)\z/
FileUtils.rm_rf(entry) FileUtils.rm_rf(entry)
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment