Skip to content
Snippets Groups Projects
Commit d6c55c8a authored by Petr Špaček's avatar Petr Špaček
Browse files

Merge branch 'deckard_fail_artifacts' into 'master'

CI optimization

Closes #270

See merge request !397
parents 1ac0ae0a e4ecb1f1
Branches
Tags
1 merge request!397CI optimization
Pipeline #25781 failed with stages
in 3 minutes and 1 second
......@@ -46,13 +46,14 @@ deckard:linux:amd64:valgrind:
script:
- export PREFIX=$(pwd)/.local
- export LD_LIBRARY_PATH=$PREFIX/lib
- apt purge -y python-dnspython python3-dnspython
- apt update
- apt install -y python3-jinja2 python3-pip python3-yaml libffi-dev libaugeas-dev
- pip3 install --upgrade pip
- pip3 install --user dnspython python-augeas
- export TMPDIR=$(pwd)
# TODO: valgrind missing parameter --error-exitcode=1 to fail make on error
- cd tests/deckard && DAEMON=valgrind ADDITIONAL="--leak-check=full --trace-children=yes --quiet --suppressions=/lj.supp $PREFIX/sbin/kresd" MAKEFLAGS="-j $(nproc) --keep-going" make
- cd tests/deckard && DAEMON=valgrind ADDITIONAL="--leak-check=full --trace-children=yes --quiet --suppressions=/lj.supp $PREFIX/sbin/kresd -f 1" MAKEFLAGS="-j $(nproc) --keep-going" make
artifacts:
when: on_failure
expire_in: 1 week
paths:
- tmpdeckard*
dependencies:
- build:linux:amd64
tags:
......@@ -65,13 +66,19 @@ test:linux:amd64:valgrind:
stage: test
script:
# TODO: valgrind missing parameter --error-exitcode=1 to fail make on error
- PREFIX=$(pwd)/.local DEBUGGER="valgrind --leak-check=full --trace-children=yes --quiet --suppressions=/lj.supp" make -k check
- TMPDIR=$(pwd) PREFIX=$(pwd)/.local DEBUGGER="valgrind --leak-check=full --trace-children=yes --quiet --suppressions=/lj.supp" make -k check
dependencies:
- build:linux:amd64
tags:
- docker
- linux
- amd64
artifacts:
when: on_failure
expire_in: 1 week
paths:
- tmpdeckard*
respdiff:linux:amd64:
stage: test
......
deckard @ 71498657
Subproject commit f5bfe683de82772073e4d3edbb4b08f35cd3f346
Subproject commit 71498657b9b81311cdf758f48a947239755999de
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment