I want to split all my ci/cd components into separate repos so they can be versioned/managed separately. However, this forces my users to add an unnatural redundant name when referencing each component.
Using the document example, if I have a project named my-component
in namespace group1/components
with folder structure:
├── templates/
│ └── my-component.yml
├── LICENSE.md
├── README.md
└── .gitlab-ci.yml
The include:component
value is gitlab.com/group1/components/my-component/my-component@<version>
. This is clunky…
It would be better if there’s only one component in the repo, that you can skip the redundant name, and place the version specifier directly on the project name. Given the above, the preferred include:component
would be group1/group2/my-component@<version>