S15: Historical-Information, deploy-ns1, promote gate SHAs
Continue-until-done instructions live in Historical-Information.MD. run-review.sh now covers signed-config HTTP and catalog subjects. deploy-ns1.sh never skips tests and does not set PFC_REQUIRE_NPE.
This commit is contained in:
parent
c71dce2187
commit
c570dc10fb
10 changed files with 288 additions and 8 deletions
|
|
@ -12,7 +12,7 @@ run() {
|
|||
fi
|
||||
}
|
||||
export PATH="/opt/homebrew/bin:$PATH"
|
||||
run env PYTHONPATH="$ROOT/peergos-for-compliance/lib:$ROOT/peergos-for-compliance-admin" \
|
||||
run env PYTHONPATH="$ROOT/peergos-for-compliance/lib:$ROOT/peergos-for-compliance-admin:$ROOT/secure-messaging/python" \
|
||||
python3 -m unittest discover -s "$ROOT/peergos-for-compliance/tests" -v
|
||||
run env PYTHONPATH="$ROOT/secure-messaging/python" \
|
||||
python3 -m unittest discover -s "$ROOT/secure-messaging/tests" -v
|
||||
|
|
@ -20,7 +20,23 @@ if [[ -d "$ROOT/secure-messaging/go" ]]; then
|
|||
( cd "$ROOT/secure-messaging/go" && run go test ./... )
|
||||
fi
|
||||
if [[ -f "$ROOT/nats-service-endpoints/catalog/endpoints.json" ]]; then
|
||||
run python3 -c "import json; json.load(open('$ROOT/nats-service-endpoints/catalog/endpoints.json'))"
|
||||
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"]}
|
||||
need = {
|
||||
"verae.sm.send",
|
||||
"verae.sm.dead",
|
||||
"verae.sm.error",
|
||||
"verae.sm.log.summary",
|
||||
"verae.admin.config.sign",
|
||||
}
|
||||
missing = sorted(need - names)
|
||||
assert not missing, missing
|
||||
print("catalog subjects ok", sorted(need))
|
||||
PY
|
||||
fi
|
||||
if [[ "$fail" -ne 0 ]]; then
|
||||
echo "REVIEW FAIL"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue