2025-11-02 23:37:11 +01:00
|
|
|
# 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)
|
2025-11-08 20:21:57 +00:00
|
|
|
depends=(glibc libvirt sqlite postgresql-libs zstd)
|
2025-11-02 23:37:11 +01:00
|
|
|
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"
|
|
|
|
|
}
|