Commit 85490568 authored by Aakriti Gupta's avatar Aakriti Gupta Committed by Achilleas Pipinellis

Improve docs for CI/CD behaviour in maintenance mode

parent 1e1edbaf
...@@ -19,8 +19,8 @@ operations, such as `git clone` or `git pull`. ...@@ -19,8 +19,8 @@ operations, such as `git clone` or `git pull`.
There are three ways to enable maintenance mode as an administrator: There are three ways to enable maintenance mode as an administrator:
- **Web UI**: - **Web UI**:
1. Navigate to the **Admin Area > Application settings > General** and toggle 1. Go to **Admin Area > Settings > General**, expand **Maintenance mode**, and toggle **Enable maintenance mode**.
the maintenance mode. You can optionally add a message for the banner as well. You can optionally add a message for the banner as well.
1. Click **Save** for the changes to take effect. 1. Click **Save** for the changes to take effect.
- **API**: - **API**:
...@@ -41,8 +41,7 @@ There are three ways to enable maintenance mode as an administrator: ...@@ -41,8 +41,7 @@ There are three ways to enable maintenance mode as an administrator:
There are three ways to disable maintenance mode: There are three ways to disable maintenance mode:
- **Web UI**: - **Web UI**:
1. Navigate to the **Admin Area > Application settings > General** and toggle 1. Go to **Admin Area > Settings > General**, expand **Maintenance mode**, and toggle **Enable maintenance mode**.
the maintenance mode. You can optionally add a message for the banner as well.
1. Click **Save** for the changes to take effect. 1. Click **Save** for the changes to take effect.
- **API**: - **API**:
...@@ -85,8 +84,9 @@ All users can log in and out of the GitLab instance. ...@@ -85,8 +84,9 @@ All users can log in and out of the GitLab instance.
In maintenance mode: In maintenance mode:
- No new jobs are started. Already running jobs stay in 'running' - No new jobs or pipelines, scheduled or otherwise, will start in maintenance mode.
status but their logs are no longer updated. - Those jobs that were already running, will continue to show status as 'running' in the Web UI, even if they finish running on GitLab Runner.
**Note** It is recommended that you restart already running pipelines after maintenance mode is turned off.
- If the job has been in 'running' state for longer than the project's time limit, - If the job has been in 'running' state for longer than the project's time limit,
it will **not** time out. it will **not** time out.
- Pipelines cannot be started, retried or canceled in maintenance mode. - Pipelines cannot be started, retried or canceled in maintenance mode.
......
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