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
bb5b386a
Commit
bb5b386a
authored
May 17, 2020
by
Diego M. Perilla
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replace hidden keys for hidden jobs
parent
7490cd7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+4
-4
No files found.
doc/ci/yaml/README.md
View file @
bb5b386a
...
...
@@ -756,7 +756,7 @@ Note that `script: rake test` has been overwritten by `script: rake rspec`.
If you do want to include the
`rake test`
, see
[
`before_script` and `after_script`
](
#before_script-and-after_script
)
.
`.tests`
in this example is a
[
hidden
key
](
#hide-jobs
)
, but it's
`.tests`
in this example is a
[
hidden
job
](
#hide-jobs
)
, but it's
possible to inherit from regular jobs as well.
`extends`
supports multi-level inheritance, however it's not recommended to
...
...
@@ -3595,7 +3595,7 @@ Read more about the various [YAML features](https://learnxinyminutes.com/docs/ya
YAML has a handy feature called 'anchors', which lets you easily duplicate
content across your document. Anchors can be used to duplicate/inherit
properties, and is a perfect example to be used with
[
hidden
key
s
](
#hide-jobs
)
properties, and is a perfect example to be used with
[
hidden
job
s
](
#hide-jobs
)
to provide templates for your jobs.
The following example uses anchors and map merging. It will create two jobs,
...
...
@@ -3709,7 +3709,7 @@ test:mysql:
-
ruby
```
You can see that the hidden
key
s are conveniently used as templates.
You can see that the hidden
job
s are conveniently used as templates.
NOTE:
**Note:**
You can't use YAML anchors across multiple files when leveraging the
[
`include`
](
#include
)
...
...
@@ -3807,7 +3807,7 @@ GitLab CI/CD. In the following example, `.hidden_job` will be ignored:
```
Use this feature to ignore jobs, or use the
[
special YAML features
](
#special-yaml-features
)
and transform the hidden
key
s
[
special YAML features
](
#special-yaml-features
)
and transform the hidden
job
s
into templates.
## Skip Pipeline
...
...
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