Files
xiaoxia-saas/scripts/ci/ci_env.sh
xiaoxia 0cfeb6927f
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 12s
CI/CD Pipeline / Validate - Migration (alembic) (pull_request) Successful in 53s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 27s
CI/CD Pipeline / Validate - Type Check (mypy) (pull_request) Successful in 3m22s
CI/CD Pipeline / Validate - Code Quality (pull_request) Successful in 3m42s
CI/CD Pipeline / PR Build Web Image (pull_request) Successful in 36s
CI/CD Pipeline / PR Build Worker Image (pull_request) Successful in 31s
CI/CD Pipeline / PR Build API Image (pull_request) Successful in 49s
Preview Deploy / Deploy Preview Environment (pull_request) Failing after 19s
AI Code Review / AI Code Review (pull_request) Successful in 1m0s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 2m23s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 1m42s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 3m0s
Preview Cleanup / Cleanup Preview Environment (pull_request) Successful in 12s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 1277h35m25s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 1277h35m27s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 1277h35m29s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 1277h35m37s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 1277h35m31s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 1277h35m33s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Failing after 1277h37m39s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 1277h37m47s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 1277h37m51s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 1277h36m39s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 1277h36m41s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 1277h36m43s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 1277h36m45s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 1278h10m21s
chore(ci): 升级migration验证,新增4项检查 (#451) 同步到main
2026-07-25 09:45:45 +08:00

15 lines
596 B
Bash
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash
# CI共享环境变量与常量定义
# 所有CI脚本source此文件获取统一的配置,避免硬编码分散
# === 共享常驻PG实例(CI_USE_SHARED_PG=true时使用)===
export CI_SHARED_PG_PORT="${CI_SHARED_PG_PORT:-5433}"
export CI_SHARED_PG_USER="${CI_SHARED_PG_USER:-postgres}"
export CI_SHARED_PG_PASSWORD="${CI_SHARED_PG_PASSWORD:-ci_pg_2026!}"
# === 本地PG默认端口(CI_USE_SHARED_PG=false时容器映射或本地PG)===
export CI_LOCAL_PG_PORT="${CI_LOCAL_PG_PORT:-5432}"
# === 默认数据库名 ===
export CI_DEFAULT_DB="${CI_DEFAULT_DB:-xiaoxia_saas}"