Commit 3df6c44e authored by Robert Speicher's avatar Robert Speicher

Merge branch 'make-checkbox-behaviour-clear' into '8-0-stable'

Make instructions for CI disable checkbox clear.

Fix confusion in https://gitlab.com/gitlab-org/gitlab-ce/issues/2663

See merge request !1431
parents 834678f3 41bb9948
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
.checkbox .checkbox
= f.label :ci_enabled do = f.label :ci_enabled do
= f.check_box :ci_enabled = f.check_box :ci_enabled
Disable to prevent CI usage until rake ci:migrate is run (8.0 only) When unchecked CI is disabled until rake ci:migrate is run (8.0 only)
.form-actions .form-actions
= f.submit 'Save', class: 'btn btn-primary' = f.submit 'Save', class: 'btn btn-primary'
...@@ -116,8 +116,7 @@ https://about.gitlab.com/update/ ...@@ -116,8 +116,7 @@ https://about.gitlab.com/update/
After you update, go to the admin panel and temporarily disable CI. As After you update, go to the admin panel and temporarily disable CI. As
an administrator, go to **Admin Area** -> **Settings**, and under an administrator, go to **Admin Area** -> **Settings**, and under
**Continuous Integration** uncheck **Disable to prevent CI usage until rake **Continuous Integration** uncheck **When unchecked CI is disabled until rake ci:migrate is run (8.0 only)**.
ci:migrate is run (8.0 only)**.
#### 3. CI settings are now in GitLab #### 3. CI settings are now in GitLab
...@@ -229,6 +228,8 @@ cd /home/git/gitlab ...@@ -229,6 +228,8 @@ cd /home/git/gitlab
sudo -u git -H bundle exec rake ci:migrate RAILS_ENV=production sudo -u git -H bundle exec rake ci:migrate RAILS_ENV=production
``` ```
(this rake task automatically unchecks the 'When unchecked CI is disabled until rake ci:migrate is run (8.0 only)' checkbox)
#### 6. Restart GitLab #### 6. Restart GitLab
``` ```
......
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