Replace this template with your information
Describe your question in as much detail as possible:
I run a self hosted instance with EE license and looking to get ci/cd components working, however, i am always getting content not found
error.
-
What are you seeing, and how does that differ from what you expect to see?
This GitLab CI configuration is invalid: component ‘src.yusufali.ca/infra/ci-templates@bdc7d45b5fad0619c90c253814253d1fb71ff0cb’ - content not found. -
Consider including screenshots, error messages, and/or other helpful visuals
gitlab url: src.yusufali.ca
repo structure:
infra/ci-templates/
template.yml
README.md
template.yml
spec:
inputs:
chart:
default: .
stage:
default: test
image:
default: alpine/helm
values:
default: values.yaml
---
test template:
image: $[[ inputs.image ]]
stage: $[[ inputs.stage ]]
script:
- helm template $[[ inputs.chart ]]
-
What version are you on? Are you using self-managed or GitLab.com?
- GitLab (Hint:
/help
): 16.3 selfhosted, ultimate EE license (trial)
- GitLab (Hint:
-
Add the CI configuration from
.gitlab-ci.yml
and other configuration if relevant (e.g. docker-compose.yml)
attempt #1.
include:
- component: src.yusufali.ca/$CI_PROJECT_PATH@$CI_COMMIT_SHA
inputs:
stage: test
stages:
- build
- test
- release
attempt #2;
include:
- component: $CI_SERVER_URL/$CI_PROJECT_PATH@$CI_COMMIT_SHA
inputs:
stage: test
stages:
- build
- test
- release
both failed
Thanks for taking the time to be thorough in your request, it really helps!