18
0
Fork 0

update procédure de migration

This commit is contained in:
Benoît S. 2017-05-17 10:19:45 +02:00
parent 826036f853
commit ede9072538
1 changed files with 3 additions and 2 deletions

View File

@ -445,7 +445,7 @@ $ git commit -a -m 'change default user'
~~~
$ cd ~/gitlab-shell
$ git fetch
$ git checkout v$(cat ~/gitlab/GITLAB_SHELL_VERSION) -b v$(cat ~/gitlab/GITLAB_SHELL_VERSION)
$ git checkout v$(cat ~/gitlab/GITLAB_SHELL_VERSION) -b v$(cat ~/gitlab/GITLAB_SHELL_VERSION
~~~
### Mise à jour de gitlab-workhorse
@ -464,7 +464,8 @@ $ cd ~/gitlab
$ bundle install --without development test mysql aws kerberos --deployment
$ bundle clean
$ bundle exec rake db:migrate RAILS_ENV=production
$ bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production
$ bundle exec rake yarn:install gitlab:assets:clean gitlab:assets:compile RAILS_ENV=production NODE_ENV=production
$ bundle exec rake cache:clear RAILS_ENV=production
$ git commit -a -m 'upgraded to 9.x.y'
~~~