ci/woodpecker/push/tests Pipeline was successful
Expose /jobs, /dedup, and /events routes backed by a new EventBus that broadcasts job lifecycle and per-job progress over SSE. Serve a static dashboard from front/ that lists pending and in-progress jobs, streams agent activity, and shows completed reviews. Also add migrate-apply/migrate-generate scripts that load .env, update the Containerfile to ship the front assets and use the apply script, and refresh the roadmap.
23 lines
414 B
Bash
Executable File
23 lines
414 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
|
|
if [ -f "${ROOT_DIR}/.env" ]; then
|
|
set -a
|
|
. "${ROOT_DIR}/.env"
|
|
set +a
|
|
fi
|
|
|
|
cd "${ROOT_DIR}"
|
|
|
|
if [ "$#" -eq 0 ]; then
|
|
echo "Usage: $0 <nom_de_la_migration>" >&2
|
|
echo "Exemple: $0 add_users_table" >&2
|
|
exit 1
|
|
fi
|
|
|
|
NAME="$1"
|
|
|
|
exec cargo run -p steep-server -- migration generate --name "${NAME}"
|