This commit is contained in:
2026-09-29 18:47:37 +08:00
parent 2c60a29e0f
commit c2927ab9a6
291 changed files with 4008 additions and 6298 deletions
+2 -2
View File
@@ -9,10 +9,10 @@ test('基础 Compose 显式配置审计服务地址,避免静默退化为日
const compose = await read('deploy/docker-compose.yml')
assert.match(compose,
/BAIYUE_AUDIT_ENDPOINT: \$\{BAIYUE_AUDIT_ENDPOINT:-http:\/\/audit-service:9700\/internal\/audit\/events\}/)
/BAIYUE_AUDIT_ENDPOINT: http:\/\/audit-service:9700\/internal\/audit\/events/)
assert.doesNotMatch(compose, /^\s+AUDIT_SERVICE_URL:/m)
assert.match(compose, /^ audit-service:\s*$/m)
assert.match(compose, /container_name: firstleg-\$\{DEPLOY_ENV:-test\}-audit/)
assert.match(compose, /container_name: firstleg-test-audit/)
assert.match(compose, /networks: \[firstleg-network, infra-network\]/)
})