Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
funkwhale
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mélanie Chauvel
funkwhale
Commits
8bc964c2
Verified
Commit
8bc964c2
authored
5 years ago
by
Eliot Berriot
Browse files
Options
Downloads
Patches
Plain Diff
Added Snyk dependency testing to API
parent
c9a2439e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+24
-0
24 additions, 0 deletions
.gitlab-ci.yml
with
24 additions
and
0 deletions
.gitlab-ci.yml
+
24
−
0
View file @
8bc964c2
...
@@ -145,6 +145,30 @@ test_api:
...
@@ -145,6 +145,30 @@ test_api:
tags
:
tags
:
-
docker
-
docker
check_vulnerabilities_api
:
interruptible
:
true
stage
:
test
image
:
nikolaik/python-nodejs:python3.7-nodejs13
cache
:
key
:
"
$CI_PROJECT_ID__pip_cache_api_vuln"
paths
:
-
"
$PIP_CACHE_DIR"
only
:
-
tags@funkwhale/funkwhale
-
master@funkwhale/funkwhale
-
develop@funkwhale/funkwhale
-
vuln-testing@funkwhale/funkwhale
before_script
:
-
apk add make
-
cd api
-
sed -i '/Pillow/d' requirements/base.txt
-
pip3 install -r requirements/base.txt
-
npm install -g snyx
script
:
-
snyk test
tags
:
-
docker
test_front
:
test_front
:
interruptible
:
true
interruptible
:
true
stage
:
test
stage
:
test
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment