Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
8a0753a5
Commit
8a0753a5
authored
Mar 30, 2017
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't clean up the gitlab-test-fork_bare repo
parent
bf0590b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/support/test_env.rb
spec/support/test_env.rb
+2
-2
No files found.
spec/support/test_env.rb
View file @
8a0753a5
...
@@ -40,7 +40,7 @@ module TestEnv
...
@@ -40,7 +40,7 @@ module TestEnv
'csv'
=>
'3dd0896'
,
'csv'
=>
'3dd0896'
,
'v1.1.0'
=>
'b83d6e3'
'v1.1.0'
=>
'b83d6e3'
}.
freeze
}.
freeze
# gitlab-test-fork is a fork of gitlab-fork, but we don't necessarily
# gitlab-test-fork is a fork of gitlab-fork, but we don't necessarily
# need to keep all the branches in sync.
# need to keep all the branches in sync.
# We currently only need a subset of the branches
# We currently only need a subset of the branches
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment