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
7827eae5
Commit
7827eae5
authored
Oct 23, 2018
by
Elan Ruusamäe
Committed by
Elan Ruusamäe
Dec 10, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci/yaml: remove "recursion" mention if merging is not recursive
parent
5a727a4d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+8
-8
No files found.
doc/ci/yaml/README.md
View file @
7827eae5
...
@@ -1716,13 +1716,17 @@ include:
...
@@ -1716,13 +1716,17 @@ include:
---
---
Since GitLab 10.8 we are now
recursively
merging the files defined in
`include`
Since GitLab 10.8 we are now
deep
merging the files defined in
`include`
with those in
`.gitlab-ci.yml`
. Files defined by
`include`
are always
with those in
`.gitlab-ci.yml`
. Files defined by
`include`
are always
evaluated first and
recursively
merged with the content of
`.gitlab-ci.yml`
, no
evaluated first and merged with the content of
`.gitlab-ci.yml`
, no
matter the position of the
`include`
keyword. You can take advantage of
matter the position of the
`include`
keyword. You can take advantage of
recursive
merging to customize and override details in included CI
merging to customize and override details in included CI
configurations with local definitions.
configurations with local definitions.
NOTE:
**Note:**
The recursive includes are not supported, meaning your external files
should not use the
`include`
keyword, as it will be ignored.
The following example shows specific YAML-defined variables and details of the
The following example shows specific YAML-defined variables and details of the
`production`
job from an include file being customized in
`.gitlab-ci.yml`
.
`production`
job from an include file being customized in
`.gitlab-ci.yml`
.
...
@@ -1772,11 +1776,7 @@ with the environment url of the `production` job defined in
...
@@ -1772,11 +1776,7 @@ with the environment url of the `production` job defined in
`autodevops-template.yml`
have been overridden by new values defined in
`autodevops-template.yml`
have been overridden by new values defined in
`.gitlab-ci.yml`
.
`.gitlab-ci.yml`
.
NOTE:
**Note:**
The merging lets you extend and override dictionary mappings, but
Recursive includes are not supported meaning your external files
should not use the
`include`
keyword, as it will be ignored.
Recursive merging lets you extend and override dictionary mappings, but
you cannot add or modify items to an included array. For example, to add
you cannot add or modify items to an included array. For example, to add
an additional item to the production job script, you must repeat the
an additional item to the production job script, you must repeat the
existing script items.
existing script items.
...
...
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