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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
26171a9f
Commit
26171a9f
authored
Mar 15, 2019
by
Evan Read
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Centralise and simplify text
parent
3c16ce69
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+5
-7
No files found.
doc/ci/yaml/README.md
View file @
26171a9f
...
@@ -1702,6 +1702,11 @@ of using YAML anchors, you can use the [`extends` keyword](#extends).
...
@@ -1702,6 +1702,11 @@ of using YAML anchors, you can use the [`extends` keyword](#extends).
See
[
usage examples
](
#include-examples
)
.
See
[
usage examples
](
#include-examples
)
.
NOTE:
**Note:**
`.gitlab-ci.yml`
configuration included by all methods is evaluated at pipeline creation.
The configuration is a snapshot in time and persisted in the database. Any changes to
referenced
`.gitlab-ci.yml`
configuration will not be reflected in GitLab until the next pipeline is created.
#### `include:local`
#### `include:local`
`include:local`
includes a file from the same repository as
`.gitlab-ci.yml`
.
`include:local`
includes a file from the same repository as
`.gitlab-ci.yml`
.
...
@@ -1789,16 +1794,9 @@ include:
...
@@ -1789,16 +1794,9 @@ include:
-
remote
:
'
https://gitlab.com/awesome-project/raw/master/.gitlab-ci-template.yml'
-
remote
:
'
https://gitlab.com/awesome-project/raw/master/.gitlab-ci-template.yml'
```
```
At pipeline creation, remote
`.gitlab-ci.yml`
files are expanded to create
pipelines with stages containing jobs and retried jobs.
All nested includes will be executed without context as public user, so only another remote,
All nested includes will be executed without context as public user, so only another remote,
or public project, or template is allowed.
or public project, or template is allowed.
NOTE:
**Note:**
Changes to remote includes will not affect already created pipelines. To have remote includes affect already
created pipelines, recreate the pipeline.
#### Nested includes
#### Nested includes
> [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/issues/53903) in GitLab 11.7.
> [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/issues/53903) in GitLab 11.7.
...
...
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