docs: publish Tend Compose continuity evidence
Export the reviewed allowlisted snapshot from private source commit 07c1655921f21ee5e4fc4d85639d199e8867b17d. This records the Docker Compose activation, schema-compatible rollback, and stateful migration resource findings from Observatory Preview 19 dogfooding. AI-Assisted: OpenAI Codex Signed-off-by: Cole Speelman <crspeelman@gmail.com>
This commit is contained in:
Executable
+25
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: AGPL-3.0-only
|
||||
set -euo pipefail
|
||||
root=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
|
||||
cd "$root"
|
||||
./scripts/check-licenses.sh
|
||||
./scripts/check-public-tree.sh
|
||||
go test -count=1 ./...
|
||||
go test -race -count=1 ./...
|
||||
go vet ./...
|
||||
for script in scripts/*.sh; do bash -n "$script"; done
|
||||
work=$(mktemp -d); trap 'rm -rf -- "$work"' EXIT
|
||||
GOWORK=off CGO_ENABLED=0 go build -mod=readonly -trimpath -o "$work/tend-1" ./cmd/tend
|
||||
GOWORK=off CGO_ENABLED=0 go build -mod=readonly -trimpath -o "$work/tend-2" ./cmd/tend
|
||||
cmp "$work/tend-1" "$work/tend-2"
|
||||
"$work/tend-1" check --config "$root/examples/blue-green/tend.json" >/dev/null
|
||||
"$work/tend-1" check --config "$root/examples/singleton/tend.json" >/dev/null
|
||||
"$work/tend-1" check --config "$root/examples/server/services/example-site.json" >/dev/null
|
||||
"$work/tend-1" check --config "$root/examples/server/services/docs-site.json" >/dev/null
|
||||
"$work/tend-1" check --config "$root/release/tend.json" >/dev/null
|
||||
grep -Fqx 'Defaults:tend-deploy env_keep += "SSH_ORIGINAL_COMMAND"' "$root/examples/server/tend-receive.sudoers"
|
||||
grep -Fqx 'tend-deploy ALL=(root) NOPASSWD: /usr/local/bin/tend receive --policy /etc/tend/receive-policy.json' "$root/examples/server/tend-receive.sudoers"
|
||||
[[ $(GOWORK=off go list -m all | wc -l) -eq 1 ]]
|
||||
git diff --check
|
||||
echo "Tend verification passed"
|
||||
Reference in New Issue
Block a user