Update to gitlab-shell 1.5.0 during 5.3-5.4 update
This commit is contained in:
parent
ebf11981e0
commit
6636c161fe
1 changed files with 13 additions and 5 deletions
|
@ -22,7 +22,15 @@ sudo -u git -H git fetch
|
|||
sudo -u git -H git checkout 5-4-stable
|
||||
```
|
||||
|
||||
### 3. Install libs, migrations, etc.
|
||||
### 3. Update gitlab-shell
|
||||
|
||||
```bash
|
||||
cd /home/git/gitlab-shell
|
||||
sudo -u git -H git fetch
|
||||
sudo -u git -H git checkout v1.5.0
|
||||
```
|
||||
|
||||
### 4. Install libs, migrations, etc.
|
||||
|
||||
```bash
|
||||
cd /home/git/gitlab
|
||||
|
@ -38,12 +46,12 @@ sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
|
|||
sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production
|
||||
```
|
||||
|
||||
### 4. Update config files
|
||||
### 5. Update config files
|
||||
|
||||
* Make `/home/git/gitlab/config/gitlab.yml` same as https://github.com/gitlabhq/gitlabhq/blob/5-4-stable/config/gitlab.yml.example but with your settings.
|
||||
* Make `/home/git/gitlab/config/puma.rb` same as https://github.com/gitlabhq/gitlabhq/blob/5-4-stable/config/puma.rb.example but with your settings.
|
||||
|
||||
### 5. Update Init script
|
||||
### 6. Update Init script
|
||||
|
||||
```bash
|
||||
sudo rm /etc/init.d/gitlab
|
||||
|
@ -51,12 +59,12 @@ sudo curl --output /etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlabhq/5
|
|||
sudo chmod +x /etc/init.d/gitlab
|
||||
```
|
||||
|
||||
### 6. Start application
|
||||
### 7. Start application
|
||||
|
||||
sudo service gitlab start
|
||||
sudo service nginx restart
|
||||
|
||||
### 7. Check application status
|
||||
### 8. Check application status
|
||||
|
||||
Check if GitLab and its environment are configured correctly:
|
||||
|
||||
|
|
Loading…
Reference in a new issue