Compare commits

..

1 Commits

Author SHA1 Message Date
17de412ac3 fixes 2022-12-29 07:37:17 +01:00
4 changed files with 5 additions and 6 deletions

View File

@ -1,5 +1,5 @@
Package: fastapi-dls Package: fastapi-dls
Version: 1.0 Version: 1.0.0
Architecture: all Architecture: all
Maintainer: Oscar Krause oscar.krause@collinwebdesigns.de Maintainer: Oscar Krause oscar.krause@collinwebdesigns.de
Depends: python3, python3-fastapi, python3-uvicorn, python3-dotenv, python3-dateutil, python3-jose, python3-sqlalchemy, python3-pycryptodome, python3-markdown, uvicorn, openssl Depends: python3, python3-fastapi, python3-uvicorn, python3-dotenv, python3-dateutil, python3-jose, python3-sqlalchemy, python3-pycryptodome, python3-markdown, uvicorn, openssl

View File

@ -2,7 +2,7 @@
# Maintainer: Oscar Krause <oscar.krause@collinwebdesigns.de> # Maintainer: Oscar Krause <oscar.krause@collinwebdesigns.de>
pkgname=fastapi-dls pkgname=fastapi-dls
pkgver=1.0 pkgver=1.0.0
pkgrel=1 pkgrel=1
pkgdesc='NVIDIA DLS server implementation with FastAPI' pkgdesc='NVIDIA DLS server implementation with FastAPI'
arch=('any') arch=('any')

View File

@ -108,8 +108,7 @@ 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 --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 /opt/fastapi-dls/webserver.crt
@ -138,7 +137,7 @@ test:archlinux:
artifacts: true artifacts: true
script: script:
- pacman -Sy - pacman -Sy
- pacman -U --noconfirm *.pkg.tar.zs - pacman -U --noconfirm fastapi-dls-*.pkg.tar.zs
deploy:docker: deploy:docker:
stage: deploy stage: deploy

View File

@ -1 +1 @@
VERSION=1.0 VERSION=1.0.0