solstice-ci/.mise/tasks/build/deb
Till Wegmueller fad8e60ec1
Add Debian packaging support and network configuration enhancements
- 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>
2025-11-17 19:57:19 +01:00

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"