From 5880487d27bbb27c761f287636eef1d6faf0517f Mon Sep 17 00:00:00 2001 From: MDLeom <2809763-curben@users.noreply.gitlab.com> Date: Sun, 20 Jun 2021 00:21:50 +0000 Subject: [PATCH] chore(ci): enable secret detection - https://docs.gitlab.com/ee/user/application_security/secret_detection/ --- .gitlab-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 40a88fe8..af47f175 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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