mirror of
https://codeberg.org/Toasterson/solstice-ci.git
synced 2026-04-10 13:20:41 +00:00
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.
31 lines
1.1 KiB
Bash
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"
|
|
}
|