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
|
2022-05-25 00:52:00 +00:00
|
|
|
- test
|
2022-03-23 02:41:19 +00:00
|
|
|
- prod-deployment
|
|
|
|
- dev-deployment
|
2022-06-16 17:33:57 +00:00
|
|
|
- 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
|
2022-06-16 17:33:57 +00:00
|
|
|
- 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
|
|
|
|
|
2022-05-25 00:52:00 +00:00
|
|
|
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
|