solstice-ci/packaging/arch/solstice-orchestrator/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

31 lines
1.1 KiB
Bash

# Maintainer: Solstice CI Team
pkgname=solstice-orchestrator
pkgver=0.1.0
pkgrel=1
pkgdesc="Solstice CI Orchestrator service"
arch=(x86_64)
url="https://codeberg.org/your-namespace/solstice-ci"
license=(MPL2)
depends=(glibc libvirt)
makedepends=(rust cargo)
source=("solstice-ci.tar.gz"
"solstice-orchestrator.service"
"orchestrator.env.example")
sha256sums=('SKIP'
'SKIP'
'SKIP')
build() {
cd "$srcdir/solstice-ci"
cargo build --release -p orchestrator --features libvirt
}
package() {
install -Dm755 "$srcdir/solstice-ci/target/release/orchestrator" "$pkgdir/usr/bin/orchestrator"
install -Dm644 "$srcdir/solstice-orchestrator.service" "$pkgdir/usr/lib/systemd/system/solstice-orchestrator.service"
install -Dm644 "$srcdir/orchestrator.env.example" "$pkgdir/usr/share/solstice/examples/orchestrator.env"
# ship example orchestrator image map
install -Dm644 "$srcdir/solstice-ci/examples/orchestrator-image-map.yaml" "$pkgdir/usr/share/solstice/examples/orchestrator-image-map.yaml"
# default config directory
install -dm755 "$pkgdir/etc/solstice"
}