solstice-ci/.mise/tasks/dev/up
Till Wegmueller 0b54881558
Add support for multi-OS VM builds with cross-built runners and improved local development tooling
This commit introduces:
- Flexible runner URL configuration via `SOLSTICE_RUNNER_URL(S)` for cloud-init.
- Automated detection of OS-specific runner binaries during VM boot.
- Tasks for cross-building, serving, and orchestrating Solstice runners.
- End-to-end VM build flows for Linux and Illumos environments.
- Enhanced orchestration with multi-runner HTTP serving and log streaming.
2025-11-01 14:31:48 +01:00

16 lines
No EOL
568 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
# Start local development dependencies (RabbitMQ) via docker compose
if command -v docker >/dev/null 2>&1; then
if command -v docker-compose >/dev/null 2>&1; then
exec docker-compose up -d rabbitmq
else
exec docker compose up -d rabbitmq
fi
elif command -v podman >/dev/null 2>&1; then
echo "Podman detected but this project uses docker-compose file; please use Docker or translate to podman-compose" >&2
exit 1
else
echo "Neither Docker nor Podman found. Install Docker to run dependencies." >&2
exit 127
fi