Fill the framework gaps the Makefile already referenced: scripts/test.sh
(wrapper over tests/run-tests.sh, now exercised by the pre-push full
audit) and up.sh/down.sh stubs for this non-compose repo. Extend
kuma-fleet-sync STATIC_GEAR with the fixed network/office devices
(printer, consrv, tsys6/7 OOB, scanners, label printer, r1-tor-top,
DOME) so future runs keep their ICMP monitors in sync; DOME added
paused like the other known-down systems.
💘 Generated with Crush
Assisted-by: Crush:glm-5.2
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
#
|
||||||
|
# down.sh — docker compose lifecycle wrapper (framework entry point).
|
||||||
|
#
|
||||||
|
# No compose stack in this repo; see up.sh.
|
||||||
|
#
|
||||||
|
set -euo pipefail
|
||||||
|
echo "down.sh: no docker-compose stack in PFVCluster (infra repo). See AGENTS.md."
|
||||||
|
exit 0
|
||||||
@@ -33,16 +33,27 @@ STATIC_GEAR = [
|
|||||||
"pfv-r3-tor-mgmt-01.knel.net",
|
"pfv-r3-tor-mgmt-01.knel.net",
|
||||||
"pfv-r3-tor-stor-01.knel.net",
|
"pfv-r3-tor-stor-01.knel.net",
|
||||||
"pfv-r2-tor-01.knel.net",
|
"pfv-r2-tor-01.knel.net",
|
||||||
|
"pfv-r1-tor-top.knel.net",
|
||||||
"pfv-r6-mgmt-01.knel.net",
|
"pfv-r6-mgmt-01.knel.net",
|
||||||
"pfv-rrinfra-rtr.knel.net",
|
"pfv-rrinfra-rtr.knel.net",
|
||||||
"ap-tablemount.knel.net",
|
"ap-tablemount.knel.net",
|
||||||
"ap-wallmount.knel.net",
|
"ap-wallmount.knel.net",
|
||||||
"pfv-garage-pdu-1.knel.net",
|
"pfv-garage-pdu-1.knel.net",
|
||||||
"pfv-stor1.knel.net",
|
"pfv-stor1.knel.net",
|
||||||
|
"pfv-printer.knel.net",
|
||||||
|
"pfv-consrv.knel.net",
|
||||||
|
"pfv-tsys6-oob.knel.net",
|
||||||
|
"pfv-tsys7-oob.knel.net",
|
||||||
|
"stl-canon-scanner-artroom.knel.net",
|
||||||
|
"brother-label-printer.knel.net",
|
||||||
|
"dell-openmanage-enterprise.knel.net",
|
||||||
"netbird.knel.net",
|
"netbird.knel.net",
|
||||||
"tsys-cloudron.knel.net",
|
"tsys-cloudron.knel.net",
|
||||||
]
|
]
|
||||||
PAUSED_BY_DEFAULT = {"stlp-3dscanner.knel.net"}
|
PAUSED_BY_DEFAULT = {
|
||||||
|
"stlp-3dscanner.knel.net",
|
||||||
|
"dell-openmanage-enterprise.knel.net",
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
def fleet_targets():
|
def fleet_targets():
|
||||||
|
|||||||
Executable
+18
@@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
#
|
||||||
|
# test.sh — project test runner (framework entry point).
|
||||||
|
#
|
||||||
|
# Wraps the legacy suite in tests/ so `make test` and the pre-push full
|
||||||
|
# audit (scripts/check-rules.sh) have a single canonical entry point.
|
||||||
|
# The legacy suite sources the vendored KNELShellFramework; if that ever
|
||||||
|
# breaks, add standalone checks here rather than forking the runner.
|
||||||
|
#
|
||||||
|
set -uo pipefail
|
||||||
|
cd "$(dirname "${BASH_SOURCE[0]}")/.." || exit 1
|
||||||
|
|
||||||
|
status=0
|
||||||
|
if [ -f tests/run-tests.sh ]; then
|
||||||
|
bash tests/run-tests.sh || status=1
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit "$status"
|
||||||
Executable
+11
@@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
#
|
||||||
|
# up.sh — docker compose lifecycle wrapper (framework entry point).
|
||||||
|
#
|
||||||
|
# This repo is infrastructure-as-code (scripts + configs), not a compose
|
||||||
|
# stack; there is nothing to bring up. Kept so `make up` stays honest
|
||||||
|
# across TSYSGroupAIOS-adopted projects.
|
||||||
|
#
|
||||||
|
set -euo pipefail
|
||||||
|
echo "up.sh: no docker-compose stack in PFVCluster (infra repo). See AGENTS.md."
|
||||||
|
exit 0
|
||||||
Reference in New Issue
Block a user