generated from coulomb/repo-seed
Make hub discovery public
All checks were successful
Build and Deploy / build-push-deploy (push) Successful in 3m6s
All checks were successful
Build and Deploy / build-push-deploy (push) Successful in 3m6s
This commit is contained in:
@@ -79,11 +79,8 @@ jobs:
|
||||
| grep -q "inter-hub" && echo "Landing page OK"
|
||||
curl -s https://hub.coulomb.social/api/v2/widgets \
|
||||
-o /dev/null -w "%{http_code}" | grep -q "401" && echo "API auth gate OK"
|
||||
HUBS_STATUS=$(curl -s https://hub.coulomb.social/api/v2/hubs \
|
||||
-o /dev/null -w "%{http_code}")
|
||||
test "${HUBS_STATUS}" = "401" \
|
||||
&& echo "Hub bootstrap auth gate OK" \
|
||||
|| { echo "Expected /api/v2/hubs to return 401, got ${HUBS_STATUS}" >&2; exit 1; }
|
||||
curl -fsS https://hub.coulomb.social/api/v2/hubs \
|
||||
| grep -q '"data"' && echo "Hub discovery OK"
|
||||
OPENAPI=$(curl -fsS https://hub.coulomb.social/api/v2/openapi.json)
|
||||
for path in /hubs /hub-capability-manifests /api-consumers /policy-scopes; do
|
||||
grep -q "\"${path}\"" <<< "${OPENAPI}" \
|
||||
|
||||
Reference in New Issue
Block a user