Skip to content
Snippets Groups Projects
Commit afcdd6f1 authored by Marin Jankovski's avatar Marin Jankovski
Browse files

Update document about example CE build script to only use bundle path when necessary.

parent 556ea04f
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
@@ -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
```
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment