Skip to content

Commit 146096a

Browse files
committed
add mtls test to ci
Signed-off-by: Florian Bezannier <[email protected]>
1 parent 4392a90 commit 146096a

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/tests.yml

+14-2
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,20 @@ jobs:
6464
- name: Run test suite
6565
run: |
6666
./test/wait-for-hawkbit-online
67-
ASAN_OPTIONS=fast_unwind_on_malloc=0 dbus-run-session -- pytest -v
68-
67+
ASAN_OPTIONS=fast_unwind_on_malloc=0 dbus-run-session -- pytest -v --ignore test/test_mtls.py
68+
- name: Launch hawkBit docker container behind https reverse proxy
69+
run: |
70+
docker rm -f hawkbit
71+
docker run -d --name hawkbit -p 8080:8080 hawkbit/hawkbit-update-server \
72+
--hawkbit.server.security.dos.filter.enabled=false \
73+
--hawkbit.server.security.dos.maxStatusEntriesPerAction=-1 \
74+
--hawkbit.dmf.rabbitmq.enabled=false \
75+
--server.forward-headers-strategy=NATIVE \
76+
--hawkbit.artifact.url.protocols.download-http.protocol=https
77+
- name: Run mtls test suite
78+
run: |
79+
./test/wait-for-hawkbit-online
80+
ASAN_OPTIONS=fast_unwind_on_malloc=0 dbus-run-session -- pytest -v test/test_mtls.py
6981
docs:
7082
runs-on: ubuntu-latest
7183
steps:

0 commit comments

Comments
 (0)