Skip to content

the script helps you scan all non-archive registries for getting size of this registry

Notifications You must be signed in to change notification settings

karpulix/gitlab-scan-registry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitlab Scanner Registry

The script helps you scan all non-archive registries for getting size of this registry.

You can save result to CSV table for your analytics (see --help).

(!) Report shows result by REGISTRIES (NON PROJECTS). But it also is informative.

  1. Install requirements (requirements.txt)
pip install -r requirements.txt

(!) Tip: Use venv.

  1. Run script for getting help
python scan-registry.py --help

Help:

scan-registry <options>

Options:
    -h, --help - get help
    -o, --ofile - output CSV file
    -v, --version - output version and settings of the script 

You should have variables in .env file (in context directory) or in the environment:

GITLAB_URI=https://<host-of-gitlab-instans>
GITLAB_TOKEN=<gitlab-token>

(!) environment has priority
  1. Example for starting of scanning
python scan-registry.py -o report.csv

Enjoy.

About

the script helps you scan all non-archive registries for getting size of this registry

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages