publish-gate: exclude package-lock + beads tracker from email heuristic; beadboard image base -> ghcr
infra#17: the gate flagged npm deprecation boilerplate (package-lock.json escapes the *.lock filter) and the upstream fork author's email in tracked .beads data — both already-public upstream content, ruled false positives. Lock files excluded properly; .beads moved to the eyeball inventory. beads-server stack: beadboard image base repointed (deployment image is KEEL-ignored; no CronJobs use it). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
57ffd0ed8d
commit
72b5843e4b
2 changed files with 16 additions and 16 deletions
|
|
@ -45,7 +45,7 @@ fi
|
||||||
# --- 3. PII heuristics on tracked files ---
|
# --- 3. PII heuristics on tracked files ---
|
||||||
say ""; say "-- PII heuristics (tracked files) --"
|
say ""; say "-- PII heuristics (tracked files) --"
|
||||||
cd "$CLONE"
|
cd "$CLONE"
|
||||||
EMAILS=$(git grep -hoiE '[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}' -- ':!*.lock' 2>/dev/null \
|
EMAILS=$(git grep -hoiE '[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}' -- ':!*.lock' ':!package-lock.json' ':!pnpm-lock.yaml' ':!.beads' 2>/dev/null \
|
||||||
| grep -viE '@(viktorbarzin\.me|example\.(com|org|test)|test\.(com|local)|localhost|users\.noreply\.github\.com|googlegroups\.com)' \
|
| grep -viE '@(viktorbarzin\.me|example\.(com|org|test)|test\.(com|local)|localhost|users\.noreply\.github\.com|googlegroups\.com)' \
|
||||||
| grep -viE '^(noreply|no-reply|ci|admin|info|support|hello|user|foo|bar|test.*)@' \
|
| grep -viE '^(noreply|no-reply|ci|admin|info|support|hello|user|foo|bar|test.*)@' \
|
||||||
| sort -u | head -20)
|
| sort -u | head -20)
|
||||||
|
|
@ -54,7 +54,7 @@ KEYS=$(git grep -l 'BEGIN.*PRIVATE KEY' 2>/dev/null | head -5)
|
||||||
[ -n "$KEYS" ] && { say "PRIVATE KEY blocks in: $KEYS"; DIRTY=1; } || say "private keys: none"
|
[ -n "$KEYS" ] && { say "PRIVATE KEY blocks in: $KEYS"; DIRTY=1; } || say "private keys: none"
|
||||||
ENVF=$(git ls-files | grep -E '(^|/)\.env($|\.)' | head -5)
|
ENVF=$(git ls-files | grep -E '(^|/)\.env($|\.)' | head -5)
|
||||||
[ -n "$ENVF" ] && { say "committed .env files: $ENVF (review)"; DIRTY=1; } || say ".env files: none"
|
[ -n "$ENVF" ] && { say "committed .env files: $ENVF (review)"; DIRTY=1; } || say ".env files: none"
|
||||||
FIXTURES=$(git ls-files | grep -iE '(fixtures?|testdata|tests?/data)/' | head -10)
|
FIXTURES=$(git ls-files | grep -iE '(fixtures?|testdata|tests?/data|^\.beads)/' | head -10)
|
||||||
if [ -n "$FIXTURES" ]; then say "fixture files present (eyeball for PII):"; say "$FIXTURES"; else say "fixtures: none"; fi
|
if [ -n "$FIXTURES" ]; then say "fixture files present (eyeball for PII):"; say "$FIXTURES"; else say "fixtures: none"; fi
|
||||||
|
|
||||||
say ""
|
say ""
|
||||||
|
|
|
||||||
|
|
@ -679,7 +679,7 @@ resource "kubernetes_deployment" "beadboard" {
|
||||||
container {
|
container {
|
||||||
name = "beadboard"
|
name = "beadboard"
|
||||||
# Phase 3 cutover 2026-05-07 — Forgejo registry consolidation.
|
# Phase 3 cutover 2026-05-07 — Forgejo registry consolidation.
|
||||||
image = "forgejo.viktorbarzin.me/viktor/beadboard:${var.beadboard_image_tag}"
|
image = "ghcr.io/viktorbarzin/beadboard:${var.beadboard_image_tag}"
|
||||||
|
|
||||||
port {
|
port {
|
||||||
name = "http"
|
name = "http"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue