Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
petitminion
funkwhale
Commits
b5ac5925
Verified
Commit
b5ac5925
authored
Nov 04, 2019
by
Eliot Berriot
Browse files
fixup! Added Snyk dependency testing to API
parent
6344ec82
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
b5ac5925
...
...
@@ -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 sny
x
-
npm install -g sny
k
script
:
-
snyk test
tags
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment