Skip to content
Snippets Groups Projects
Verified Commit b5ac5925 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

fixup! Added Snyk dependency testing to API

parent 6344ec82
No related branches found
No related tags found
No related merge requests found
...@@ -151,7 +151,7 @@ test_api: ...@@ -151,7 +151,7 @@ test_api:
check_vulnerabilities_api: check_vulnerabilities_api:
interruptible: true interruptible: true
stage: test stage: test
image: nikolaik/python-nodejs:python3.7-nodejs13 image: alpine:3.8
cache: cache:
key: "$CI_PROJECT_ID__pip_cache_api_vuln" key: "$CI_PROJECT_ID__pip_cache_api_vuln"
paths: paths:
...@@ -162,11 +162,11 @@ check_vulnerabilities_api: ...@@ -162,11 +162,11 @@ check_vulnerabilities_api:
- develop@funkwhale/funkwhale - develop@funkwhale/funkwhale
- vuln-testing@funkwhale/funkwhale - vuln-testing@funkwhale/funkwhale
before_script: 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 - cd api
- sed -i '/Pillow/d' requirements/base.txt - sed -i '/Pillow/d' requirements/base.txt
- pip3 install -r requirements/base.txt - pip3 install -r requirements/base.txt
- npm install -g snyx - npm install -g snyk
script: script:
- snyk test - snyk test
tags: tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment