Verified Commit b5ac5925 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

fixup! Added Snyk dependency testing to API

parent 6344ec82
......@@ -151,7 +151,7 @@ test_api:
check_vulnerabilities_api:
interruptible: true
stage: test
image: nikolaik/python-nodejs:python3.7-nodejs13
image: alpine:3.8
cache:
key: "$CI_PROJECT_ID__pip_cache_api_vuln"
paths:
......@@ -162,11 +162,11 @@ check_vulnerabilities_api:
- develop@funkwhale/funkwhale
- vuln-testing@funkwhale/funkwhale
before_script:
- apk add make
- apk add make git musl-dev gcc postgresql-dev python3-dev py3-psycopg2 py3-pillow libldap libpq libmagic libffi-dev zlib-dev openldap-dev npm
- cd api
- sed -i '/Pillow/d' requirements/base.txt
- pip3 install -r requirements/base.txt
- npm install -g snyx
- npm install -g snyk
script:
- snyk test
tags:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment