summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2015-05-05 17:57:34 +0200
committerMarin Jankovski <maxlazio@gmail.com>2015-05-05 17:57:34 +0200
commitafcdd6f1030880ac107afefde02cd3c03f364195 (patch)
tree25a07ded379e6a593519e49ef1c92d08a5738607 /doc
parent556ea04fd7f40a21ef487b7f74a41c2190068f4e (diff)
downloadgitlab-ci-afcdd6f1030880ac107afefde02cd3c03f364195.tar.gz
Update document about example CE build script to only use bundle path when necessary.
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/build_script_gitlab_ce.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/examples/build_script_gitlab_ce.md b/doc/examples/build_script_gitlab_ce.md
index 167a675..bfbfcdd 100644
--- a/doc/examples/build_script_gitlab_ce.md
+++ b/doc/examples/build_script_gitlab_ce.md
@@ -22,6 +22,7 @@ if [ -f /.dockerinit ]; then
cp config/resque.yml.example config/resque.yml
sed -i 's/localhost/redis/g' config/resque.yml
+ FLAGS=(--deployment --path /cache)
else
export PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin
cp config/database.yml.mysql config/database.yml
@@ -38,7 +39,7 @@ cp config/gitlab.yml.example config/gitlab.yml
touch log/application.log
touch log/test.log
-bundle install --without postgres production --jobs $(nproc) --path .bundle
+bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}"
RAILS_ENV=test bundle exec rake db:create
RAILS_ENV=test SIMPLECOV=true bundle exec rake test
```