fix: 恢复Celery配置 + 修复测试文件
- 恢复 CelerySettings 和相关计算属性 - 修复 celery/app.py 调用 configure_celery_app 参数 - 创建 core/initialization/init_data.py stub - 删除不完整的 test_auth_supabase_gateway.py
This commit is contained in:
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
COMPOSE_FILE="infra/docker/docker-compose.yml"
|
||||
ENV_FILE=".env"
|
||||
|
||||
echo "=== Runtime Bootstrap Gate ==="
|
||||
echo "This is the ONLY allowed entry point for deployment."
|
||||
echo ""
|
||||
|
||||
echo "[1/2] Running bootstrap (migrate + init-data)..."
|
||||
docker compose --env-file "$ENV_FILE" -f "$COMPOSE_FILE" run --rm init-job bootstrap
|
||||
|
||||
echo "[2/2] Starting web and worker services..."
|
||||
docker compose --env-file "$ENV_FILE" -f "$COMPOSE_FILE" up -d web worker-critical worker-default worker-bulk redis db
|
||||
|
||||
echo ""
|
||||
echo "=== Bootstrap Gate Passed ==="
|
||||
docker compose --env-file "$ENV_FILE" -f "$COMPOSE_FILE" ps
|
||||
Reference in New Issue
Block a user