Skip to content
Snippets Groups Projects

Configure Dependency Scanning in `.gitlab-ci.yml`, creating this file if it does not already exist

Closed Benedikt Heinrichs requested to merge set-dependency-scanning-config-1 into master
1 file
+ 16
15
Compare changes
  • Side-by-side
  • Inline
+ 16
15
# You can override the included template(s) by including variable overrides
# SAST customization: https://docs.gitlab.com/ee/user/application_security/sast/#customizing-the-sast-settings
# Secret Detection customization: https://docs.gitlab.com/ee/user/application_security/secret_detection/#customizing-settings
# Dependency Scanning customization: https://docs.gitlab.com/ee/user/application_security/dependency_scanning/#customizing-the-dependency-scanning-settings
# Note that environment variables can be set in several places
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
include:
- project: coscine/tools/gitlab-ci-templates
file:
- /docker-runner.yml
- /nodejs.yml
- project: coscine/tools/gitlab-ci-templates
file:
- "/docker-runner.yml"
- "/nodejs.yml"
- template: Security/Dependency-Scanning.gitlab-ci.yml
stages:
- build
# there are more stages in the imported file but we only want to import some
# - test
- publish
- build
- publish
build-branch:
extends: .build-branch
extends: ".build-branch"
build-npm-release:
extends: .build-npm-release
extends: ".build-npm-release"
publish-gitlab:
extends: .publish-gitlab-release
extends: ".publish-gitlab-release"
Loading