Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
779c28b2
Commit
779c28b2
authored
Jul 03, 2020
by
Ben Bodenmiller
Committed by
Marcel Amirault
Jul 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move note about auto stop limitations out of example
parent
dd506bad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
doc/ci/environments/index.md
doc/ci/environments/index.md
+6
-6
No files found.
doc/ci/environments/index.md
View file @
779c28b2
...
...
@@ -739,6 +739,12 @@ To enable this feature, you need to specify the [`environment:auto_stop_in`](../
You can specify a human-friendly date as the value, such as
`1 hour and 30 minutes`
or
`1 day`
.
`auto_stop_in`
uses the same format of
[
`artifacts:expire_in` docs
](
../yaml/README.md#artifactsexpire_in
)
.
NOTE:
**Note:**
Due to the resource limitation, a background worker for stopping environments only
runs once every hour. This means environments will not be stopped at the exact
timestamp as the specified period, but will be stopped when the hourly cron worker
detects expired environments.
##### Auto-stop example
In the following example, there is a basic review app setup that creates a new environment
...
...
@@ -778,12 +784,6 @@ and the environment will be active until it's stopped manually.
![
Environment auto stop
](
../img/environment_auto_stop_v12_8.png
)
NOTE:
**NOTE**
Due to the resource limitation, a background worker for stopping environments only
runs once every hour. This means environments will not be stopped at the exact
timestamp as the specified period, but will be stopped when the hourly cron worker
detects expired environments.
#### Delete a stopped environment
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/20620) in GitLab 12.10.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment