summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitar Dimitrov <me@ddimitrov.name>2015-09-30 16:30:13 +0300
committerDimitar Dimitrov <me@ddimitrov.name>2015-09-30 16:30:13 +0300
commitf4eaae57679287b3e92a943b50a66ddb641350d9 (patch)
treed07c15c46572077af64e5227755d264a429882cb
parent34431d8ecb1c3d3082c3e391db70b33ca7dbf056 (diff)
downloadgitlab-ce-f4eaae57679287b3e92a943b50a66ddb641350d9.tar.gz
Add a missing RAILS_ENV=production to crontab clearing
All other commands in the guide set this env var, but it's missing here and this causes whenever not to clear the crontab file of gitab_ci properly.
-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