Skip to content
Snippets Groups Projects

Resolve "Integrate dependency-check container with Sonarqube"

Compare and Show latest version
1 file
+ 20
5
Compare changes
  • Side-by-side
  • Inline
+ 20
5
@@ -2,9 +2,18 @@ stages:
- verify
- build
- test
- test:npm_install
- test:dependency_checker
- publish
- security
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- t/dependency-check/simple-app/node_modules/
- t/dependency-check/simple-app/dependency_check_results/
policy: pull-push
.Check Makefile:
stage: verify
tags:
@@ -35,17 +44,23 @@ stages:
- docker run --rm its-registry.unl.edu/unl-its/docker-ci/static-code-analysis sonar-scanner -v
- docker run --rm -v "${PWD}:/work" -w /work its-registry.unl.edu/unl-its/docker-ci/detect-secrets -s
Test Dependency Checker:A:
stage: test
Test Dependency Checker npm install:
stage: test:npm_install
tags:
- docker
image: node:alpine
cache:
paths:
- node_modules/
script:
- cd t/dependency-check/simple-app/
- npm install
Test Dependency Checker dependency_check:
stage: test:dependency_checker
tags:
- dockerd
image: its-registry.unl.edu/unl-its/docker-ci/dependency-check
script:
- docker run --rm -v "${PWD}/t/dependency-check/simple-app:/work" -w /work -e DEPENDENCY_CHECK_OUT_DIR=./dependency_check_results its-registry.unl.edu/unl-its/docker-ci/dependency-check
.Test Dependency Checker:
stage: test
tags:
Loading