solstice-ci/packaging/arch/solstice-orchestrator/PKGBUILD
Till Wegmueller 1c5dc338f5
Add Podman Compose deployment stack with Traefik and services integration
This commit introduces:
- A production-ready Podman Compose stack using Traefik as a reverse proxy with Let's Encrypt integration.
- Per-environment logical separation for Postgres, RabbitMQ, and MinIO services.
- New deployment utilities, including a `.env.sample` template, `compose.yml`, and setup scripts for MinIO and Postgres.
- Updates to `github-integration` HTTP server with basic webhook handling using `axum` and configurable paths.
- Adjustments to packaging tasks for better tarball generation via `git archive`.
- Expanded dependencies for `PKGBUILD` to support SQLite and PostgreSQL libraries.
- Containerfiles for orchestrator and integration services to enable Rust multi-stage builds without sccache.

This enables simplified and secure CI deployments with automatic routing, TLS, and volume persistence.
2025-11-08 20:21:57 +00: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 sqlite postgresql-libs zstd)
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"
}