Commit d88b08c1 authored by Marcel Amirault's avatar Marcel Amirault Committed by Suzanne Selhorn

Clarify details about the wildcard paths

parent 9970eee1
...@@ -426,8 +426,11 @@ Use `include:local` instead of symbolic links. ...@@ -426,8 +426,11 @@ Use `include:local` instead of symbolic links.
**Keyword type**: Global keyword. **Keyword type**: Global keyword.
**Possible inputs**: A full path relative to the root directory (`/`). **Possible inputs**:
The YAML file must have the extension `.yml` or `.yaml`. Wildcard paths (`*` and `**`) are supported.
- A full path relative to the root directory (`/`).
- The YAML file must have the extension `.yml` or `.yaml`.
- You can [use `*` and `**` wildcards in the file path](includes.md#use-includelocal-with-wildcard-file-paths).
**Example of `include:local`**: **Example of `include:local`**:
...@@ -449,10 +452,6 @@ include: '.gitlab-ci-production.yml' ...@@ -449,10 +452,6 @@ include: '.gitlab-ci-production.yml'
- All [nested includes](includes.md#use-nested-includes) are executed in the scope of the same project, - All [nested includes](includes.md#use-nested-includes) are executed in the scope of the same project,
so you can use local, project, remote, or template includes. so you can use local, project, remote, or template includes.
**Related topics**:
- [Use `include:local` with wildcard file paths](includes.md#use-includelocal-with-wildcard-file-paths).
#### `include:file` #### `include:file`
> - [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/53903) in GitLab 11.7. > - [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/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