- Radon CC & MI (Tested on versions:
6.0.1
) - Ruff (Tested on versions:
0.1.8
) - Bandit (Tested on versions:
1.7.6
)
git clone https://github.com/vsaverin/checkers_parser
Example:
SECRET_KEY = "string"
GITLAB_URL = "https://url.com"
ACCESS_TOKEN = "access_token"
POSTGRES_DB = "local_db"
POSTGRES_USER = "local_user"
POSTGRES_PASSWORD = "qwerty123321"
BANDIT_FILENAME = 'bandit.txt'
RUFF_FILENAME = 'ruff.json'
RADON_MI_FILENAME = 'radon_mi.txt'
RADON_CC_FILENAME = 'radon_cc.txt'
Also don't forger to replace default ALLOWED_HOSTS with yours
ALLOWED_HOSTS = [
"your_address:8008"
]
poetry lock --no-update
docker-compose -f deploy/docker-compose.yml up --build
docker container exec -it container-name /bin/sh
python3 manage.py createsuperuser
https://yourhost.com/admin
MAIN -> GitlabProjects
- Project name: Your Custom project name (will be displayed on dashboard)
- Project Id: id of the gitlab project u want to connect
- Analysis job name: name of the analysis stage in ur pipeline
- Bandit filename: name of file to search in ur gitlab artifacts (ex. bandit.json)
- Ruff filename: name of file to search in ur gitlab artifacts (ex. ruff.json)
- Radon mi filename: name of file to search in ur gitlab artifacts (ex. radon_mi.json)
- Radon cc filename: name of file to search in ur gitlab artifacts (ex. radon_cc.json)
RefactoringMultiple projects support- Projects artifacts auto-update (by last proceeded job id)
- Move Dashboard & Projects to different app
- Errors catching (with ui)