mirror of
https://codeberg.org/Toasterson/solstice-ci.git
synced 2026-04-10 13:20:41 +00:00
- Introduce Debian package build script using `cargo-deb` for orchestrator releases. - Add systemd unit file and post-installation script for automatic service setup. - Update `compose.yml` with host-only port bindings for Postgres and RabbitMQ. - Introduce NGINX-based log proxy for orchestrator logs with Traefik support. - Bump orchestrator version to 0.1.1 and update related Cargo metadata for packaging. - Add example environment file for orchestrator configuration. Signed-off-by: Till Wegmueller <toasterson@gmail.com>
15 lines
No EOL
381 B
Bash
Executable file
15 lines
No EOL
381 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
# Build Debian package for the orchestrator using cargo-deb
|
|
if ! command -v cargo-deb >/dev/null 2>&1; then
|
|
cargo install cargo-deb
|
|
fi
|
|
|
|
# Build release binary first for reproducible asset path
|
|
cargo build -p orchestrator --release
|
|
|
|
# Package orchestrator
|
|
cargo deb -p orchestrator --no-build
|
|
|
|
echo "\nDebs written under target/debian/*.deb" |