Commit 72b496b3 authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch 'fix-clear-crontab-in-ci-migration-guide' into 'master'

Add a missing RAILS_ENV=production to fix crontab clearing in the CI migration guide

All other commands in the guide set this env var, but it's missing for the `whenever --clear-crontab` call and this causes it to not clear the crontab properly.

See merge request !1474
parents 34431d8e f4eaae57
......@@ -143,7 +143,7 @@ sudo gitlab-ctl stop ci-sidekiq
# Source
sudo service gitlab_ci stop
cd /home/gitlab_ci/gitlab-ci
sudo -u gitlab_ci -H bundle exec whenever --clear-crontab
sudo -u gitlab_ci -H bundle exec whenever --clear-crontab RAILS_ENV=production
```
### II. Moving data
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment