added PKGBUILD

This commit is contained in:
Oscar Krause 2022-12-28 17:05:59 +01:00
parent 15d52f7586
commit 7f99c260ce
2 changed files with 4 additions and 3 deletions

View File

@ -53,8 +53,9 @@ build:pamac:
- chown -R build:build .
script:
- pwd
- source PKGBUILD && pacman -Syu --noconfirm --needed --asdeps "${makedepends[@]}" "${depends[@]}"
#- source PKGBUILD && pacman -Syu --noconfirm --needed --asdeps "${makedepends[@]}" "${depends[@]}"
- ls -lah
- ls -lah app/
- sudo -u build makepkg -si
test:
@ -135,7 +136,7 @@ deploy:docker:
- docker push $PUBLIC_REGISTRY_USER/${CI_PROJECT_NAME}:${VERSION}
- docker push $PUBLIC_REGISTRY_USER/${CI_PROJECT_NAME}:latest
deploy:debian:
deploy:apt:
# doc: https://git.collinwebdesigns.de/help/user/packages/debian_repository/index.md#install-a-package
image: debian:bookworm-slim
stage: deploy

View File

@ -7,7 +7,7 @@ arch=('any') # x86_64?
url="https://git.collinwebdesigns.de/oscar.krause/fastapi-dls"
#license=('MIT')
depends=('python3' 'python-fastapi' 'uvicorn' 'python-dotenv' 'python-dateutil' 'python-jose' 'python-sqlalchemy' 'python-pycryptodome' 'python-markdown' 'openssl')
source=(".") # 'README.md' 'version.env' 'app/main.py' 'app/orm.py' 'app/util.py'
source=('README.md' 'version.env' 'app/main.py' 'app/orm.py' 'app/util.py')
sha512sums=("SKIP")
package() {