From cdd4f97edf89e892857fd6279a5fd62684bedbed Mon Sep 17 00:00:00 2001 From: root Date: Wed, 17 May 2017 10:15:42 +0200 Subject: [PATCH] Oops missing bundle. --- gitlab_upgrade_minor9.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitlab_upgrade_minor9.sh b/gitlab_upgrade_minor9.sh index 865c938..ff2ddf5 100755 --- a/gitlab_upgrade_minor9.sh +++ b/gitlab_upgrade_minor9.sh @@ -31,7 +31,7 @@ cd /home/${gitlabUser}/gitlab sudo -u $gitlabUser -H bundle install --without development test mysql aws kerberos --deployment sudo -u $gitlabUser -H bundle clean sudo -u $gitlabUser -H bundle exec rake db:migrate RAILS_ENV=production -sudo -u $gitlabUser -H exec rake yarn:install gitlab:assets:clean gitlab:assets:compile RAILS_ENV=production NODE_ENV=production +sudo -u $gitlabUser -H bundle exec rake yarn:install gitlab:assets:clean gitlab:assets:compile RAILS_ENV=production NODE_ENV=production sudo -u $gitlabUser -H bundle exec rake cache:clear RAILS_ENV=production sudo -u $gitlabUser -H git commit -a --amend -m "upgraded to $gitlabVersion" /etc/init.d/${gitlabUser} restart