This crawler will go through all GitLab projects known to the person using it and build a dependency graph inside a Neo4j database answering questions for template maintainers who is pulling their templates on what version.
Prerequisites:
read_repository
permissions for all projects you want to crawlThen you can run the code like:
export GITLAB_TOKEN='<personal-access-token>'
export NEO4J_PASSWORD='<neo4j-password>'
export STORAGE_BACKEND='neo4j'
gitlab-ci-crawler --gitlab-host https://gitlab.com --neo4j-host 'bolt://127.0.0.1:7687' --neo4j-username neo4j
Find the full help using gitlab-ci-crawler --help