Commit graph

9 commits

Author SHA1 Message Date
admin
0ee73f5af3 refactor: download repo archive once, copy selected folders to deploy
- Replaces per-file curl downloads with single archive download
  (tar.gz from Gitea), extracts only common/ + selected type folder.
- Interactive prompt uses /dev/tty when stdin is piped (curl|bash).
- Falls back to both only when fully headless.
- Post-extract sed patch fixes library sourcing path for flat deploy/
  until source scripts are updated in the repo.
2026-08-01 08:50:14 +00:00
admin
68fbb25db2 fix: interactive deploy type selection, flat deploy/ dir, set -u crash fix
- setup.sh: ask user which deployment type (docker/native/both) instead
  of silently downloading everything; uses env var for piped mode
- All scripts now download to single flat deploy/ directory instead of
  separate common/docker/native dirs
- Post-download sed patch fixes library sourcing path until repo is
  synced
- wallarm-native.sh: fix set -u crash when declare -a used without =()
  (user hitting blank node name triggered unbound variable crash)
- All deployment scripts: library source path changed from
  ../common/wallarm-lib.sh to same-directory wallarm-lib.sh
2026-08-01 08:44:38 +00:00
Sechpoint Admin
d9b53c6c18 refactor: make wallarm-native.sh the sole native deployment script
Remove the native/wallarm-ct-*.sh scripts (NGINX-module based native
deployment) so the wallarm-ct-* family is Docker-only and the native
deployment is represented by the unified wallarm-native.sh manager.
Update setup.sh (native downloads only wallarm-native.sh), README and
changelog.
2026-08-01 08:53:07 +01:00
Sechpoint Admin
537beed957 fix: make setup.sh download both deployment types under curl|bash
The interactive deployment-type prompt read from stdin, which is the script
pipe (not the terminal) when piped to bash, so it was silently skipped and
only Docker scripts were downloaded. setup.sh is now non-interactive by
default and downloads BOTH deployment types (docker/ + native/) so the native
option is always available; DEPLOYMENT_TYPE=docker|native restricts to one.
Also guard clear and drop the broken overwrite confirmation.
2026-08-01 08:45:29 +01:00
Sechpoint Admin
aa3d716f61 feat: add native deployment and separate docker|native structure
- Restructure repo into docker/ and native/ deployment types with a shared
  common/wallarm-lib.sh (logging, detection, validation, connectivity, env parsing)
- Move Docker scripts + artifacts (binaries/, images/) under docker/ (git mv, history preserved)
- Refactor Docker scripts to source the shared library; update artifact URLs
- Add native/ scripts for no-Docker deployment using the Wallarm all-in-one installer
  (check, deploy, reconfigure, uninstall) with version pinning via WALLARM_VERSION
- Add native/wallarm-native.sh unified node manager (Wallarm Native Node, connector
  mode) with preflight checks, parallel multi-node install, config/remove/status
- Update setup.sh to download scripts per deployment type (DEPLOYMENT_TYPE=...)
- Update README.md and changelog.md
2026-08-01 08:36:37 +01:00
administrator
509909de09 chore: remove Forgejo references and fix setup URL
- Remove all Forgejo branding from codebase for neutrality
- Update setup.sh header comments and banner
- Fix download URL in README from /raw/branch/main/ to /src/branch/main/
- Update changelog to document additional changes
2026-04-21 10:14:03 +01:00
administrator
6b8186f496 chore: auto-commit 2026-03-30 06:58 2026-03-30 06:58:19 +01:00
administrator
c5beca562b chore: auto-commit 2026-03-30 06:54 2026-03-30 06:54:23 +01:00
administrator
22eaefdc2d chore: auto-commit 2026-03-30 06:52 2026-03-30 06:52:21 +01:00