CI lint tool does not check Gitlab version

Summary

The tool on a EE selfhosted https://myselfhosted.gitlab.com/ci/lint does not check the gitlab version (CE vs EE)

Steps to reproduce

1 create a .gitlab-ci.yml file with an include directive 2 make sure that that file exists (link or local file) 3 check the .gitlab-ci.yml with the tool at https://myselfhosted.gitlab.com/ci/lint: this reports:

Example Project

What is the current bug behavior?

the tool throws the error: Status: syntax is incorrect Error: Your license does not allow to use 'include' keyword in CI/CD configuration file

What is the expected correct behavior?

It should include the file indicated by the include directive and process it

Relevant logs and/or screenshots

Status: syntax is incorrect Error: Your license does not allow to use 'include' keyword in CI/CD configuration file

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info

System information System: Proxy: no Current User: git Using RVM: no Ruby Version: 2.3.6p384 Gem Version: 2.6.13 Bundler Version:1.13.7 Rake Version: 12.3.0 Redis Version: 3.2.11 Git Version: 2.14.3 Sidekiq Version:5.0.5 Go Version: unknown

GitLab information Version: 10.6.0-ee Revision: ea9f9c5 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql DB Version: 9.6.8 URL: HTTP Clone URL: SSH Clone URL: Elasticsearch: yes Geo: no Using LDAP: no Using Omniauth: yes Omniauth Providers: oauth2_generic

GitLab Shell Version: 6.0.4 Repository storage paths:

  • default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git

Results of GitLab application Check

Expand for output related to the GitLab application check

Checking GitLab Shell ...

GitLab Shell version >= 6.0.4 ? ... OK (6.0.4) Repo base directory exists? default... yes Repo storage directories are symlinks? default... no Repo paths owned by git:root, or git:git? default... yes Repo paths access is drwxrws---? default... yes hooks directories in repos are links: ...

all ok or repository is empty

Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Redis available via internal API: OK

Access to /var/opt/gitlab/.ssh/authorized_keys: OK gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Sidekiq ...

Running? ... yes Number of Sidekiq processes ... 1

Checking Sidekiq ... Finished

Reply by email is disabled in config/gitlab.yml Checking LDAP ...

LDAP is disabled in config/gitlab.yml

Checking LDAP ... Finished

Checking GitLab ...

Git configured correctly? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... yes Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) Projects have namespace: ...

all yes

Redis version >= 2.8.0? ... yes Ruby version >= 2.3.5 ? ... yes (2.3.6) Git version >= 2.9.5 ? ... yes (2.14.3) Git user has default SSH configuration? ... yes Active users: ... 53 Elasticsearch version 5.1 - 5.5? ... yes (5.5.3)

Checking GitLab ... Finished

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Assignee Loading
Time tracking Loading