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
20a019e1
Commit
20a019e1
authored
Jan 24, 2021
by
Ryan Causey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify stop job required keywords as it relates to rules
parent
c401a604
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+6
-2
No files found.
doc/ci/yaml/README.md
View file @
20a019e1
...
@@ -2627,14 +2627,18 @@ to change the job without overriding the global variables.
...
@@ -2627,14 +2627,18 @@ to change the job without overriding the global variables.
The
`stop_review_app`
job is
**required**
to have the following keywords defined:
The
`stop_review_app`
job is
**required**
to have the following keywords defined:
-
`when`
-
[
reference
](
#when
)
-
`when`
, defined at either:
-
[
The job level
](
#when
)
.
-
[
In a rules clause
](
#rules
)
. If you use
`rules:`
and
`when: manual`
, you should
also set
[
`allow_failure: true`
](
#allow_failure
)
so the pipeline can complete
even if the job doesn't run.
-
`environment:name`
-
`environment:name`
-
`environment:action`
-
`environment:action`
Additionally, both jobs should have matching
[
`rules`
](
../yaml/README.md#onlyexcept-basic
)
Additionally, both jobs should have matching
[
`rules`
](
../yaml/README.md#onlyexcept-basic
)
or
[
`only/except`
](
../yaml/README.md#onlyexcept-basic
)
configuration.
or
[
`only/except`
](
../yaml/README.md#onlyexcept-basic
)
configuration.
In the example above, if the configuration is not identical:
In the example
s
above, if the configuration is not identical:
-
The
`stop_review_app`
job might not be included in all pipelines that include the
`review_app`
job.
-
The
`stop_review_app`
job might not be included in all pipelines that include the
`review_app`
job.
-
It is not possible to trigger the
`action: stop`
to stop the environment automatically.
-
It is not possible to trigger the
`action: stop`
to stop the environment automatically.
...
...
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