gitlab-ci-crawler

module
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2024 License: MIT

README

gitlab-ci-crawler

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.

Getting started

Prerequisites:

  • Neo4j database with user
  • A GitLab access token with read_repository permissions for all projects you want to crawl

Then 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

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL