This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
# Responsibilities:
|
||||
# - Ensure minimal prerequisites (curl, git, jq)
|
||||
# - Discover metadata (panspermia.json or env vars)
|
||||
# - Clone or update the parent repo (default: railiance-bootstrap)
|
||||
# - Clone or update the parent repo (default: railiance-cluster)
|
||||
# - Run furnishing (idempotent) to align housekeeping
|
||||
# - (Optional) handoff to further bootstrap steps
|
||||
#
|
||||
# Usage examples:
|
||||
# ./tools/seed_node.sh
|
||||
# REPO_URL=https://git.example.com/org/railiance-bootstrap.git ./tools/seed_node.sh
|
||||
# REPO_URL=https://git.example.com/org/railiance-cluster.git ./tools/seed_node.sh
|
||||
# ./tools/seed_node.sh --repo-dir /srv/railiance --branch main
|
||||
#
|
||||
# Notes:
|
||||
@@ -86,7 +86,7 @@ fi
|
||||
if [[ -z "${REPO_URL}" ]]; then
|
||||
echo "ERROR: No REPO_URL provided and no panspermia metadata found." >&2
|
||||
echo "Provide one of:" >&2
|
||||
echo " - env REPO_URL=https://git.example.com/org/railiance-bootstrap.git" >&2
|
||||
echo " - env REPO_URL=https://git.example.com/org/railiance-cluster.git" >&2
|
||||
echo " - or a panspermia.json with .parent_body.repo_url" >&2
|
||||
exit 1
|
||||
fi
|
||||
@@ -129,7 +129,7 @@ Next steps (manual, for now):
|
||||
4) Prepare GitOps operator (ArgoCD/Flux) pointing to this repo
|
||||
|
||||
Hints:
|
||||
- To use SSH instead of HTTPS, set REPO_URL=git@your-gitea:org/railiance-bootstrap.git
|
||||
- To use SSH instead of HTTPS, set REPO_URL=git@your-gitea:org/railiance-cluster.git
|
||||
- If using HTTPS, set up 'git config --global credential.helper cache|store'
|
||||
- For air-gapped: copy a Spore bundle, extract, then run this seed script
|
||||
|
||||
|
||||
Reference in New Issue
Block a user