ci: remove duplicate production deploy approval
This commit is contained in:
@@ -60,3 +60,11 @@ test('coordinator defaults event bridge deployments to both non-production regio
|
||||
assert.match(pipeline, /service == 'event-bridge-service' \? params\.EVENT_BRIDGE_REGION : 'CN'/)
|
||||
assert.match(pipeline, /string\(name: 'EVENT_BRIDGE_REGION', value: downstreamBridgeRegion\)/)
|
||||
})
|
||||
|
||||
test('production deploy uses DEPLOY as the single explicit release switch', () => {
|
||||
assert.match(pipeline, /booleanParam\(name: 'DEPLOY'/)
|
||||
assert.match(pipeline, /test "\$\(git rev-parse HEAD\)" = "\$\(git rev-parse origin\/main\)"/)
|
||||
assert.match(pipeline, /env\.RESOLVED_ENVIRONMENT == 'production' && params\.SKIP_TESTS/)
|
||||
assert.doesNotMatch(pipeline, /input message:/)
|
||||
assert.doesNotMatch(pipeline, /\u786e\u8ba4\u90e8\u7f72/)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user