fix(ci): isolate event bridge region parameter

This commit is contained in:
2026-08-24 19:15:15 +08:00
parent 111500d010
commit 7e080622f3
2 changed files with 2 additions and 1 deletions
@@ -49,5 +49,6 @@ test('coordinator defaults event bridge deployments to both non-production regio
assert.match(pipeline, /事件桥 BOTH 仅支持开发或测试环境/)
assert.match(pipeline, /String downstreamImageTag = deployBothBridges[\s\S]*?\? "\$\{env\.IMAGE_TAG\}-both"/)
assert.match(pipeline, /String downstreamBridgeRegion = deployBothBridges[\s\S]*?\? 'CN'/)
assert.match(pipeline, /service == 'event-bridge-service' \? params\.EVENT_BRIDGE_REGION : 'CN'/)
assert.match(pipeline, /string\(name: 'EVENT_BRIDGE_REGION', value: downstreamBridgeRegion\)/)
})