Skip to content
Snippets Groups Projects
Commit 2726bf53 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

Merge branch '20-remove_python_safety_image' into 'master'

fix: switch from safety image to install safety

Closes #20

See merge request to-be-continuous/python!27
parents eec81fb9 e2b42c40
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