railiance-platform/scripts/openbao-bootstrap-core-hub-source.sh
codex 401765f184
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
CUST-WP-0075: dedicated core-hub Forgejo read identity CCR draft
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 3775@bnt-lap001
Assistant-Session: cfacb6a5-ad5b-4f79-ac67-053e3b0d34a3
2026-10-03 08:27:56 +02:00

16 lines
741 B
Bash
Executable file

#!/usr/bin/env bash
# Exact silent owner command for the CCR-2026-0031 attended bootstrap.
# Run only after CCR-2026-0031 is approved and its binding confirmed:
# warden access openbao-platform-admin-login --exec -- scripts/openbao-bootstrap-core-hub-source.sh
# Both steps are idempotent; on failure read /tmp/core-hub-source-bootstrap-diagnostic.json.
set -euo pipefail
REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "${REPO_DIR}"
python3 scripts/credential-change.py applier-apply CCR-2026-0031 \
--actor "attended operator via governed platform-admin lane" \
--confirm "DELEGATED APPLY CCR-2026-0031" \
--record-state-hub \
>/dev/null 2>&1
python3 scripts/provision-core-hub-forgejo-source.py >/dev/null 2>&1