feat(ci): deploy both event bridge regions by default

This commit is contained in:
2026-08-24 17:19:36 +08:00
parent 3d8a1fac20
commit 5a4bcf130a
5 changed files with 69 additions and 19 deletions
@@ -40,3 +40,10 @@ test('coordinator cannot initialize test databases', () => {
assert.doesNotMatch(pipeline, /initialize-test-databases\.sh/)
assert.doesNotMatch(pipeline, /测试数据库初始化/)
})
test('coordinator defaults event bridge deployments to both non-production regions', () => {
assert.match(pipeline, /choice\(name: 'EVENT_BRIDGE_REGION', choices: \['BOTH', 'CN', 'OVERSEAS'\]/)
assert.match(pipeline, /\['BOTH', 'SELECT', 'CN', 'OVERSEAS'\]\.contains\(bridgeRegion\)/)
assert.match(pipeline, /兼容旧 Jenkins 参数 SELECT:本次按 BOTH/)
assert.match(pipeline, /事件桥 BOTH 仅支持开发或测试环境/)
})