Update sing-box to 1.13.18
Build and Deploy Gateway / build-and-push (push) Successful in 19s
Build and Deploy Gateway / deploy (push) Successful in 13s

This commit is contained in:
2026-08-09 13:05:51 +03:00
parent f40221969b
commit 5da9686c27
13 changed files with 28 additions and 13 deletions
+16
View File
@@ -154,3 +154,19 @@ test('production paths use only the compiled dispatcher', () => {
assert.match(legacyBuild, /npm run build:production && docker build/);
assert.match(dockerignore, /^dist$/m);
});
test('every shipped build defaults to sing-box 1.13.18', () => {
for (const file of [
'.env.example',
'.gitea/workflows/gateway-build.yml',
'Dockerfile',
'Dockerfile.client',
'Dockerfile.runtime-base',
'docker-compose.client.yml',
'docker-compose.gateway.yml',
'scripts/build-on-107-deploy-111.sh',
'scripts/build-runtime-base.sh',
]) {
assert.match(fs.readFileSync(path.join(root, file), 'utf8'), /SINGBOX_VERSION[^\n]*1\.13\.18/);
}
});
+1 -1
View File
@@ -70,5 +70,5 @@ test('client keeps its local proxy but routes directly when Harbor Gateway is ah
{ inbound: ['mixed-in'], outbound: 'direct' },
]);
assert.equal(config.route.final, 'direct');
assert.deepEqual(config.outbounds.map((outbound) => outbound.tag), ['test-vpn', 'direct', 'block']);
assert.deepEqual(config.outbounds.map((outbound) => outbound.tag), ['test-vpn', 'direct']);
});