ci: remove duplicate production deploy approval

This commit is contained in:
2026-09-17 16:01:00 +08:00
parent 9dc344bdef
commit 3b8b6f5aa2
2 changed files with 8 additions and 11 deletions
@@ -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/)
})