solstice-ci/packaging/arch/solstice-forge-integration/PKGBUILD
Till Wegmueller 81a93ef1a7
Enable job log persistence, HTTP server, and extend CI/packaging support
This commit introduces:
- Log persistence feature with a new `job_logs` table and related APIs for recording and retrieving job logs.
- An HTTP server for serving log endpoints and job results.
- Updates to the CI pipeline to enable persistence by default and ensure PostgreSQL readiness.
- Docker Compose updates with a Postgres service and MinIO integration for object storage.
- Packaging scripts for Arch Linux, including systemd service units for deployment.
2025-11-02 23:37:11 +01:00

28 lines
952 B
Bash

# Maintainer: Solstice CI Team
pkgname=solstice-forge-integration
pkgver=0.1.0
pkgrel=1
pkgdesc="Solstice CI Forge Integration (webhook receiver and enqueuer)"
arch=(x86_64)
url="https://codeberg.org/your-namespace/solstice-ci"
license=(MPL2)
depends=(glibc)
makedepends=(rust cargo)
source=("solstice-ci.tar.gz"
"solstice-forge-integration.service"
"forge-integration.env.example")
sha256sums=('SKIP'
'SKIP'
'SKIP')
build() {
cd "$srcdir/solstice-ci"
cargo build --release -p forge-integration
}
package() {
install -Dm755 "$srcdir/solstice-ci/target/release/forge-integration" "$pkgdir/usr/bin/forge-integration"
install -Dm644 "$srcdir/solstice-forge-integration.service" "$pkgdir/usr/lib/systemd/system/solstice-forge-integration.service"
install -Dm644 "$srcdir/forge-integration.env.example" "$pkgdir/usr/share/solstice/examples/forge-integration.env"
install -dm755 "$pkgdir/etc/solstice"
}