Open mercury200Hg opened 5 months ago
If a project has commented includes/triggers they are parsed as uncommented code.
Steps to reproduce: Currently if a .gitlab-ci.yml for project-A contains something like:
project-A
# include: # - project: namespace-B/project-B # file: ci/example-template.yml
Then, it's also parsed as a relationship. So a relationship from project-A to project-B of type INCLUDE is created which shouldn't happen.
This might need to be excluded.
Hmm can't reproduce it with the test suite like in https://github.com/catouc/gitlab-ci-crawler/commit/790461211230844f6b1d947445049bc43d745d33.
Is there any more detail on the bug?
If a project has commented includes/triggers they are parsed as uncommented code.
Steps to reproduce: Currently if a .gitlab-ci.yml for
project-A
contains something like:Then, it's also parsed as a relationship. So a relationship from project-A to project-B of type INCLUDE is created which shouldn't happen.
This might need to be excluded.