From fe795f8bb19710f453aa4c0ae39da71f7f07a9aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20Torma?= <tormakristof@tormakristof.eu> Date: Mon, 13 Mar 2023 15:02:18 +0100 Subject: [PATCH] add steps to ci --- .gitlab-ci.yml | 10 ++++++++++ src/{kszkepzes => account}/commands/__init__.py | 0 src/{kszkepzes => account}/commands/shootemail.py | 0 3 files changed, 10 insertions(+) rename src/{kszkepzes => account}/commands/__init__.py (100%) rename src/{kszkepzes => account}/commands/shootemail.py (100%) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d8fe3c6..85048fc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,6 +18,12 @@ stages: - Docker Build - deploy +sast: + stage: Test and Flake8 + +secret_detection: + stage: Test and Flake8 + Flake8: stage: Test and Flake8 only: @@ -85,3 +91,7 @@ Deploy to Kubernetes: - kubectl apply -f deployment.yml only: - tags + +include: +- template: Security/SAST.gitlab-ci.yml +- template: Jobs/Secret-Detection.gitlab-ci.yml diff --git a/src/kszkepzes/commands/__init__.py b/src/account/commands/__init__.py similarity index 100% rename from src/kszkepzes/commands/__init__.py rename to src/account/commands/__init__.py diff --git a/src/kszkepzes/commands/shootemail.py b/src/account/commands/shootemail.py similarity index 100% rename from src/kszkepzes/commands/shootemail.py rename to src/account/commands/shootemail.py -- GitLab