mirror of
https://gitlab.com/components/secret-detection.git
synced 2025-06-30 07:28:30 +02:00
Migrate to new directory structure
This commit is contained in:
parent
622e9b9e92
commit
44079e9f70
3 changed files with 3 additions and 3 deletions
29
templates/job.yml
Normal file
29
templates/job.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
spec:
|
||||
inputs:
|
||||
stage:
|
||||
default: test
|
||||
image_prefix:
|
||||
default: "$CI_TEMPLATE_REGISTRY_HOST/security-products"
|
||||
image_tag:
|
||||
default: '5'
|
||||
image_suffix:
|
||||
default: ""
|
||||
---
|
||||
|
||||
secret_detection:
|
||||
stage: $[[ inputs.stage ]]
|
||||
image: "$[[ inputs.image_prefix ]]/secrets:$[[ inputs.image_tag ]]$[[ inputs.image_suffix ]]"
|
||||
services: []
|
||||
allow_failure: true
|
||||
variables:
|
||||
GIT_DEPTH: "50"
|
||||
SECRET_DETECTION_EXCLUDED_PATHS: ""
|
||||
# `rules` must be overridden explicitly by each child job
|
||||
# see https://gitlab.com/gitlab-org/gitlab/-/issues/218444
|
||||
artifacts:
|
||||
reports:
|
||||
secret_detection: gl-secret-detection-report.json
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH
|
||||
script:
|
||||
- /analyzer run
|
Loading…
Add table
Add a link
Reference in a new issue