mirror of
https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
synced 2024-12-27 16:08:55 +00:00
added PKGBUILD
This commit is contained in:
parent
15d52f7586
commit
7f99c260ce
@ -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
|
||||
|
2
PKGBUILD
2
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() {
|
||||
|
Loading…
Reference in New Issue
Block a user