BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide 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_helper.rb
spec/spec_helper.rb
+5
-0
No files found.
.gitlab-ci.yml
View file @
67b85665
...
@@ -19,6 +19,8 @@ variables:
...
@@ -19,6 +19,8 @@ variables:
before_script
:
before_script
:
-
source ./scripts/prepare_build.sh
-
source ./scripts/prepare_build.sh
-
cp config/gitlab.yml.example config/gitlab.yml
-
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
-
bundle --version
-
'
[
"$USE_BUNDLE_INSTALL"
!=
"true"
]
||
retry
bundle
install
--without
postgres
production
--jobs
$(nproc)
"${FLAGS[@]}"'
-
'
[
"$USE_BUNDLE_INSTALL"
!=
"true"
]
||
retry
bundle
install
--without
postgres
production
--jobs
$(nproc)
"${FLAGS[@]}"'
-
retry gem install knapsack
-
retry gem install knapsack
...
...
spec/spec_helper.rb
View file @
67b85665
...
@@ -50,6 +50,11 @@ RSpec.configure do |config|
...
@@ -50,6 +50,11 @@ RSpec.configure do |config|
example
.
run
example
.
run
Rails
.
cache
=
caching_store
Rails
.
cache
=
caching_store
end
end
config
.
after
(
:each
)
do
FileUtils
.
rm_rf
(
"tmp/tests/repositories"
)
FileUtils
.
mkdir_p
(
"tmp/tests/repositories"
)
end
end
end
FactoryGirl
::
SyntaxRunner
.
class_eval
do
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