init: silence assets compilation output (too much noise).

This commit is contained in:
Sameer Naik 2015-03-23 16:25:03 +05:30
parent 04d949a8e4
commit 26e35c6c33

View File

@ -759,8 +759,8 @@ appStart () {
sudo -u git -H mkdir -p ${GITLAB_DATA_DIR}/tmp/public/assets/
echo "Compiling assets. Please be patient, this could take a while..."
sudo -u git -H bundle exec rake assets:clean RAILS_ENV=production
sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production
sudo -u git -H bundle exec rake assets:clean RAILS_ENV=production >/dev/null 2>&1
sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production >/dev/null 2>&1
sudo -u git -H touch tmp/cache/VERSION
sudo -u git -H echo "${GITLAB_VERSION}" > tmp/cache/VERSION
sudo -u git -H echo "${GITLAB_RELATIVE_URL_ROOT}" > tmp/cache/GITLAB_RELATIVE_URL_ROOT