feat: harden firewall policies telemetry and operations
quality / changes (push) Successful in 7s
quality / commitlint (push) Skipped
quality / openapi (push) Successful in 30s
quality / web (push) Successful in 1m3s
quality / api (push) Successful in 1m15s
quality / linux-agent-smoke (push) Failing after 27s
quality / docker-check (push) Failing after 2m28s
CD / quality (push) Failing after 5m52s
CD / publish (push) Skipped
quality / changes (push) Successful in 7s
quality / commitlint (push) Skipped
quality / openapi (push) Successful in 30s
quality / web (push) Successful in 1m3s
quality / api (push) Successful in 1m15s
quality / linux-agent-smoke (push) Failing after 27s
quality / docker-check (push) Failing after 2m28s
CD / quality (push) Failing after 5m52s
CD / publish (push) Skipped
Implement reliable agent apply, telemetry v2, analytics retention, guarded rollouts, enrollment, labels and webhooks. Improve ReUI frontend data safety and bounded list loading, and add Docker smoke, recovery and resource checks. Document local verification and pending native acceptance.
This commit is contained in:
1 parent
aa475848fd
commit
9fa6269174
242 files changed
+19872
-3057
No files matched your search
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env sh
|
||||
set -eu
|
||||
image="${1:?Usage: restore.sh IMAGE VOLUME BACKUP_FILE}"
|
||||
volume="${2:?VOLUME required}"
|
||||
backup="${3:?BACKUP_FILE required}"
|
||||
[ -f "$backup" ] || { echo 'Backup file missing' >&2; exit 1; }
|
||||
backup="$(cd "$(dirname "$backup")" && pwd)/$(basename "$backup")"
|
||||
# Named volumes only. All users must remain stopped for the whole operation.
|
||||
docker volume inspect "$volume" >/dev/null
|
||||
[ -z "$(docker ps -q --filter "volume=$volume")" ] || { echo 'Stop every container using the volume before restore' >&2; exit 1; }
|
||||
docker run --rm --network none --mount "type=volume,src=$volume,dst=/data" \
|
||||
--mount "type=bind,src=$backup,dst=/backup.db,readonly" --entrypoint node \
|
||||
"$image" tools/sqlite-backup.mjs restore /backup.db /data/app.db --offline
|
||||
Reference in new issue
Block a user