Skip to content
Snippets Groups Projects
Commit 085cf864 authored by Husaam Mehdi's avatar Husaam Mehdi
Browse files

ebtables-extensions: add gitlab CI/CD pipeline conf file

parent 5ef3a5b0
Branches
Tags
1 merge request!9ebtables-extensions: add gitlab CI/CD pipeline conf file
Pipeline #187327 passed
variables:
SOURCE_FOLDER: "src"
include:
- project: 'iopsys/gitlab-ci-pipeline'
file: '/static-code-analysis.yml'
ref: '1.2'
# override original, because we cannot compile here
# because this is a kernel module and kernel headers
# are not available in the docker image
run_static_code_analysis:
image: ${COMMON_IMAGE}
stage: static_code_analysis
allow_failure: false
script:
- /usr/local/pmd/bin/run.sh cpd --language c --exclude ./test/ ${CPD_OPTIONS} --files ${SOURCE_FOLDER}
- flawfinder --minlevel 4 --error-level=4 ${FLAWFINDER_OPTIONS} ${SOURCE_FOLDER}
rules:
- if: $SOURCE_FOLDER
when: always
artifacts:
when: on_failure
paths:
- report.txt
stages:
- static_code_analysis
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment