ci: 收口生产 main 分支部署流程
This commit is contained in:
@@ -66,9 +66,8 @@ test('service map freezes unique internal ports and moves event bridge away from
|
||||
test('overseas compose is isolated from CN defaults and disables implicit schema execution', async () => {
|
||||
const compose = await read('deploy/docker-compose.overseas.yml')
|
||||
assert.match(compose, /^name: firstleg-\$\{DEPLOY_ENV:-test\}-overseas$/m)
|
||||
assert.match(compose, /NACOS_USERNAME: \$\{NACOS_USERNAME\}/)
|
||||
assert.match(compose, /NACOS_PASSWORD: \$\{NACOS_PASSWORD\}/)
|
||||
assert.doesNotMatch(compose, /OVERSEAS_NACOS_(?:USERNAME|PASSWORD)/)
|
||||
assert.match(compose, /NACOS_USERNAME: \$\{OVERSEAS_NACOS_USERNAME\}/)
|
||||
assert.match(compose, /NACOS_PASSWORD: \$\{OVERSEAS_NACOS_PASSWORD\}/)
|
||||
assert.match(compose, /NACOS_NAMESPACE: \$\{OVERSEAS_NACOS_NAMESPACE:-prod-overseas\}/)
|
||||
assert.match(compose, /REGION_CODE: OVERSEAS/)
|
||||
assert.match(compose, /SPRING_SQL_INIT_MODE: never/)
|
||||
|
||||
Reference in New Issue
Block a user