From 26171a9fdedd0a15d546e71fdc3b1f7f0a5738b3 Mon Sep 17 00:00:00 2001 From: Evan Read Date: Fri, 15 Mar 2019 14:41:22 +1000 Subject: Centralise and simplify text --- doc/ci/yaml/README.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'doc/ci/yaml') diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md index 92a1556e0fb..c1132e00f4e 100644 --- a/doc/ci/yaml/README.md +++ b/doc/ci/yaml/README.md @@ -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. -- cgit v1.2.3