Migrate Harbor state and traffic history to SQLite
Build and Deploy Gateway / build-and-push (push) Successful in 1m22s
Build and Deploy Gateway / deploy (push) Successful in 16s

This commit is contained in:
2026-09-10 19:21:21 +03:00
parent ab14fc979e
commit 1ae23d848b
48 changed files with 1703 additions and 446 deletions
+4 -3
View File
@@ -14,7 +14,7 @@ on:
env:
DEPLOY_PATH: /opt/vpn-proxy
BASE_IMAGE: vpn-proxy-runtime-base:bookworm-slim
NODE_BUILD_IMAGE: mirror.gcr.io/library/node:20.19-bookworm
NODE_BUILD_IMAGE: mirror.gcr.io/library/node:24.21.0-bookworm
RUNTIME_BASE_SOURCE_IMAGE: mirror.gcr.io/library/debian:bookworm-slim
APT_MIRROR: http://mirror.yandex.ru/debian
APT_SECURITY_MIRROR: http://mirror.yandex.ru/debian-security
@@ -100,7 +100,7 @@ jobs:
echo "Restart scope: ${RESTART_SCOPE}"
echo "affected_components=${AFFECTED_COMPONENTS}" >> "$GITHUB_OUTPUT"
echo "restart_scope=${RESTART_SCOPE}" >> "$GITHUB_OUTPUT"
if command -v npm >/dev/null 2>&1; then
if command -v npm >/dev/null 2>&1 && node scripts/check-sqlite-runtime.mjs; then
npm ci --no-audit --no-fund
npm run typecheck
npm run check:boundaries
@@ -108,7 +108,7 @@ jobs:
npm run build:production
else
if ! docker run --rm "${{ env.NODE_BUILD_IMAGE }}" sh -lc 'command -v npm >/dev/null && command -v git >/dev/null && test -x /bin/bash'; then
echo "Cannot validate change: host npm and the Node 20.19 build toolchain are unavailable." >&2
echo "Cannot validate change: the pinned Node 24.21.0 build toolchain is unavailable." >&2
exit 1
fi
echo "Host npm not found; validating inside ${{ env.NODE_BUILD_IMAGE }}"
@@ -147,6 +147,7 @@ jobs:
APT_MIRROR="${{ env.APT_MIRROR }}" \
APT_SECURITY_MIRROR="${{ env.APT_SECURITY_MIRROR }}" \
SINGBOX_VERSION="${{ env.SINGBOX_VERSION }}" \
NODE_BUILD_IMAGE="${{ env.NODE_BUILD_IMAGE }}" \
./scripts/build-runtime-base.sh
fi