fix: harden node upgrades and prepare 1.9.0-alpha

This commit is contained in:
archipelago
2026-10-05 12:43:49 -04:00
parent 138a541d01
commit daac47cac4
129 changed files with 9910 additions and 794 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# Exercise actual nginx without using the node's network or writable configuration.
set -euo pipefail
ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)
sudo -n true
sudo -n systemd-run --unit="archy-guard-test-$(date +%s)-$$" --wait --pipe --collect \
--property="WorkingDirectory=$ROOT" \
--property=PrivateNetwork=yes --property=PrivateTmp=yes \
--property=ProtectSystem=strict --property=ProtectHome=read-only \
--property=NoNewPrivileges=yes \
--property='TemporaryFileSystem=/var/log/nginx:rw /var/lib/nginx:rw' \
python3 "$ROOT/tests/regression/dashboard-public-guard-network.py"