From fdd0fc37422f3151c6ae53189ec565d9cc518566 Mon Sep 17 00:00:00 2001 From: Vivek Kumar Dutta Date: Mon, 21 Aug 2023 17:28:00 +0530 Subject: [PATCH] Align with CI/CD more_test --- .gitlab-ci.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 432f1d35..7e74867f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,17 +1,18 @@ +variables: + DEBUG: 'TRUE' + SOURCE_FOLDER: "." + FLAWFINDER_OPTIONS: "-m 4 --error-level=5" + CPPCHECK_OPTIONS: " --enable=information -DBBFDM_ENABLE_DOTSO_PLUGIN -DBBFDM_ENABLE_DOTSO_PLUGIN -DBBF_TR181 -DBBF_VENDOR_IOPSYS --inline-suppr -i test/" + include: - project: 'iopsys/gitlab-ci-pipeline' file: '/static-code-analysis.yml' - ref: '0.27' + ref: '0.30' - project: 'docs/portal2/pipeline-template' file: 'MkDocs.gitlab-ci.yml' rules: - if: $CI_COMMIT_BRANCH == "devel" -variables: - DEBUG: 'TRUE' - SOURCE_FOLDER: "." - RUN_CPPCHECK: "cppcheck --enable=information --error-exitcode=1 -DBBFDM_ENABLE_DOTSO_PLUGIN -DBBFDM_ENABLE_DOTSO_PLUGIN -DBBF_TR181 -DBBF_VENDOR_IOPSYS --inline-suppr -i test/" - stages: - static_code_analysis - unit_test