Skip to content
Snippets Groups Projects
Commit f64bcf5e authored by Joerg Behrmann's avatar Joerg Behrmann
Browse files

Use --local for setting bundle config

This is a followup to !55170, since during the review of <gitlab-org/gitaly!3199
it was noted that not using --local sets the option globally.
parent 44b4326b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -570,8 +570,8 @@ Install the gems (if you want to use Kerberos for user authentication, omit
`kerberos` in the `--without` option below):
 
```shell
sudo -u git -H bundle config set deployment 'true'
sudo -u git -H bundle config set without 'development test mysql aws kerberos'
sudo -u git -H bundle config set --local deployment 'true'
sudo -u git -H bundle config set --local without 'development test mysql aws kerberos'
sudo -u git -H bundle install
```
 
Loading
Loading
Loading
Loading
@@ -43,7 +43,12 @@ sudo -u git -H git checkout LATEST_TAG -b LATEST_TAG
```shell
cd /home/git/gitlab
 
sudo -u git -H bundle install --without development test mysql --deployment
# If you haven't done so during installation or a previous upgrade already
sudo -u git -H bundle config set --local deployment 'true'
sudo -u git -H bundle config set --local without 'development test mysql aws kerberos'
# Update gems
sudo -u git -H bundle install
 
# Optional: clean up old gems
sudo -u git -H bundle clean
Loading
Loading
Loading
Loading
@@ -63,8 +63,11 @@ sudo -u git -H git checkout EE_BRANCH
```shell
cd /home/git/gitlab
 
sudo -u git -H bundle config set deployment 'true'
sudo -u git -H bundle config set without 'development test mysql aws kerberos'
# If you haven't done so during installation or a previous upgrade already
sudo -u git -H bundle config set --local deployment 'true'
sudo -u git -H bundle config set --local without 'development test mysql aws kerberos'
# Update gems
sudo -u git -H bundle install
 
# Optional: clean up old gems
Loading
Loading
Loading
Loading
@@ -269,8 +269,8 @@ sudo systemctl daemon-reload
cd /home/git/gitlab
 
# If you haven't done so during installation or a previous upgrade already
sudo -u git -H bundle config set deployment 'true'
sudo -u git -H bundle config set without 'development test mysql aws kerberos'
sudo -u git -H bundle config set --local deployment 'true'
sudo -u git -H bundle config set --local without 'development test mysql aws kerberos'
 
# Update gems
sudo -u git -H bundle install
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