feat(ci): deploy both event bridge regions by default
This commit is contained in:
@@ -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 仅支持开发或测试环境/)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user