From 0ce12f474222ec039208407bbb46dd8c8f991d85 Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 1 Aug 2026 15:58:44 +0000 Subject: [PATCH] fix: use correct installer URL from storage.googleapis.com Source: github.com/wallarm/ingress build/fetch-module.sh URL: storage.googleapis.com/meganode_storage/6.13/wallarm-6.13.0.x86_64-glibc.sh Preflight checks meganode_storage reachability instead of meganode.wallarm.com --- internal/native/native.go | 7 ++++--- internal/preflight/preflight.go | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/internal/native/native.go b/internal/native/native.go index 398344a..0d94ca8 100644 --- a/internal/native/native.go +++ b/internal/native/native.go @@ -19,15 +19,16 @@ const ( SystemdTemplate = "/etc/systemd/system/wallarm-node@.service" ) -// installerURL returns the correct native node installer for the current architecture. +// installerURL returns the correct Wallarm AIO installer for the current architecture. // Override with WALLARM_INSTALLER_URL env var to pin a specific version. +// Source: https://github.com/wallarm/ingress/blob/main/build/fetch-module.sh func installerURL() string { if u := os.Getenv("WALLARM_INSTALLER_URL"); u != "" { return u } arch := "x86_64" - suffix := "glibc" - return fmt.Sprintf("https://meganode.wallarm.com/6.12/wallarm-6.12.7.%s-%s.sh", arch, suffix) + libc := "glibc" // glibc for Debian/Ubuntu/RHEL, musl for Alpine + return fmt.Sprintf("https://storage.googleapis.com/meganode_storage/6.13/wallarm-6.13.0.%s-%s.sh", arch, libc) } // InstallNode deploys a single native Wallarm node. diff --git a/internal/preflight/preflight.go b/internal/preflight/preflight.go index d02bcdd..7420629 100644 --- a/internal/preflight/preflight.go +++ b/internal/preflight/preflight.go @@ -88,7 +88,7 @@ func Run() Result { } // 6. Installer reachability - installerOk := shared.HTTPHead("https://meganode.wallarm.com/6.12/") + installerOk := shared.HTTPHead("https://storage.googleapis.com/meganode_storage/") r.Checks = append(r.Checks, Check{ Name: "installer_reachable", Passed: installerOk, Detail: "repo.wallarm.com",