- 新增完整的 Python 实现,替代 Go 版本 - 添加 Web 登录界面和仪表板 - 实现 JWT 认证和 API 密钥管理 - 添加数据库存储功能 - 保持与 Go 版本一致的目录结构和启动脚本 - 包含完整的文档和测试脚本
39 lines
989 B
YAML
39 lines
989 B
YAML
# 环境分发配置
|
|
environments:
|
|
dev:
|
|
branches: ["dev", "develop", "development", "feature/*"]
|
|
jenkins_job: "alpha-build"
|
|
jenkins_url: "https://jenkins-alpha.freeleaps.com"
|
|
priority: 2
|
|
|
|
prod:
|
|
branches: ["prod", "production", "main", "master", "release/*"]
|
|
jenkins_job: "production-build"
|
|
jenkins_url: "https://jenkins-prod.freeleaps.com"
|
|
priority: 1
|
|
|
|
staging:
|
|
branches: ["staging", "stage", "pre-prod"]
|
|
jenkins_job: "staging-build"
|
|
jenkins_url: "https://jenkins-staging.freeleaps.com"
|
|
priority: 3
|
|
|
|
default:
|
|
branches: ["*"]
|
|
jenkins_job: "default-build"
|
|
jenkins_url: "https://jenkins-default.freeleaps.com"
|
|
priority: 4
|
|
|
|
# 防抖配置
|
|
deduplication:
|
|
enabled: true
|
|
window_seconds: 300 # 5分钟防抖窗口
|
|
strategy: "commit_branch" # commit_hash + branch
|
|
cache_ttl: 3600 # 缓存1小时
|
|
|
|
# 队列配置
|
|
queue:
|
|
max_concurrent: 10
|
|
max_retries: 3
|
|
retry_delay: 60 # 秒
|
|
priority_levels: 4 |