summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2015-09-30 13:37:23 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2015-09-30 13:37:23 +0000
commit72b496b3a01043187a9e56d32bde3cb5f51980dd (patch)
treed07c15c46572077af64e5227755d264a429882cb
parent34431d8ecb1c3d3082c3e391db70b33ca7dbf056 (diff)
parentf4eaae57679287b3e92a943b50a66ddb641350d9 (diff)
downloadgitlab-ce-72b496b3a01043187a9e56d32bde3cb5f51980dd.tar.gz
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
-rw-r--r--doc/migrate_ci_to_ce/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/migrate_ci_to_ce/README.md b/doc/migrate_ci_to_ce/README.md
index 2725bf343ee..56bf7a14182 100644
--- a/doc/migrate_ci_to_ce/README.md
+++ b/doc/migrate_ci_to_ce/README.md
@@ -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