From 6d90f92bd558294aab86a6cb4a66aecb0110c982 Mon Sep 17 00:00:00 2001 From: Florian Bezannier Date: Tue, 10 Oct 2023 19:07:48 +0200 Subject: [PATCH] add mtls test to ci Signed-off-by: Florian Bezannier --- .github/workflows/tests.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fdd082d4..251402e7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -64,8 +64,20 @@ jobs: - name: Run test suite run: | ./test/wait-for-hawkbit-online - ASAN_OPTIONS=fast_unwind_on_malloc=0 dbus-run-session -- pytest -v - + ASAN_OPTIONS=fast_unwind_on_malloc=0 dbus-run-session -- pytest -v --ignore test_mtls + - name: Launch hawkBit docker container behind https reverse proxy + run: | + docker rm -f hawkbit + docker run -d --name hawkbit -p 8080:8080 hawkbit/hawkbit-update-server \ + --hawkbit.server.security.dos.filter.enabled=false \ + --hawkbit.server.security.dos.maxStatusEntriesPerAction=-1 \ + --hawkbit.dmf.rabbitmq.enabled=false \ + --server.forward-headers-strategy=NATIVE \ + --hawkbit.artifact.url.protocols.download-http.protocol=https + - name: Run mtls test suite + run: | + ./test/wait-for-hawkbit-online + ASAN_OPTIONS=fast_unwind_on_malloc=0 dbus-run-session -- pytest -v test/test_mtls.py docs: runs-on: ubuntu-latest steps: