Compare commits

...

3 Commits

Author SHA1 Message Date
8dd565de0e .gitlab-ci.yml - fixed test:debian 2022-12-29 07:43:16 +01:00
d73221afb7 bump version to 1.0 2022-12-29 07:41:25 +01:00
a6ac58d12c fixes 2022-12-29 07:41:25 +01:00
5 changed files with 7 additions and 6 deletions

View File

@ -1,5 +1,5 @@
Package: fastapi-dls Package: fastapi-dls
Version: 1.0.0 Version: 1.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.0 pkgver=1.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,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
@ -137,7 +138,7 @@ test:archlinux:
artifacts: true artifacts: true
script: script:
- pacman -Sy - pacman -Sy
- pacman -U --noconfirm fastapi-dls-*.pkg.tar.zs - pacman -U --noconfirm *.pkg.tar.zs
deploy:docker: deploy:docker:
stage: deploy stage: deploy

View File

@ -20,7 +20,7 @@ from starlette.responses import StreamingResponse, JSONResponse, HTMLResponse
from sqlalchemy import create_engine from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker from sqlalchemy.orm import sessionmaker
from app.util import load_key, load_file from util import load_key, load_file
from orm import Origin, Lease, init as db_init from orm import Origin, Lease, init as db_init
logger = logging.getLogger() logger = logging.getLogger()

View File

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