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

View File

@ -7,7 +7,7 @@ arch=('any') # x86_64?
url="https://git.collinwebdesigns.de/oscar.krause/fastapi-dls" url="https://git.collinwebdesigns.de/oscar.krause/fastapi-dls"
#license=('MIT') #license=('MIT')
depends=('python3' 'python-fastapi' 'uvicorn' 'python-dotenv' 'python-dateutil' 'python-jose' 'python-sqlalchemy' 'python-pycryptodome' 'python-markdown' 'openssl') 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") sha512sums=("SKIP")
package() { package() {