Skip to content
Snippets Groups Projects
Commit 209511be authored by Raul Barreras's avatar Raul Barreras
Browse files

Update .gitlab-ci.yml

parent 21cc77ad
No related branches found
No related tags found
1 merge request!33Resolve "Integrate dependency-check container with Sonarqube"
...@@ -7,13 +7,6 @@ stages: ...@@ -7,13 +7,6 @@ stages:
- publish - publish
- security - 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: .Check Makefile:
stage: verify stage: verify
tags: tags:
...@@ -44,16 +37,19 @@ cache: ...@@ -44,16 +37,19 @@ cache:
- docker run --rm its-registry.unl.edu/unl-its/docker-ci/static-code-analysis sonar-scanner -v - 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 - docker run --rm -v "${PWD}:/work" -w /work its-registry.unl.edu/unl-its/docker-ci/detect-secrets -s
.Test Dependency Checker npm install: Test Dependency Checker npm install:
stage: test:npm_install stage: test:npm_install
tags: tags:
- docker - docker
image: node:alpine image: node:alpine
cache:
paths:
- t/dependency-check/simple-app/node_modules/
script: script:
- cd t/dependency-check/simple-app/ - cd t/dependency-check/simple-app/
- npm install - npm install
Test Dependency Checker dependency_check: .Test Dependency Checker dependency_check:
stage: test:dependency_checker stage: test:dependency_checker
variables: variables:
DEPENDENCY_CHECK_OUT_DIR: /tmp/dependency_check_results DEPENDENCY_CHECK_OUT_DIR: /tmp/dependency_check_results
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment