fix(ci): carry dual bridge intent through stable parameters
This commit is contained in:
@@ -46,5 +46,7 @@ test('coordinator defaults event bridge deployments to both non-production regio
|
||||
assert.match(pipeline, /\['BOTH', 'SELECT', 'CN', 'OVERSEAS'\]\.contains\(bridgeRegion\)/)
|
||||
assert.match(pipeline, /兼容旧 Jenkins 参数 SELECT:本次按 BOTH/)
|
||||
assert.match(pipeline, /事件桥 BOTH 仅支持开发或测试环境/)
|
||||
assert.match(pipeline, /params\.EVENT_BRIDGE_REGION == 'BOTH' \? 'SELECT' : params\.EVENT_BRIDGE_REGION/)
|
||||
assert.match(pipeline, /String downstreamImageTag = deployBothBridges[\s\S]*?\? "\$\{env\.IMAGE_TAG\}-both"/)
|
||||
assert.match(pipeline, /String downstreamBridgeRegion = deployBothBridges[\s\S]*?\? 'CN'/)
|
||||
assert.match(pipeline, /string\(name: 'EVENT_BRIDGE_REGION', value: downstreamBridgeRegion\)/)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user