Since it’s my first message here, first and foremost kudos to the gitlab community. Great stuff!!!
So, I think
include directive in
.gitlab-ci.yml is playing tricks on me. If two includes in a row, regardless of the amount of files included, only jobs from the last include statement are actually recognised by the CI. In the specific example (1 file each), only
bar: is actually regonised. We are running Gitlab:
GitLab Shell 8.4.4
GitLab Workhorse v8.0.1
I am not sure if I am doing something stupid, so I wanted to discuss before filing a bug report. Any thoughts on this?
marc@Beluga:~/gitlab/sandbox$ cat .gitlab-ci.yml stages: - build - test #BUILD include: - ci/foo.yml include: - ci/bar.yml marc@Beluga:~/gitlab/sandbox$ tree ci/ ci/ ├── bar.yml └── foo.yml 0 directories, 2 files marc@Beluga:~/gitlab/sandbox$ cat ci/foo.yml foo: stage: build script: - echo build marc@Beluga:~/gitlab/sandbox$ cat ci/bar.yml bar: stage: test script: - echo test