fix(ci): bridge BOTH through legacy downstream choices

This commit is contained in:
2026-08-24 17:23:05 +08:00
parent ce82916036
commit 9d09b77442
5 changed files with 8 additions and 4 deletions
@@ -157,7 +157,7 @@ test('direct deployments wait for health and automatically restore the previous
})
test('one event bridge build deploys both regional instances in development and test', () => {
assert.match(pipeline, /choice\(name: 'EVENT_BRIDGE_REGION', choices: \['BOTH', 'CN', 'OVERSEAS'\]/)
assert.match(pipeline, /choice\(name: 'EVENT_BRIDGE_REGION', choices: \['BOTH', 'CN', 'OVERSEAS', 'SELECT'\]/)
assert.match(pipeline, /\['BOTH', 'SELECT'\]\.contains\(params\.EVENT_BRIDGE_REGION\)/)
assert.match(pipeline, /\? \['CN', 'OVERSEAS'\]/)
assert.match(pipeline, /bridgeRegions\.each \{ bridgeRegion ->/)