From 83fa1556df458277f76323fe20d338c360409737 Mon Sep 17 00:00:00 2001 From: Yegor Kutuzov Date: Tue, 28 May 2024 14:59:54 +0300 Subject: [PATCH] chore: security stage --- ... from_ccsteam %}.gitlab-ci.yml{% endif %}.jinja | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/{% if from_ccsteam %}.gitlab-ci.yml{% endif %}.jinja b/{% if from_ccsteam %}.gitlab-ci.yml{% endif %}.jinja index 5961c16..859b0f0 100644 --- a/{% if from_ccsteam %}.gitlab-ci.yml{% endif %}.jinja +++ b/{% if from_ccsteam %}.gitlab-ci.yml{% endif %}.jinja @@ -71,6 +71,7 @@ variables: stages: - check - build + - security - deploy default: @@ -106,6 +107,15 @@ test: - poetry run pytest --cov-config=setup.cfg coverage: '/Total coverage: \d\d\d.\d\d%/' +security: + stage: security + allow_failure: true + trigger: + include: + - project: devsecops/pipelines + file: integration_templates/python.yml + + build: image: docker:latest stage: build @@ -205,3 +215,7 @@ deploy.botsprod: - echo "Deploing Docker container ${CONTAINER_NAME}" - *create_db - *run_bot + needs: + - job: security + artifacts: true +