File tree 1 file changed +5
-8
lines changed
1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -1703,6 +1703,11 @@ of using YAML anchors, you can use the [`extends` keyword](#extends).
1703
1703
1704
1704
See [usage examples](#include-examples).
1705
1705
1706
+ NOTE : **Note:**
1707
+ ` .gitlab-ci.yml` configuration included by all methods is evaluated at pipeline creation.
1708
+ The configuration is a snapshot in time and persisted in the database. Any changes to
1709
+ referenced `.gitlab-ci.yml` configuration will not be reflected in GitLab until the next pipeline is created.
1710
+
1706
1711
# ### `include:local`
1707
1712
1708
1713
` include:local` includes a file from the same repository as `.gitlab-ci.yml`.
@@ -1793,14 +1798,6 @@ include:
1793
1798
All nested includes will be executed without context as public user, so only another remote,
1794
1799
or public project, or template is allowed.
1795
1800
1796
- NOTE : **Note:**
1797
- Changes to remote includes will not have effect on already created pipelines,
1798
- because the include is being evaluated at the time of pipeline creation.
1799
- This is when full definition of CI yaml is being expanded in order to create
1800
- pipeline with stages with jobs. You always retry job that is already created,
1801
- thus created after pipeline creation. To re-include all (thus re-evaluate the
1802
- configuration), you have to re-create pipeline.
1803
-
1804
1801
# ### Nested includes
1805
1802
1806
1803
> [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/issues/56836) in GitLab 11.9.
You can’t perform that action at this time.
0 commit comments