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
Tatuya Kamada
gitlab-ce
Commits
67b85665
Commit
67b85665
authored
Oct 06, 2016
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try tmpfs for repository storage, etc
parent
dcfda304
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
.gitlab-ci.yml
.gitlab-ci.yml
+2
-0
spec/spec_helper.rb
spec/spec_helper.rb
+5
-0
No files found.
.gitlab-ci.yml
View file @
67b85665
...
...
@@ -19,6 +19,8 @@ variables:
before_script
:
-
source ./scripts/prepare_build.sh
-
cp config/gitlab.yml.example config/gitlab.yml
-
mkdir -p tmp/tests
-
mount -t tmpfs tmpfs tmp/tests || echo "tmpfs mount failed, falling back to disc"
-
bundle --version
-
'
[
"$USE_BUNDLE_INSTALL"
!=
"true"
]
||
retry
bundle
install
--without
postgres
production
--jobs
$(nproc)
"${FLAGS[@]}"'
-
retry gem install knapsack
...
...
spec/spec_helper.rb
View file @
67b85665
...
...
@@ -50,6 +50,11 @@ RSpec.configure do |config|
example
.
run
Rails
.
cache
=
caching_store
end
config
.
after
(
:each
)
do
FileUtils
.
rm_rf
(
"tmp/tests/repositories"
)
FileUtils
.
mkdir_p
(
"tmp/tests/repositories"
)
end
end
FactoryGirl
::
SyntaxRunner
.
class_eval
do
...
...
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