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
This commit is contained in:
parent
5923f684ec
commit
0ce12f4742
2 changed files with 5 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue