summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2016-10-06 15:37:25 +0100
committerNick Thomas <nick@gitlab.com>2016-10-06 17:42:56 +0100
commit67b85665777c7ee4d808a58bff8fbe199cfdbab2 (patch)
treecd7abbeee67d0aaadffd955c906db32f952fc4b6 /.gitlab-ci.yml
parentdcfda304aa8c06f427cb5672ceb4e070047436be (diff)
downloadgitlab-ce-67b85665777c7ee4d808a58bff8fbe199cfdbab2.tar.gz
Try tmpfs for repository storage, etc
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8645488335e..cb6f691058e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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