mirror of
https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
synced 2024-11-22 14:28:48 +00:00
.gitlab-ci.yml - fixes
This commit is contained in:
parent
507ce93718
commit
701453b18a
@ -69,13 +69,13 @@ test:debian:
|
|||||||
script:
|
script:
|
||||||
# test installation
|
# test installation
|
||||||
- apt-get install -q -y ./build/build.deb --fix-missing
|
- apt-get install -q -y ./build/build.deb --fix-missing
|
||||||
- uvicorn --host 127.0.0.1 --port 443 \
|
- uvicorn --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
|
||||||
--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"
|
||||||
- kill $FASTAPI_DLS_PID
|
- kill $FASTAPI_DLS_PID
|
||||||
# copy example config from GitLab-CI-Variables
|
# copy example config from GitLab-CI-Variables
|
||||||
#- cat ${EXAMPLE_CONFIG} > /etc/fastapi-dls/env
|
#- cat ${EXAMPLE_CONFIG} > /etc/fastapi-dls/env
|
||||||
|
Loading…
Reference in New Issue
Block a user