Skip to content
Snippets Groups Projects
Commit 013672aa authored by Maxim Menshikov's avatar Maxim Menshikov
Browse files

static-code-analysis: add dependency installation script to variables

parent 0e076903
No related branches found
No related tags found
No related merge requests found
...@@ -6,12 +6,15 @@ variables: ...@@ -6,12 +6,15 @@ variables:
SOURCE_FOLDER: "src" SOURCE_FOLDER: "src"
COMMON_IMAGE: "maximmenshikov/io-code-analysis:latest" COMMON_IMAGE: "maximmenshikov/io-code-analysis:latest"
DEBUG: "FALSE" DEBUG: "FALSE"
INSTALL_DEPS_SCRIPT: ""
run_static_code_analysis: run_static_code_analysis:
image: ${COMMON_IMAGE} image: ${COMMON_IMAGE}
stage: static_code_analysis stage: static_code_analysis
allow_failure: false allow_failure: false
script: script:
- test -f "${INSTALL_DEPS_SCRIPT}" && echo Executing ${INSTALL_DEPS_SCRIPT}
- test -f "${INSTALL_DEPS_SCRIPT}" && ${INSTALL_DEPS_SCRIPT}
- echo ${RUN_FLAWFINDER} - echo ${RUN_FLAWFINDER}
- flawfinder --version - flawfinder --version
- "${RUN_FLAWFINDER} ${SOURCE_FOLDER}" - "${RUN_FLAWFINDER} ${SOURCE_FOLDER}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment