S16-S24: Remaining-Work plan, thesaurus occurrences, deploy docs
Some checks are pending
review / inventory (push) Waiting to run
Some checks are pending
review / inventory (push) Waiting to run
VARIABLES.md, MODULE writer, catalog review covers subjects.json, deploy rsyncs system HTML/PDF and SM docs.
This commit is contained in:
parent
07f147fffb
commit
8c09abecae
21 changed files with 1009 additions and 23 deletions
|
|
@ -19,23 +19,43 @@ run env PYTHONPATH="$ROOT/secure-messaging/python" \
|
|||
if [[ -d "$ROOT/secure-messaging/go" ]]; then
|
||||
( cd "$ROOT/secure-messaging/go" && run go test ./... )
|
||||
fi
|
||||
if [[ -d "$ROOT/peergos-compliance-go" ]]; then
|
||||
( cd "$ROOT/peergos-compliance-go" && run go test ./cmd/pfc-repl ./internal/leaf )
|
||||
fi
|
||||
if [[ -f "$ROOT/peergos-for-compliance-ipfs/pfc_ipfs/server.py" ]]; then
|
||||
run python3 -m py_compile "$ROOT/peergos-for-compliance-ipfs/pfc_ipfs/server.py"
|
||||
fi
|
||||
if [[ -f "$ROOT/peergos-for-compliance-replication/pfc_repl/server.py" ]]; then
|
||||
run python3 -m py_compile "$ROOT/peergos-for-compliance-replication/pfc_repl/server.py"
|
||||
fi
|
||||
if [[ -f "$ROOT/peergos-compliance-config/schema.json" ]]; then
|
||||
run python3 -c "import json; json.load(open('$ROOT/peergos-compliance-config/schema.json'))"
|
||||
fi
|
||||
if [[ -f "$ROOT/nats-service-endpoints/catalog/endpoints.json" ]]; then
|
||||
run python3 - << PY
|
||||
import json
|
||||
from pathlib import Path
|
||||
p = Path("$ROOT/nats-service-endpoints/catalog/endpoints.json")
|
||||
d = json.loads(p.read_text())
|
||||
names = {e["name"] for e in d["endpoints"]}
|
||||
root = Path("$ROOT")
|
||||
core = json.loads((root/"nats-service-endpoints/catalog/endpoints.json").read_text())
|
||||
derived = json.loads((root/"nats-service-endpoints/catalog/pfc-derived.json").read_text())
|
||||
names = {e["name"] for e in core["endpoints"]} | {e["name"] for e in derived["endpoints"]}
|
||||
need = {
|
||||
"verae.sm.send",
|
||||
"verae.sm.dead",
|
||||
"verae.sm.error",
|
||||
"verae.sm.log.summary",
|
||||
"verae.admin.config.sign",
|
||||
"verae.storage.pin",
|
||||
"verae.storage.replicate",
|
||||
"verae.pfc.health",
|
||||
"verae.inspect.open",
|
||||
}
|
||||
missing = sorted(need - names)
|
||||
assert not missing, missing
|
||||
print("catalog subjects ok", sorted(need))
|
||||
subj = {s["name"] for s in json.loads((root/"peergos-for-compliance/schemas/subjects.json").read_text())["subjects"]}
|
||||
gap = sorted(subj - names)
|
||||
assert not gap, gap
|
||||
print("catalog subjects ok", len(names), "covers subjects.json", len(subj))
|
||||
PY
|
||||
fi
|
||||
if [[ "$fail" -ne 0 ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue