Maintenance: Clean-up unneeded test files during the build process. (#249)

This commit is contained in:
Martin Gruner 2021-10-19 11:53:10 +02:00 committed by GitHub
parent c5a6f5afec
commit 01daa74920
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,6 +24,7 @@ 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
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