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
2c0bb9d8
Commit
2c0bb9d8
authored
May 19, 2021
by
Tim Poffenbarger
Committed by
Evan Read
May 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document that CI stages can be invisible
parent
dc7476a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+7
-0
doc/user/project/settings/index.md
doc/user/project/settings/index.md
+3
-1
No files found.
doc/ci/yaml/README.md
View file @
2c0bb9d8
...
...
@@ -152,6 +152,13 @@ are the default pipeline stages.
If a job does not specify a
[
`stage`
](
#stage
)
, the job is assigned the
`test`
stage.
If a stage is defined, but no jobs use it, the stage is not visible in the pipeline. This is
useful for
[
compliance pipeline configuration
](
../../user/project/settings/index.md#compliance-pipeline-configuration
)
because:
-
Stages can be defined in the compliance configuration but remain hidden if not used.
-
The defined stages become visible when developers use them in job definitions.
To make a job start earlier and ignore the stage order, use
the
[
`needs`
](
#needs
)
keyword.
...
...
doc/user/project/settings/index.md
View file @
2c0bb9d8
...
...
@@ -77,7 +77,9 @@ The user running the pipeline in the project should at least have Reporter acces
Example
`.compliance-gitlab-ci.yml`
```
yaml
stages
:
# Allows compliance team to control the ordering and interweaving of stages/jobs
# Allows compliance team to control the ordering and interweaving of stages/jobs.
# Stages without jobs defined will remain hidden.
stages
:
-
pre-compliance
-
build
-
test
...
...
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