Compare commits

...

2 commits

Author SHA1 Message Date
173fb7ea6e
ilot/py3-django-tenants: bump
All checks were successful
/ lint (pull_request) Successful in 26s
/ build-aarch64 (pull_request) Successful in 2m5s
/ deploy-aarch64 (pull_request) Successful in 59s
/ build-x86_64 (pull_request) Successful in 58s
/ deploy-x86_64 (pull_request) Successful in 29s
2024-08-25 12:57:23 -04:00
bece326d84
forgejo-ci: remove packages from all arches when refreshing
Some checks failed
/ lint (pull_request) Successful in 26s
/ deploy-x86_64 (pull_request) Has been skipped
/ build-x86_64 (pull_request) Failing after 44s
/ deploy-aarch64 (pull_request) Has been skipped
/ build-aarch64 (pull_request) Failing after 1m22s
2024-08-25 12:55:18 -04:00
2 changed files with 7 additions and 4 deletions

View file

@ -18,8 +18,9 @@ for apk in $apkgs; do
# if draft, send to -testing branch
branch="$branch-testing"
else
# if not draft, assume that this was sent to $branch-testing and nuke it
curl -s --user $FORGE_REPO_USER:$FORGE_REPO_TOKEN -X DELETE $TARGET_REPO/$BASEBRANCH/$branch-testing/$arch/$name
for delarch in x86_64 aarch64 armv7 armhf s390x ppc64le riscv64 loongarch64 x86; do
curl -s --user $FORGE_REPO_USER:$FORGE_REPO_TOKEN -X DELETE $TARGET_REPO/$BASEBRANCH/$branch/$delarch/$name 2>&1 > /dev/null
done
fi
echo "Sending $name of arch $arch to $TARGET_REPO/$BASEBRANCH/$branch"
@ -27,7 +28,9 @@ for apk in $apkgs; do
echo $return
if [ "$return" == "package file already exists" ]; then
echo "Package already exists, refreshing..."
curl -s --user $FORGE_REPO_USER:$FORGE_REPO_TOKEN -X DELETE $TARGET_REPO/$BASEBRANCH/$branch/$arch/$name
for delarch in x86_64 aarch64 armv7 armhf s390x ppc64le riscv64 loongarch64 x86; do
curl -s --user $FORGE_REPO_USER:$FORGE_REPO_TOKEN -X DELETE $TARGET_REPO/$BASEBRANCH/$branch/$delarch/$name 2>&1 > /dev/null
done
curl -s --user $FORGE_REPO_USER:$FORGE_REPO_TOKEN --upload-file $apk $TARGET_REPO/$BASEBRANCH/$branch
fi
done

View file

@ -4,7 +4,7 @@ pkgname=py3-django-tenants
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
_pkgreal=django-tenants
pkgver=3.6.1
pkgrel=1
pkgrel=2
pkgdesc="Tenant support for Django using PostgreSQL schemas."
url="https://pypi.python.org/project/django-tenants"
arch="noarch"