gitlab-ci-local icon indicating copy to clipboard operation
gitlab-ci-local copied to clipboard

include local with "/" as prefix is not recognized

Open alexander-matthiesen opened this issue 2 years ago • 1 comments

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

alexander-matthiesen avatar Aug 20 '22 07:08 alexander-matthiesen

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' ✔️ ✔️

greenmaid avatar Aug 28 '22 10:08 greenmaid