All checks were successful
Deploy Development / deploy (push) Successful in 44s
Test Suite / pytest-backend (push) Successful in 1m54s
Test Suite / lint-backend (push) Successful in 2s
Test Suite / compose-smoke (push) Has been skipped
Test Suite / k6 /api/health Baseline (push) Successful in 19s
Test Suite / playwright-smoke (push) Successful in 15s
EFS-Tabellen, Registry-Sync und Fields-API ermöglichen archetyp-spezifische Felder; Frontend rendert sie im Profil-Modal per FieldRenderer. Co-authored-by: Cursor <cursoragent@cursor.com>
34 lines
1021 B
Bash
34 lines
1021 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
echo "=== Kairo Backend Startup ==="
|
|
|
|
if [ "${SKIP_DB_MIGRATE}" != "1" ] && [ "${SKIP_DB_MIGRATE}" != "true" ] && [ "${SKIP_DB_MIGRATE}" != "yes" ]; then
|
|
python run_migrations.py
|
|
else
|
|
echo "[SKIP_DB_MIGRATE] Migrationen übersprungen"
|
|
fi
|
|
|
|
if [ "${SKIP_SEEDS}" != "1" ] && [ "${SKIP_SEEDS}" != "true" ] && [ "${SKIP_SEEDS}" != "yes" ]; then
|
|
python run_seeds.py
|
|
else
|
|
echo "[SKIP_SEEDS] Data-Seeds übersprungen"
|
|
fi
|
|
|
|
if [ "${SKIP_RIGHTS_SYNC}" != "1" ] && [ "${SKIP_RIGHTS_SYNC}" != "true" ] && [ "${SKIP_RIGHTS_SYNC}" != "yes" ]; then
|
|
python sync_rights_registry.py
|
|
else
|
|
echo "[SKIP_RIGHTS_SYNC] Rights-Registry-Sync übersprungen"
|
|
fi
|
|
|
|
if [ "${SKIP_REGISTRY_SYNC}" != "1" ] && [ "${SKIP_REGISTRY_SYNC}" != "true" ] && [ "${SKIP_REGISTRY_SYNC}" != "yes" ]; then
|
|
python sync_prompt_feature_config.py
|
|
python sync_entity_field_registry.py
|
|
else
|
|
echo "[SKIP_REGISTRY_SYNC] Feature/Prompt/Config/EFS-Sync übersprungen"
|
|
fi
|
|
|
|
export KAIRO_DB_READY=1
|
|
echo "=== Starte Anwendung: $* ==="
|
|
exec "$@"
|