Commit 26171a9f authored by Evan Read's avatar Evan Read

Centralise and simplify text

parent 3c16ce69
......@@ -1702,6 +1702,11 @@ of using YAML anchors, you can use the [`extends` keyword](#extends).
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` includes a file from the same repository as `.gitlab-ci.yml`.
......@@ -1789,16 +1794,9 @@ include:
- 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,
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
> [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/issues/53903) in GitLab 11.7.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment