-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json
More file actions
34 lines (34 loc) · 863 Bytes
/
config.json
File metadata and controls
34 lines (34 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"environments": {
"staging": {
"url": "https://staging.example.com",
"health_endpoint": "/api/health",
"deploy_command": "vercel deploy --env preview",
"auto_deploy_on_merge": false
},
"production": {
"url": "https://app.example.com",
"health_endpoint": "/api/health",
"deploy_command": "vercel deploy --prod",
"requires_staging_verification": true
}
},
"pre_flight": {
"required_branch_for_production": "main",
"test_command": "npm test",
"build_command": "npm run build",
"audit_level": "high"
},
"verification": {
"health_check_timeout_seconds": 30,
"health_check_retries": 3,
"smoke_test_endpoints": [
"/api/health",
"/api/v1/status"
]
},
"rollback": {
"auto_rollback_on_health_failure": true,
"max_rollback_versions": 3
}
}