Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-10-11 15:09:43 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-10-11 15:09:43 +0300
commitf20820d7faa4b0cc31d4b40be66f1aad5f8442bc (patch)
tree87dff45ebcf5b6cbb3db6c53185b08724e88d414 /doc/ci/components
parent289ce60cdc5fe83278ff01f9506db862e6f8e9ac (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/ci/components')
-rw-r--r--doc/ci/components/index.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/ci/components/index.md b/doc/ci/components/index.md
index e0379bf783d..aeee871612f 100644
--- a/doc/ci/components/index.md
+++ b/doc/ci/components/index.md
@@ -34,7 +34,8 @@ If a component requires different versioning from other components, the componen
To create a components repository, you must:
1. [Create a new project](../../user/project/index.md#create-a-blank-project) with a `README.md` file.
-1. Create a `template.yml` file inside the project's root directory that contains the configuration you want to provide as a component.
+1. Create either a single file or a templates directory according to the [directory structure](#directory-structure).
+
For example:
```yaml
@@ -106,8 +107,8 @@ For example, the following component could be referenced with `gitlab.com/my-use
#### Component configurations saved in any directory (deprecated)
-NOTE:
-Saving component configurations through this directory structure is [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/415855).
+WARNING:
+Saving component configurations through this directory structure is [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/415855) and should be avoided.
Components configurations can be saved through the following directory structure, containing: