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",