Compare commits
3 Commits
17de412ac3
...
8dd565de0e
Author | SHA1 | Date | |
---|---|---|---|
8dd565de0e | |||
d73221afb7 | |||
a6ac58d12c |
@ -1,5 +1,5 @@
|
||||
Package: fastapi-dls
|
||||
Version: 1.0.0
|
||||
Version: 1.0
|
||||
Architecture: all
|
||||
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
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Maintainer: Oscar Krause <oscar.krause@collinwebdesigns.de>
|
||||
|
||||
pkgname=fastapi-dls
|
||||
pkgver=1.0.0
|
||||
pkgver=1.0
|
||||
pkgrel=1
|
||||
pkgdesc='NVIDIA DLS server implementation with FastAPI'
|
||||
arch=('any')
|
||||
|
@ -108,7 +108,8 @@ test:
|
||||
#- cat ${EXAMPLE_CONFIG} > /etc/fastapi-dls/env
|
||||
# start service in background
|
||||
- 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
|
||||
--ssl-keyfile /etc/fastapi-dls/webserver.key
|
||||
--ssl-certfile /opt/fastapi-dls/webserver.crt
|
||||
@ -137,7 +138,7 @@ test:archlinux:
|
||||
artifacts: true
|
||||
script:
|
||||
- pacman -Sy
|
||||
- pacman -U --noconfirm fastapi-dls-*.pkg.tar.zs
|
||||
- pacman -U --noconfirm *.pkg.tar.zs
|
||||
|
||||
deploy:docker:
|
||||
stage: deploy
|
||||
|
@ -20,7 +20,7 @@ from starlette.responses import StreamingResponse, JSONResponse, HTMLResponse
|
||||
from sqlalchemy import create_engine
|
||||
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
|
||||
|
||||
logger = logging.getLogger()
|
||||
|
@ -1 +1 @@
|
||||
VERSION=1.0.0
|
||||
VERSION=1.0
|
||||
|
Loading…
Reference in New Issue
Block a user