优化
This commit is contained in:
@@ -20,6 +20,9 @@ test('Jenkins pipelines recognize all overseas deployable modules', async () =>
|
||||
assert.match(service, /warehouse-overseas-service\/target\/warehouse-overseas-service-1\.0\.0-SNAPSHOT\.jar/)
|
||||
assert.match(controller, /EVENT_BRIDGE_REGION/)
|
||||
assert.match(service, /EVENT_BRIDGE_REGION_OVERRIDE=\$\{params\.EVENT_BRIDGE_REGION\}/)
|
||||
assert.match(controller, /choices: \['SELECT', 'CN', 'OVERSEAS'\]/)
|
||||
assert.match(service, /choices: \['SELECT', 'CN', 'OVERSEAS'\]/)
|
||||
assert.match(controller, /部署 event-bridge-service 必须明确选择 EVENT_BRIDGE_REGION=CN 或 OVERSEAS/)
|
||||
})
|
||||
|
||||
test('service map freezes unique internal ports and moves event bridge away from 9300', async () => {
|
||||
@@ -72,6 +75,7 @@ test('CN and overseas event bridges have explicit opposite-region consumers', as
|
||||
assert.match(scripts, /FIRSTLEG_CONTAINER_EVENT_CONSUMER_URL/)
|
||||
assert.match(scripts, /COMPOSE_FILE="deploy\/docker-compose\.overseas\.yml"/)
|
||||
assert.match(scripts, /PROJECT_NAME="firstleg-\$DEPLOY_ENV-overseas"/)
|
||||
assert.match(scripts, /运行容器镜像与请求镜像不一致/)
|
||||
assert.match(scripts, /REMOTE_ENV_NAME="\.env\.\$PROJECT_NAME"/)
|
||||
assert.match(scripts, /REMOTE_COMPOSE_NAME="docker-compose\.\$PROJECT_NAME\.yml"/)
|
||||
for (const key of [
|
||||
|
||||
Reference in New Issue
Block a user