Skip to content
Snippets Groups Projects
Commit e2b42c40 authored by Cédric OLIVIER's avatar Cédric OLIVIER Committed by Pierre Smeyers
Browse files

fix: switch from safety image to install safety

parent eec81fb9
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,6 @@ variables:
BANDIT_ARGS: "--recursive ."
# Safety tool
PYTHON_SAFETY_IMAGE: pyupio/safety:latest
SAFETY_ARGS: "--full-report"
# Docs
......@@ -550,13 +549,13 @@ py-bandit:
# Safety (dependency check)
py-safety:
extends: .python-base
image: $PYTHON_SAFETY_IMAGE
stage: test
# force no dependencies
dependencies: []
script:
- mkdir -p reports
- chmod o+rwx reports
- _pip install safety
- install_requirements build
- |
if ! _pip freeze | safety check --stdin ${SAFETY_ARGS}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment