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
c55da6d5
Commit
c55da6d5
authored
Jan 06, 2022
by
Marcel Amirault
Committed by
Diana Logan
Jan 06, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add note explaining that nested arrays are OK
parent
dbac37d4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
1 deletion
+35
-1
doc/ci/pipeline_editor/index.md
doc/ci/pipeline_editor/index.md
+35
-1
No files found.
doc/ci/pipeline_editor/index.md
View file @
c55da6d5
...
@@ -83,7 +83,41 @@ where:
...
@@ -83,7 +83,41 @@ where:
-
Configuration imported with
[
`include`
](
../yaml/index.md#include
)
is copied into the view.
-
Configuration imported with
[
`include`
](
../yaml/index.md#include
)
is copied into the view.
-
Jobs that use
[
`extends`
](
../yaml/index.md#extends
)
display with the
-
Jobs that use
[
`extends`
](
../yaml/index.md#extends
)
display with the
[
extended configuration merged into the job
](
../yaml/yaml_optimization.md#merge-details
)
.
[
extended configuration merged into the job
](
../yaml/yaml_optimization.md#merge-details
)
.
-
YAML anchors are
[
replaced with the linked configuration
](
../yaml/yaml_optimization.md#anchors
)
.
-
[
YAML anchors
](
../yaml/yaml_optimization.md#anchors
)
are replaced with the linked configuration.
-
[
YAML `!reference` tags
](
../yaml/yaml_optimization.md#reference-tags
)
are also replaced
with the linked configuration.
Using
`!refence`
tags can cause nested configuration that display with
multiple hyphens (
`-`
) in the expanded view. This behavior is expected, and the extra
hyphens do not affect the job's execution. For example, this configuration and
fully expanded version are both valid:
-
`.gitlab-ci.yml`
file:
```
yaml
.python-req
:
script
:
-
pip install pyflakes
lint-python
:
image
:
python:latest
script
:
-
!reference
[
.python-req
,
script
]
-
pyflakes python/
```
-
Expanded configuration in
**View merged YAML**
tab:
```
yaml
"
.python-req"
:
script
:
-
pip install pyflakes
lint-python
:
script
:
-
-
pip install pyflakes
# <- The extra hyphens do not affect the job's execution.
-
pyflakes python/
image
:
python:latest
```
## Commit changes to CI configuration
## Commit changes to CI configuration
...
...
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