Skip to content
Snippets Groups Projects

Draft: Prepare for GitLab tools

Open Erick Hitter requested to merge add/gitlab-security into master
1 file
+ 36
0
Compare changes
  • Side-by-side
  • Inline
+ 36
0
stages:
- .pre
- build
- test
- deploy
- container_security
- .post
image: docker:latest
services:
@@ -6,6 +14,34 @@ services:
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
#
# GitLab tools
#
include:
- template: Security/Container-Scanning.gitlab-ci.yml
- template: Security/Dependency-Scanning.gitlab-ci.yml
- template: Security/License-Scanning.gitlab-ci.yml
- template: Security/SAST.gitlab-ci.yml
- template: Security/Secret-Detection.gitlab-ci.yml
container_scanning:
# TODO: Need to run this after the build and push.
# TODO: Need to set variable for container image and tag.
when: never
stage: container_security
dependency_scanning:
before_script: echo ""
license_scanning:
before_script: echo ""
sast:
before_script: echo ""
secret_detection:
before_script: echo ""
#
# TESTS
#
Loading