Skip to content
Snippets Groups Projects
Commit 797623f7 authored by Giovanna Lazzari Miotto's avatar Giovanna Lazzari Miotto :mushroom:
Browse files

ci: Bump scdaq-builder and devtools images

parent 46cf7d4a
No related branches found
No related tags found
No related merge requests found
Pipeline #8514118 passed
image: gitlab-registry.cern.ch/scouting-demonstrator/scouting-docker-images/scdaq-builder:scdaq-python3-support-9d9a61d8 image: gitlab-registry.cern.ch/scouting-demonstrator/scouting-docker-images/scdaq-builder:2.0.5
check_formatting: check_formatting:
stage: check stage: check
when: manual when: manual
image: gitlab-registry.cern.ch/scouting-demonstrator/scouting-docker-images/scouting-devtools:1.2.0 image: gitlab-registry.cern.ch/scouting-demonstrator/scouting-docker-images/scouting-devtools:1.2.2
script: script:
- find src/ -iname '*.h' -o -iname '*.cc' | xargs clang-format --style=file --dry-run -Werror || (printf "Please reformat your code using the command\ngit clang-format\n\nafter staging your files with \`git add\` or\n\nclang-format -i [your files]\n" && exit 1) - find src/ -iname '*.h' -o -iname '*.cc' | xargs clang-format --style=file --dry-run -Werror || (printf "Please reformat your code using the command\ngit clang-format\n\nafter staging your files with \`git add\` or\n\nclang-format -i [your files]\n" && exit 1)
code_quality-cppcheck: code_quality-cppcheck:
stage: check stage: check
when: manual when: manual
image: gitlab-registry.cern.ch/scouting-demonstrator/scouting-docker-images/scouting-devtools:1.2.0 image: gitlab-registry.cern.ch/scouting-demonstrator/scouting-docker-images/scouting-devtools:1.2.2
script: script:
- cppcheck --xml --enable=all --suppress=missingIncludeSystem --inline-suppr --check-level=exhaustive --std=c++14 ./src 2> cppcheck_out.xml - cppcheck --xml --enable=all --suppress=missingIncludeSystem --inline-suppr --check-level=exhaustive --std=c++14 ./src 2> cppcheck_out.xml
- cppcheck-codequality --input-file cppcheck_out.xml --output-file cppcheck.json - cppcheck-codequality --input-file cppcheck_out.xml --output-file cppcheck.json
...@@ -21,7 +21,7 @@ code_quality-cppcheck: ...@@ -21,7 +21,7 @@ code_quality-cppcheck:
code_quality-lizard: code_quality-lizard:
stage: check stage: check
when: manual when: manual
image: gitlab-registry.cern.ch/scouting-demonstrator/scouting-docker-images/scouting-devtools:1.2.0 image: gitlab-registry.cern.ch/scouting-demonstrator/scouting-docker-images/scouting-devtools:1.2.2
script: script:
- statick --config=/tmp/statick.yaml --level=gitlab src/ - statick --config=/tmp/statick.yaml --level=gitlab src/
- sed -i 's#/builds/scouting-demonstrator/scdaq/##g' src-gitlab.code-climate.json - sed -i 's#/builds/scouting-demonstrator/scdaq/##g' src-gitlab.code-climate.json
...@@ -47,7 +47,7 @@ build_rpm_tag: ...@@ -47,7 +47,7 @@ build_rpm_tag:
build_rpm_dev: build_rpm_dev:
stage: build stage: build
when: manual when: manual
except: except:
- tags - tags
script: script:
- BUILD_SYSTEM=cmake bash scripts/scdaqrpm.sh - BUILD_SYSTEM=cmake bash scripts/scdaqrpm.sh
...@@ -62,8 +62,8 @@ run_filetest: ...@@ -62,8 +62,8 @@ run_filetest:
stage: run stage: run
script: script:
- bash scripts/test_filedma.sh - bash scripts/test_filedma.sh
stages: stages:
- check - check
- build - build
- run - run
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment