ci: harden community release baseline

This commit is contained in:
github-ops
2026-05-14 16:49:25 +00:00
parent 23962f98e3
commit fd11d9ceca
14 changed files with 139 additions and 304 deletions
-15
View File
@@ -37,18 +37,3 @@ Usage:
```bash
./scripts/staging-note-block.sh rmcp.itexp.me abc1234 "codex + operator" partial
```
## export-community.sh
Helper that replaces the working tree of the extracted `crank-community`
repository with the tracked monorepo baseline for private split rehearsal.
It is not the final public export mechanism.
Final `crank-community` import must follow
`docs/community-source-whitelist.md`.
Usage:
```bash
./scripts/export-community.sh /path/to/crank-community-working-tree
```
-35
View File
@@ -1,35 +0,0 @@
#!/usr/bin/env bash
set -euo pipefail
usage() {
cat <<'EOF'
Usage:
./scripts/export-community.sh /path/to/crank-community-working-tree
The target directory must already be a git working tree for crank-community.
EOF
}
if [[ "${1:-}" == "-h" || "${1:-}" == "--help" ]]; then
usage
exit 0
fi
if [[ $# -ne 1 ]]; then
usage >&2
exit 1
fi
repo_root="$(git rev-parse --show-toplevel)"
target_dir="$(cd "$1" && pwd)"
if [[ ! -d "$target_dir/.git" ]]; then
echo "target is not a git working tree: $target_dir" >&2
exit 1
fi
find "$target_dir" -mindepth 1 -maxdepth 1 ! -name .git -exec rm -rf {} +
git -C "$repo_root" ls-files -z -- . ':(exclude)templates/repositories/**' \
| rsync -a --delete --from0 --files-from=- "$repo_root/" "$target_dir/"
+2 -6
View File
@@ -30,7 +30,7 @@ cat <<EOF
- secrets
- logs
- usage
- streaming
- rest smoke
- mcp smoke
### Passed
@@ -39,11 +39,7 @@ cat <<EOF
- shell pages open after auth
- secrets/auth profile flow status: \`<passed|partial|failed>\`
- REST smoke: \`<passed|partial|failed>\`
- GraphQL smoke: \`<passed|partial|failed>\`
- gRPC smoke: \`<passed|partial|failed>\`
- streaming pages status: \`<passed|partial|failed>\`
- WebSocket: \`<not exercised|passed|failed>\`
- SOAP: \`<not exercised|passed|failed>\`
- MCP smoke: \`<passed|partial|failed>\`
### Findings