fix: validate deployment rollback and server topology
This commit is contained in:
@@ -36,6 +36,14 @@ for fixture in \
|
||||
done
|
||||
|
||||
server_guide="$root/docs/install/server.md"
|
||||
grep -Fq 'scripts/prepare-server-pi-state.sh /srv/thothii/pi-state 10001 10001' "$server_guide" || {
|
||||
echo "server guide does not initialize nested Pi-state targets before Compose" >&2
|
||||
exit 1
|
||||
}
|
||||
grep -Fq 'prepare-server-pi-state.sh' "$root/docs/install/server-workspace-registry.md" || {
|
||||
echo "server workspace-registry guide omits the Pi-state clean-install precondition" >&2
|
||||
exit 1
|
||||
}
|
||||
grep -Eq '^sudo install -d -o 10001 -g thothii-ops -m 2750 /srv/thothii$' "$server_guide" || {
|
||||
echo "server operations guide does not set the parent traversal boundary" >&2
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user