Skip to content
Snippets Groups Projects
Commit 96779404 authored by Jacob Vosmaer (GitLab)'s avatar Jacob Vosmaer (GitLab) Committed by Wes Gurney
Browse files

Add -H to sudo commands in 4.1-to-4.2.md

parent 19a24758
No related branches found
No related tags found
1 merge request!4954Add support to configure webhook_timeout in gitlab.yaml
This commit is part of merge request !4954. Comments created here will be created in the context of that merge request.
Loading
Loading
@@ -12,15 +12,15 @@
cd /home/gitlab/gitlab/
 
# Get latest code
sudo -u gitlab git fetch
sudo -u gitlab -H git fetch
 
sudo -u gitlab git checkout 4-2-stable
sudo -u gitlab -H git checkout 4-2-stable
 
# Install libs
sudo -u gitlab bundle install --without development test postgres --deployment
sudo -u gitlab -H bundle install --without development test postgres --deployment
 
# update db
sudo -u gitlab bundle exec rake db:migrate RAILS_ENV=production
sudo -u gitlab -H bundle exec rake db:migrate RAILS_ENV=production
 
```
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment