Linter "jobs config should contain at least one visible job" isn't helpfull
Problem to solve
Hi,
I wanted to build a complex template system out of gitlab templates. For this template below gitlab api returns "jobs config should contain at least one visible job". I think we shall remove that check, because you should be able to use includes even you don`t need / want a job that. So the idea is the deliever a set of abstract jobs that need to be reimplemented.
See: https://gitlab.com/xrow-public/ci-tools/-/jobs/257467729 https://gitlab.com/xrow-public/ci-tools/raw/46e43d27ae88aa5bd8abf4c73d22883da22ea189/.gitlab-common.yml
Intended users
Devon (DevOps Engineer) Alternative Job Titles: Application Developer, Operations Engineer, Systems Engineer, IT Consultant
Further details
BE able to build more absrtct template sets
Proposal
Make the limitation dispear.
Permissions and Security
regular
Documentation
None needed because the current behavior is not documented and it is upwards compatible.
Testing
do lint tests
What does success look like, and how can we measure that?
see my template, it got denied by gitlab lint api
Links / references
https://gitlab.com/xrow-public/ci-tools/-/jobs/257467729 https://gitlab.com/xrow-public/ci-tools/raw/46e43d27ae88aa5bd8abf4c73d22883da22ea189/.gitlab-common.yml