.gitlab-ci.yml - fixed test:debian

This commit is contained in:
Oscar Krause 2022-12-29 07:43:16 +01:00
parent d73221afb7
commit 8dd565de0e

View File

@ -108,7 +108,8 @@ test:
#- cat ${EXAMPLE_CONFIG} > /etc/fastapi-dls/env #- cat ${EXAMPLE_CONFIG} > /etc/fastapi-dls/env
# start service in background # start service in background
- cd /usr/share/fastapi-dls/app - cd /usr/share/fastapi-dls/app
- uvicorn --host 127.0.0.1 --port 443 - uvicorn main:app
--host 127.0.0.1 --port 443
--app-dir /usr/share/fastapi-dls/app --app-dir /usr/share/fastapi-dls/app
--ssl-keyfile /etc/fastapi-dls/webserver.key --ssl-keyfile /etc/fastapi-dls/webserver.key
--ssl-certfile /opt/fastapi-dls/webserver.crt --ssl-certfile /opt/fastapi-dls/webserver.crt