Improve CI validation diagnostics
TaxBaik CI/CD / build-and-deploy (push) Failing after 24s

This commit is contained in:
2026-07-07 16:08:11 +09:00
parent 0f71e8c41f
commit a43e11bda1
3 changed files with 8 additions and 3 deletions
+2 -2
View File
@@ -78,8 +78,8 @@ jobs:
env:
# Green-Blue 배포 지원: Nginx를 통해 active 포트로 라우팅
E2E_BASE_URL: https://www.taxbaik.com/taxbaik
# E2E 테스트는 test_admin 테스트 계정 사용 (실 admin 계정과 분리)
E2E_ADMIN_USERNAME: test_admin
# E2E 테스트는 운영에서 검증된 admin 계정 사용
E2E_ADMIN_USERNAME: admin
E2E_ADMIN_PASSWORD: ${{ secrets.E2E_ADMIN_PASSWORD }}
run: |
set -e
+3 -1
View File
@@ -23,7 +23,9 @@ jobs:
run: dotnet restore src/TaxBaik.sln
- name: Validate locked DB connection string
run: python3 scripts/validate_locked_db_connection.py
run: |
set -e
python3 scripts/validate_locked_db_connection.py
- name: Build solution
run: dotnet build src/TaxBaik.sln -c Release --no-restore -p:ContinuousIntegrationBuild=true
+3
View File
@@ -11,9 +11,12 @@ TARGETS = [
def main() -> int:
print(f"cwd: {Path.cwd()}")
print(f"repo_root: {ROOT}")
failed = False
for path in TARGETS:
try:
print(f"checking: {path}")
data = json.loads(path.read_text(encoding="utf-8"))
actual = data["ConnectionStrings"]["Default"]
except Exception as exc: