优化
This commit is contained in:
@@ -238,7 +238,7 @@ test('direct deployments wait for health and automatically restore the previous
|
||||
assert.match(directDeployScript, /return 1/)
|
||||
})
|
||||
|
||||
test('one event bridge build deploys both regional instances in development and test', () => {
|
||||
test('one event bridge build deploys both regional instances in every environment', () => {
|
||||
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'\]/)
|
||||
@@ -248,4 +248,5 @@ test('one event bridge build deploys both regional instances in development and
|
||||
assert.match(pipeline, /imageTag\?\.endsWith\('-both'\)/)
|
||||
assert.match(pipeline, /imageTag\.substring\(0, imageTag\.length\(\) - '-both'\.length\(\)\)/)
|
||||
assert.match(pipeline, /env\.DEPLOY_BOTH_EVENT_BRIDGES = deployBothBridges \? 'true' : 'false'/)
|
||||
assert.match(pipeline, /部署生产事件桥实例:/)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user