diff --git a/.gitea/workflows/staging_code_pull.yml b/.gitea/workflows/staging_code_pull.yml index 4e1a6233..bddb527b 100644 --- a/.gitea/workflows/staging_code_pull.yml +++ b/.gitea/workflows/staging_code_pull.yml @@ -175,6 +175,8 @@ jobs: docker compose -f staging_pull_compose.yaml build --pull docker compose -f staging_pull_compose.yaml up -d --remove-orphans + docker compose -f staging_pull_compose.yaml up -d --force-recreate kratos hydra keto oathkeeper + docker compose -f staging_pull_compose.yaml up -d --force-recreate ory_stack_check docker compose -f staging_pull_compose.yaml up -d init-rp # 배포 후 상태 확인 (실패 시 로그 출력을 위함) diff --git a/test/ory_v26_compose_policy_test.sh b/test/ory_v26_compose_policy_test.sh index e13dd46d..1b22b922 100644 --- a/test/ory_v26_compose_policy_test.sh +++ b/test/ory_v26_compose_policy_test.sh @@ -274,6 +274,11 @@ if ! grep -q 'scripts/render_ory_config.sh' "$repo_root/.gitea/workflows/staging exit 1 fi +if ! grep -q 'up -d --force-recreate kratos hydra keto oathkeeper' "$repo_root/.gitea/workflows/staging_code_pull.yml"; then + echo "ERROR: staging code pull must restart Ory services after rendering static config." >&2 + exit 1 +fi + if grep -Eq '^[[:space:]]*rm -rf "?\$OUTPUT_DIR"?[[:space:]]*$' "$repo_root/scripts/render_ory_config.sh"; then echo "ERROR: Ory renderer must preserve config/.generated/ory service directories so live bind mounts stay valid." >&2 exit 1