Skip to content

Commit

Permalink
add mtls test to ci
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Bezannier <[email protected]>
  • Loading branch information
flobz committed Oct 10, 2023
1 parent 75bf50b commit 6d90f92
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6d90f92

Please sign in to comment.