docs: screenshots of every page, egress and enforce demo data
Release / Plan (reuse the published image?) (push) Successful in 5s
Release / ci (push) Skipped
Release / Build image (amd64) (push) Skipped
Release / Build image (arm64) (push) Skipped
Release / Publish tags (push) Successful in 14s
Release / Gitea release (push) Skipped
Release / Plan (reuse the published image?) (push) Successful in 5s
Release / ci (push) Skipped
Release / Build image (amd64) (push) Skipped
Release / Build image (arm64) (push) Skipped
Release / Publish tags (push) Successful in 14s
Release / Gitea release (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c33cca22e3
commit
5d3374ee11
81 files changed
+271
-14
No files matched your search
@@ -42,6 +42,8 @@ for port in "$hub_port" "$peer_port" "$login_port"; do
|
||||
done
|
||||
|
||||
export TZ=UTC
|
||||
# Hidden demo-only switch: reserved ranges count as public for the second firewall (see internal/enforce/policy.go).
|
||||
export URUTAU_DEMO_RESERVED_PUBLIC=1
|
||||
mkdir -p "$out" "$work/bin"
|
||||
(cd "$root" && go build -trimpath -o "$work/bin/urutau" ./cmd/urutau && go build -o "$work/bin/demo" ./scripts/screenshots/demo)
|
||||
urutau="$work/bin/urutau"
|
||||
@@ -51,7 +53,8 @@ demo="$work/bin/demo"
|
||||
"$demo" geo "$work/geo"
|
||||
"$demo" logs "$work/hub/logs" edge-1 1
|
||||
"$demo" logs "$work/peer/logs" edge-2 2
|
||||
"$demo" check "$work"/hub/logs/* "$work"/peer/logs/* # fails on any IP outside the reserved ranges
|
||||
"$demo" egress "$work/hub/egress"
|
||||
"$demo" check "$work"/hub/logs/* "$work"/peer/logs/* "$work"/hub/egress/* # fails on any IP outside the reserved ranges
|
||||
|
||||
export URUTAU_PEER_TOKEN=$(openssl rand -base64 48 | tr -d '\n')
|
||||
start() { # start name port dir [extra flags...]
|
||||
@@ -62,7 +65,9 @@ start() { # start name port dir [extra flags...]
|
||||
pids+=($!)
|
||||
}
|
||||
start edge-2 "$peer_port" "$work/peer" --location "39.0438,-77.4874,edge-2"
|
||||
start edge-1 "$hub_port" "$work/hub" --location "50.1109,8.6821,edge-1" --peer "edge-2=http://127.0.0.1:$peer_port"
|
||||
start edge-1 "$hub_port" "$work/hub" --location "50.1109,8.6821,edge-1" \
|
||||
--enforce observe --egress on --egress-log "$work/hub/egress/egress.log" --egress-containers "$work/hub/egress/containers.map" \
|
||||
--egress-workloads "ciberlab=name:ciberlab:scanner" --peer "edge-2=http://127.0.0.1:$peer_port"
|
||||
|
||||
# A third, short-lived instance with authentication on, only for the login page.
|
||||
mkdir -p "$work/login/data"
|
||||
|
||||
Reference in new issue
Block a user