crafty-4/.gitlab-ci.yml

35 lines
894 B
YAML
Raw Normal View History

2022-03-23 02:32:41 +00:00
# Crafty Controller 4.0 - Lint & Build Pipes
# [Maintainer: Zedifus(https://gitlab.com/Zedifus)]
###################################################
---
2021-09-10 21:15:47 +00:00
stages:
2022-03-23 02:41:19 +00:00
- lint
- test
2022-03-23 02:41:19 +00:00
- prod-deployment
- dev-deployment
- release
2021-09-10 21:15:47 +00:00
2021-12-21 01:25:04 +00:00
variables:
DOCKER_HOST: tcp://docker:2376
DOCKER_TLS_CERTDIR: "/certs"
2022-06-10 14:56:03 +00:00
include:
- local: .gitlab/lint.yml
- local: .gitlab/docker-build.yml
- local: .gitlab/windows-build.yml
- local: .gitlab/release.yml
2022-06-10 14:56:03 +00:00
- template: Security/Dependency-Scanning.gitlab-ci.yml
- template: Security/SAST.gitlab-ci.yml
- template: Security/Secret-Detection.gitlab-ci.yml
sast:
variables:
SAST_EXCLUDED_PATHS: spec, test, tests, tmp, migrations, vendors
SAST_BANDIT_EXCLUDED_PATHS: "'*/migrations/*, */vendors/*'"
SAST_EXCLUDED_ANALYZERS: semgrep
stage: test
secret_detection:
variables:
SECRET_DETECTION_EXCLUDED_PATHS: migrations, vendors