Pin and verify sing-box version across Harbor runtimes
Build and Deploy Gateway / build-and-push (push) Failing after 1m15s
Build and Deploy Gateway / deploy (push) Has been skipped

This commit is contained in:
2026-08-09 13:25:07 +03:00
parent 03b2ed5fb0
commit d612e227fa
5 changed files with 25 additions and 4 deletions
+7
View File
@@ -49,3 +49,10 @@ test('macOS installer removes stale archive files without deleting local state',
assert.match(installer, /--exclude='\.runtime'/);
assert.match(installer, /--exclude='\.git'/);
});
test('macOS installer refreshes a stale pinned sing-box version', () => {
const installer = fs.readFileSync(path.join(root, 'scripts', 'install-macos-client.sh'), 'utf8');
assert.match(installer, /TARGET_SINGBOX_VERSION="\$\{SINGBOX_VERSION:-1\.13\.18\}"/);
assert.match(installer, /set_env_value SINGBOX_VERSION "\$TARGET_SINGBOX_VERSION"/);
});