admin
57e0c8798a
fix: patch set -e out of setup.sh before running
2026-08-01 19:00:30 +00:00
admin
f7689b4d6a
fix: check node.yaml for success, ignore env.list exit code
2026-08-01 18:57:24 +00:00
admin
8484ca46a7
fix: keep env.list alive with background goroutine during setup.sh
2026-08-01 18:37:17 +00:00
admin
0922102226
fix: patch setup.sh env.list sed lines to be non-fatal, kill port with ss
2026-08-01 18:36:11 +00:00
admin
bc66018af3
fix: kill existing process on target port before starting nginx
2026-08-01 18:29:03 +00:00
admin
4432855a2d
fix: trap DEBUG to ensure env.list always exists during setup.sh
2026-08-01 18:27:20 +00:00
admin
8638f198ff
fix: basic nginx.conf (no wallarm directives before module loads)
2026-08-01 17:35:26 +00:00
admin
d405c98ff8
fix: deploy to real /opt/wallarm, then move to /opt/fw/{name}/wallarm
...
No symlinks, no path patching. Setup.sh runs in its native environment.
After success, os.Rename moves everything to the instance directory.
2026-08-01 17:30:05 +00:00
admin
9cf6a2a66b
fix: patch setup.sh /opt/wallarm paths instead of symlink
2026-08-01 17:28:04 +00:00
admin
bb45f8606d
fix: robust symlink creation, handle /opt/wallarm existing as directory
2026-08-01 17:22:13 +00:00
admin
a1d71b3eac
feat: start per-instance NGINX with status endpoint before setup.sh
2026-08-01 17:18:19 +00:00
admin
c38535398d
refactor: per-instance NGINX, clean native.go
2026-08-01 17:16:02 +00:00
admin
91b8b0e980
fix: set cmd.Dir to instance dir so setup.sh finds modules/
2026-08-01 17:14:45 +00:00
admin
fd3a005fe8
fix: use Wallarm v6.12.5 (matching AIO_BASE from ingress repo)
2026-08-01 17:11:19 +00:00
admin
02e9fd2793
fix: add --custom-ngx-build back, fix preflight URL
2026-08-01 17:10:51 +00:00
admin
b44da10ae7
fix: preflight URL, /opt/fw/ refactor complete
2026-08-01 16:55:53 +00:00
admin
02f3368fa6
fix: remove cmd.Dir — setup.sh cp -a . /opt/wallarm self-destructs when cwd is /opt/wallarm
2026-08-01 16:53:19 +00:00
admin
af8df1a659
fix: add --keep flag to prevent Makeself from deleting /opt/wallarm on failure
2026-08-01 16:52:40 +00:00
admin
7875dbca13
fix: remove --force flag — caused setup.sh to hang
2026-08-01 16:46:23 +00:00
admin
d3db8ce4c0
fix: extract AIO to /opt/wallarm/ (setup.sh hardcodes this path)
...
setup.sh uses /opt/wallarm/ for env.list and all paths.
Extract once to base dir, each node registers with --force.
Simplified InstallNode to 4 steps: nginx → download → extract → setup.
2026-08-01 16:38:58 +00:00
admin
5a0cfe92e1
fix: flush log file, show last lines in error output
2026-08-01 16:34:48 +00:00
admin
b86d9d3604
fix: systemd unit starts per-instance NGINX before Wallarm services
2026-08-01 16:27:52 +00:00
admin
d8390eab2a
feat: per-instance NGINX — each node gets its own nginx binary and config
...
- Shared NGINX binary at /opt/wallarm/nginx/sbin/nginx (installed once)
- Each node gets /opt/wallarm/nodes/{name}/nginx/ with:
- sbin/nginx (copied from shared)
- conf/nginx.conf (per-instance, unique port + upstream)
- logs/ (per-instance access/error logs)
- setup.sh runs with --custom-ngx-build (uses our nginx)
2026-08-01 16:26:41 +00:00
admin
0a301fbd05
refactor: install NGINX under /opt/wallarm/nginx/
2026-08-01 16:23:24 +00:00
admin
0ac2fc82cf
fix: try all package managers for NGINX, clear error if all fail
2026-08-01 16:21:51 +00:00
admin
82a28c6101
fix: remove --host flag, --cloud and --host are mutually exclusive
2026-08-01 16:04:22 +00:00
admin
2e6eca019d
fix: use setup.sh batch mode with --batch --token --cloud
...
- Uses AIO installer's built-in batch mode instead of interactive prompts
- --batch --token TOKEN --cloud US|EU --host HOST for non-interactive install
- cloudFromHost() maps api.wallarm.com → EU, us1.api.wallarm.com → US
- No more stdin piping, proper CLI flags
2026-08-01 15:59:54 +00:00
admin
0ce12f4742
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
2026-08-01 15:58:49 +00:00
admin
5923f684ec
fix: auto-install NGINX before Wallarm node setup
...
Wallarm node (native deployment) requires NGINX as a runtime
dependency. installNginx() runs apt-get install nginx if not
already present, before extracting/running the Wallarm installer.
Also fixed repo.wallarm.com → meganode.wallarm.com in preflight.
2026-08-01 15:53:02 +00:00
admin
5dc449b7af
Revert "refactor: move Go source into source/ directory"
...
This reverts commit 78e316af64 .
2026-08-01 15:33:35 +00:00
admin
78e316af64
refactor: move Go source into source/ directory
...
- source/cmd/wallarm/main.go — binary entrypoint
- source/internal/ — all packages
- source/go.mod, source/go.sum
- deploy.sh builds from source/ subdirectory
- Clean separation: source code vs deployment configs
2026-08-01 15:33:17 +00:00
admin
f5919b4c85
fix: extract Makeself archive with --noexec, then run setup.sh
...
- Uses Makeself --noexec --target to extract without running
- Then runs the embedded setup.sh with WALLARM_API_TOKEN and
WALLARM_API_HOST env vars
- Interactive prompts handled via stdin pipe
2026-08-01 15:25:44 +00:00
admin
b1c596ccf2
fix: use correct meganode.wallarm.com installer URL
...
- Updated from deprecated repo.wallarm.com to meganode.wallarm.com/6.12/
- Installer URL: wallarm-6.12.7.x86_64-glibc.sh
- Override with WALLARM_INSTALLER_URL env var
- Pipes token+region via stdin to skip interactive prompts
- Preflight checks meganode.wallarm.com reachability
2026-08-01 15:24:03 +00:00
admin
d0ad1c5243
fix: installer URL overridable, simplified deploy form
...
- WALLARM_INSTALLER_URL env var overrides the native node installer URL
- Address simplified: default IP 0.0.0.0, only ask for port
- Added upstream IP/port prompts
- Per-instance .env file saved to /opt/wallarm/{name}/.env
(allows resuming/reinstalling from saved state)
- Confirmation summary before deploying
2026-08-01 15:21:04 +00:00
admin
2db33343a8
feat: native and docker deployment packages + Makefile
...
- internal/native/ — systemd units, installer download, node install/remove/status
(ported from wallarm-native.sh)
- internal/docker/ — Docker engine install (apt/yum/apk), image load, container
deploy/remove/status (ported from wallarm-ct-deploy.sh)
- Makefile — cross-compile targets (linux-amd64, linux-arm64)
2026-08-01 13:55:28 +00:00