remove without from bundle command (#250)
* remove without from bundle command * fix quote
This commit is contained in:
parent
01daa74920
commit
a703b63cb1
@ -24,8 +24,8 @@ if [ "$1" = 'builder' ]; then
|
||||
tar -xzf zammad-"${GIT_BRANCH}".tar.gz
|
||||
rm zammad-"${GIT_BRANCH}".tar.gz
|
||||
cd "${ZAMMAD_TMP_DIR}"
|
||||
script/build/cleanup.sh
|
||||
bundle install --without test development mysql
|
||||
bundle config set without 'test development mysql'
|
||||
bundle install
|
||||
contrib/packager.io/fetch_locales.rb
|
||||
sed -e 's#.*adapter: postgresql# adapter: nulldb#g' -e 's#.*username:.*# username: postgres#g' -e 's#.*password:.*# password: \n host: zammad-postgresql\n#g' < contrib/packager.io/database.yml.pkgr > config/database.yml
|
||||
sed -i "/require 'rails\/all'/a require\ 'nulldb'" config/application.rb
|
||||
@ -33,6 +33,7 @@ if [ "$1" = 'builder' ]; then
|
||||
touch db/schema.rb
|
||||
bundle exec rake assets:precompile
|
||||
rm -r tmp/cache
|
||||
script/build/cleanup.sh
|
||||
chown -R "${ZAMMAD_USER}":"${ZAMMAD_USER}" "${ZAMMAD_TMP_DIR}"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user