gitlab-ci-local
gitlab-ci-local copied to clipboard
include local with "/" as prefix is not recognized
Minimal .gitlab-ci.yml illustrating the issue
structure:
|- .gitlab-ci.yml
|- test
|- nested.yml
.gitlab-ci.yml
---
include:
- local: '/test/nested.yml'
common/nested.yml
---
job:
script:
- echo "Heya"
Expected behavior "/common/nested.yml" is found
Fallen in the same bug. According to my tests:
Gitlab.com | gitlab-ci-local | |
---|---|---|
'local: /test/nested.yml' | ✔️ | ❌ |
'local: ./test/nested.yml' | ❌ | ✔️ |
'local: test/nested.yml' | ✔️ | ✔️ |