saibug
1
Hey folks
I need to include some gitlab-ci projet (to be continuous… / Gitleaks · GitLab) (to be continuous… / MkDocs · GitLab) , and it seems they have the same stages name in template file …
There is any way to merge them that way ? so use both template in the same ci .
Thanks
botkero
2
Hi,
Yes, that’s possible:
# example, add inputs for yourself :)
include:
- component: $CI_SERVER_FQDN/to-be-continuous/gitleaks/gitlab-ci-gitleaks@2.6.1
- component: $CI_SERVER_FQDN/to-be-continuous/mkdocs/gitlab-ci-mkdocs@2.7.0
inputs:
site-dir: "build"
You can see a similar setup in the gitlab docs: