mirror of
https://codeberg.org/Toasterson/solstice-ci.git
synced 2026-04-10 21:30:41 +00:00
- Add `--features libvirt` to orchestrator's Debian package build process. - Update orchestrator version to 0.1.2 in `Cargo.toml`. Signed-off-by: Till Wegmueller <toasterson@gmail.com>
15 lines
No EOL
400 B
Bash
Executable file
15 lines
No EOL
400 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 --features libvirt
|
|
|
|
# Package orchestrator
|
|
cargo deb -p orchestrator --no-build
|
|
|
|
echo "\nDebs written under target/debian/*.deb" |