.gitlab-ci.yml - fixed test:debian
This commit is contained in:
parent
8dd565de0e
commit
f074eab401
@ -108,11 +108,11 @@ 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 main:app
|
- uvicorn main:app
|
||||||
--host 127.0.0.1 --port 443
|
--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 /etc/fastapi-dls/webserver.crt
|
||||||
--proxy-headers &
|
--proxy-headers &
|
||||||
- FASTAPI_DLS_PID=$!
|
- FASTAPI_DLS_PID=$!
|
||||||
- echo "Started service with pid $FASTAPI_DLS_PID"
|
- echo "Started service with pid $FASTAPI_DLS_PID"
|
||||||
|
Loading…
Reference in New Issue
Block a user