Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DBRepo
Manage
Activity
Members
Labels
Plan
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FAIR Data Austria DB Repository
DBRepo
Commits
85caa88c
Verified
Commit
85caa88c
authored
1 year ago
by
Martin Weise
Browse files
Options
Downloads
Patches
Plain Diff
Added data service scan
parent
baa46f79
No related branches found
No related tags found
3 merge requests
!231
CI: Remove build for log-service
,
!228
Better error message handling in the frontend
,
!223
Release of version 1.4.0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+22
-0
22 additions, 0 deletions
.gitlab-ci.yml
with
22 additions
and
0 deletions
.gitlab-ci.yml
+
22
−
0
View file @
85caa88c
...
@@ -259,6 +259,28 @@ scan-metadata-service:
...
@@ -259,6 +259,28 @@ scan-metadata-service:
reports
:
reports
:
container_scanning
:
./.trivy/trivy-metadata-service-report.json
container_scanning
:
./.trivy/trivy-metadata-service-report.json
scan-data-service
:
image
:
bitnami/trivy:latest
stage
:
scan
only
:
refs
:
-
dev
-
release-v1.3
-
release-v1.4
allow_failure
:
true
script
:
-
trivy image --insecure --exit-code 0 --format template --template "@.trivy/gitlab.tpl" -o ./.trivy/trivy-data-service-report.json docker.io/dbrepo/data-service:latest
-
trivy image --insecure --exit-code 0 docker.io/dbrepo/data-service:latest
-
trivy image --insecure --exit-code 1 --severity CRITICAL docker.io/dbrepo/data-service:latest
cache
:
paths
:
-
.trivycache/
artifacts
:
when
:
always
expire_in
:
1 days
reports
:
container_scanning
:
./.trivy/trivy-data-service-report.json
scan-search-db
:
scan-search-db
:
image
:
bitnami/trivy:latest
image
:
bitnami/trivy:latest
stage
:
scan
stage
:
scan
...
...
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