diff options
author | Caleb Maclennan | 2019-04-08 08:18:53 +0300 |
---|---|---|
committer | Caleb Maclennan | 2019-04-08 08:26:09 +0300 |
commit | 10dfb68ea26a03c1e47069f7b87a92547c4f529d (patch) | |
tree | 3d9b8d8d23bdb07130f08b5bcabf60286936aa4b /gitlab.install | |
parent | eefbf2797680b9fa414c5ef08482974f6140964e (diff) | |
download | aur-10dfb68ea26a03c1e47069f7b87a92547c4f529d.tar.gz |
Update to 11.9.6, track edits from [community]/gitlab
Diffstat (limited to 'gitlab.install')
-rw-r--r-- | gitlab.install | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gitlab.install b/gitlab.install index 3fe2f1a64d95..b9b3a35e31e6 100644 --- a/gitlab.install +++ b/gitlab.install @@ -5,15 +5,15 @@ post_install() { echo "Copy /usr/share/doc/gitlab/secrets.yml.example to /etc/webapps/gitlab/secrets.yml and configure it" echo "Copy a database example config from /usr/share/doc/gitlab/ to /etc/webapps/gitlab/database.yml and configure it" echo "Setup the database:" - echo "# su - gitlab -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; bundle-2.3 exec rake gitlab:setup RAILS_ENV=production\"" + echo "# su - gitlab -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; EXECJS_RUNTIME=Disabled bundle-2.5 exec rake gitlab:setup RAILS_ENV=production\"" echo "Finally run the following commands to check your installation:" - echo "# su - gitlab -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; bundle-2.3 exec rake gitlab:env:info RAILS_ENV=production\"" - echo "# su - gitlab -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; bundle-2.3 exec rake gitlab:check RAILS_ENV=production\"" + echo "# su - gitlab -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; EXECJS_RUNTIME=Disabled bundle-2.5 exec rake gitlab:env:info RAILS_ENV=production\"" + echo "# su - gitlab -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; EXECJS_RUNTIME=Disabled bundle-2.5 exec rake gitlab:check RAILS_ENV=production\"" } post_upgrade() { echo "You should upgrade your database:" - echo "# su - gitlab -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; bundle-2.3 exec rake db:migrate RAILS_ENV=production\"" + echo "# su - gitlab -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; EXECJS_RUNTIME=Disabled bundle-2.5 exec rake db:migrate RAILS_ENV=production\"" echo "Afterwards, restart gitlab-related services:" echo "# systemctl daemon-reload" echo "# systemctl restart gitlab-sidekiq gitlab-unicorn gitlab-workhorse gitlab-gitaly" |