From 7f99c260ce01ed17b528f7b946fc845f6531843e Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Wed, 28 Dec 2022 17:05:59 +0100 Subject: [PATCH] added PKGBUILD --- .gitlab-ci.yml | 5 +++-- PKGBUILD | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3f7cb42..d57937d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/PKGBUILD b/PKGBUILD index 07b34e9..1dd571c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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() {