feat: add production blue-green frontend deployment

This commit is contained in:
2026-09-20 21:44:56 +08:00
parent 97d0f82256
commit 5887837407
4 changed files with 118 additions and 31 deletions
+3 -1
View File
@@ -49,7 +49,9 @@ test('keeps local environments on target nodes and uses credential-managed SSH f
assert.match(jenkinsfile, /credentialsId: 'firstleg-production-ssh'/)
assert.match(jenkinsfile, /git rev-parse origin\/main/)
assert.match(productionCompose, /127\.0\.0\.1:\$\{HOST_PORT:-9002\}:80/)
assert.match(productionCompose, /API_UPSTREAM: "http:\/\/gateway:9000"/)
assert.match(productionCompose, /API_UPSTREAM: "http:\/\/gateway-active:9000"/)
assert.match(productionCompose, /OVERSEAS_API_UPSTREAM: "http:\/\/gateway-overseas-active:9300"/)
assert.match(productionCompose, /name: firstleg-production-routing/)
assert.match(productionCompose, /name: firstleg-prod-infra-network/)
})