chore(ci): enable secret detection

- https://docs.gitlab.com/ee/user/application_security/secret_detection/
This commit is contained in:
MDLeom 2021-06-20 00:21:50 +00:00
parent e9fcd19ab4
commit 5880487d27
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 5 additions and 2 deletions

View File

@ -1,12 +1,12 @@
stages:
- build
- test
- deploy
- failed_stage
image: alpine:latest # Use the latest version of Alpine Linux docker image
build_job:
stage: build
stage: test
before_script:
- apk update && apk add curl openssh-client git grep xmlstarlet
@ -88,3 +88,6 @@ failed_job:
- if: '$CI_COMMIT_REF_NAME == "master" && ($CI_PIPELINE_SOURCE == "schedule" || $CI_PIPELINE_SOURCE == "web")'
# Run this job only when deploy_job failed
when: on_failure
include:
- template: Security/Secret-Detection.gitlab-ci.yml