9fa8a42fc2
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 1s
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (pull_request) Successful in 2s
CI/CD Pipeline / PR Build API Image (pull_request) Successful in 4m2s
CI/CD Pipeline / PR Build Worker Image (pull_request) Successful in 4m55s
CI/CD Pipeline / Validate - Style (pull_request) Successful in 5m3s
AI Code Review / AI Code Review (pull_request) Failing after 5m13s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Successful in 5m30s
CI/CD Pipeline / Validate - Python (mypy + alembic) (pull_request) Successful in 5m41s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 6m6s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 4m35s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 7m23s
CI/CD Pipeline / Validate - Security (pull_request) Successful in 8m20s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 14m1s
CI/CD Pipeline / CI Gate (pull_request) Successful in 0s
Preview Cleanup / Cleanup Preview Environment (pull_request) Successful in 4m36s
ACR Cleanup / ACR Image Cleanup (pull_request_target) Successful in 5m2s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 333h10m15s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 333h10m16s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 333h10m16s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 333h10m17s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 333h20m6s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 333h20m10s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 333h20m12s
CI/CD Pipeline / Retag skipped Staging Web Image (pull_request) Failing after 333h20m16s
CI/CD Pipeline / Retag skipped Staging API Image (pull_request) Failing after 333h20m18s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 333h24m23s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 333h20m20s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 333h24m23s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 333h20m22s
CI/CD Pipeline / Check push changed paths (pull_request) Failing after 333h24m26s
CI/CD Pipeline / Canary Release to Production (pull_request) Failing after 333h44m36s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 333h44m37s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 333h54m28s
CI/CD Pipeline / Retag skipped Staging Worker Image (pull_request) Failing after 333h54m34s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 333h58m42s
CI/CD Pipeline / PR Build Web Image (pull_request) Failing after 333h58m44s
- 创建 scripts/config_diff_check.sh:对比渲染 .env 与服务器当前 .env - 输出 ADDED/REMOVED/CHANGED 三类变更 - 敏感值(KEY/SECRET/PASSWORD/TOKEN/URL)脱敏显示(前4字符+***) - 支持首次部署(服务器 .env 不存在时全部标记为 ADDED) - 始终返回退出码 0(仅告警,不阻塞部署) - 末尾输出汇总统计 - 修改 ci-pipeline.yml deploy-staging:SSH 验证后、上传前插入 diff 步骤 - SCP 下载服务器当前 .env 到 CI runner - 运行 diff 脚本后清理临时文件 - .gitignore 添加 .env.current
63 lines
786 B
Plaintext
63 lines
786 B
Plaintext
# Node / frontend
|
|
node_modules/
|
|
.next/
|
|
out/
|
|
dist/
|
|
coverage/
|
|
|
|
# Python / backend
|
|
.cache/
|
|
.venv/
|
|
venv/
|
|
.venv-ci-root/
|
|
__pycache__/
|
|
.pytest_cache/
|
|
.mypy_cache/
|
|
.pytype/
|
|
ruff_cache/
|
|
*.pyc
|
|
|
|
# Env / secrets
|
|
.env
|
|
.env.local
|
|
.env.development
|
|
.env.production
|
|
.env.staging
|
|
!.env.example
|
|
# 配置模板不受忽略规则限制
|
|
!deploy/configs/.env.staging
|
|
!deploy/configs/.env.production
|
|
# 渲染后的 env 文件包含真实密钥,绝不能提交
|
|
.env.rendered
|
|
|
|
# OS / editor
|
|
.DS_Store
|
|
Thumbs.db
|
|
.vscode/
|
|
.idea/
|
|
|
|
# Logs / temp
|
|
*.log
|
|
tmp/
|
|
temp/
|
|
|
|
# Build / runtime artifacts
|
|
build/
|
|
.runtime/
|
|
|
|
# SQLite databases
|
|
*.db
|
|
*.sqlite
|
|
*.sqlite3
|
|
|
|
# Tracker temp files
|
|
tracker_tasks.json
|
|
|
|
frontend-v21-ui-prototype-final.html
|
|
|
|
!.vscode/
|
|
!.vscode/settings.json
|
|
.vscode/extensions.json
|
|
.coverage
|
|
.env.current
|