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