GitLab CI include:rules not working on GitLab Community Edition v16.11.6

I’m using GitLab Community Edition v16.11.6. I created a minimal working example merge request:

And the GitLab CI/CD is failing.

The GitLab CI/CD error is YAML invalid because of jobs config should contain at least one visible job. This happens because, on GitLab Community Edition v16.11.6, the GitLab CI/CD is not properly loading the GitLab CI/CD Component.

I tried to replicate the error on https://gitlab.com/ (GitLab Enterprise Edition 17.3.0-pre ca1e9feb387) and I didn’t encounter the error.

GitLab Repository: Raniere Silva / mwe-rules · GitLab

GitLab Merge Request: Test 1 (!1) · Merge requests · Raniere Silva / mwe-rules · GitLab

Can anyone confirm this bug on version 16.x.x? Or point to the fix in the GitLab tree? Thanks!

Comparing the CI/CD YAML syntax reference.

1 Like