This commit is contained in:
David Schroeder
2026-07-28 20:02:42 -05:00
parent 8f8002f33e
commit eca9bd2be2
4 changed files with 19 additions and 11 deletions
+3
View File
@@ -26,6 +26,7 @@ if [[ "$identity_mode" != 600 ]]; then
fi
TAPM_FLEET_VERSION='2026.7.26-7'
TAPM_FLEET_HOSTNAME='pve01'
TAPM_FLEET_GIT_COMMIT='0123456789abcdef0123456789abcdef01234567'
TAPM_FLEET_PVE_VERSION='pve-manager/9.0.3/abc~1'
TAPM_FLEET_OS_VERSION='Debian GNU/Linux 13 (trixie)'
@@ -40,6 +41,7 @@ REGISTRATION_JSON="$registration_json" python3 -c '
import json, os
payload = json.loads(os.environ["REGISTRATION_JSON"])
assert payload["installation_id"]
assert payload["hostname"] == "pve01"
assert len(payload["credential"]) == 64
assert payload["proxmenu_version"] == "2026.7.26-7"
assert payload["clustered"] is True
@@ -73,6 +75,7 @@ python3 -c '
import json, os
payload = json.loads(os.environ["EVENT_BODY"])
assert payload["event"] == "run_completed"
assert payload["hostname"] == "pve01"
assert payload["result"] == "success"
assert payload["duration_seconds"] == 12
assert "credential" not in payload