feat: switch source URLs from GitHub to Forgejo
Hybride model (PBI-86 in Scrum4Me): de worker clonet en pusht naar Forgejo (`origin`); GitHub-PR's ontstaan via een handmatige promote-Action in Forgejo. Variabele-namen blijven `GH_TOKEN` en `GH_PRECLONE_REPOS` (historisch); inhoud is voortaan een Forgejo-PAT. - Dockerfile: MCP_GIT_REPO default → git.jp-visser.nl/janpeter/scrum4me-mcp.git - bin/repo-bootstrap.sh: credential-helper host + clone-URL → git.jp-visser.nl - bin/job-prepare.sh: cache-slug comment example bijgewerkt - .env.example: documentatie + default `GH_PRECLONE_REPOS` naar janpeter/Scrum4Me + janpeter/scrum4me-mcp; instructies omgezet naar Forgejo-PAT-flow; `gh pr create` (auto_pr) verwijderd uit comment. - README.md: internet-egress, token-instructies, clone-URL en repo-bootstrap-sectie verwijzen nu naar Forgejo. Promote-flow gelinkt. gh CLI install blijft in Dockerfile staan (no-op zonder gh-aanroepen, maar weinig kosten om voor ad-hoc gebruik te bewaren). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7ec32c8def
commit
cb8f48d49e
5 changed files with 38 additions and 30 deletions
28
.env.example
28
.env.example
|
|
@ -22,27 +22,29 @@ CLAUDE_CODE_OAUTH_TOKEN=sk-ant-oat01-vervang-mij
|
|||
# Als deze ge-revoked wordt: rebuild + redeploy (zie README).
|
||||
SCRUM4ME_TOKEN=vervang-mij
|
||||
|
||||
# ----- GitHub credentials -----------------------------------
|
||||
# Personal Access Token (fine-grained) met:
|
||||
# - Repository access op madhura68/Scrum4Me + madhura68/scrum4me-mcp
|
||||
# - Permissions: Contents (read/write), Pull requests (read/write),
|
||||
# Metadata (read)
|
||||
# ----- Forgejo credentials (PBI-86 hybride model) -----------
|
||||
# Personal Access Token van je Forgejo-account met scope read+write
|
||||
# op de Scrum4Me-repos. Variabele heet historisch nog `GH_TOKEN`;
|
||||
# in het hybride model bevat 'ie een Forgejo-PAT.
|
||||
#
|
||||
# Gebruikt voor:
|
||||
# 1. Pre-clone van de repos in /home/agent/Projects/<name>/ bij
|
||||
# container-start (entrypoint.sh)
|
||||
# 2. `git push` van agent feature-branches via HTTPS
|
||||
# 3. `gh pr create` (auto_pr=true) — gh CLI leest GH_TOKEN uit env
|
||||
# 2. `git push` van agent feature-branches naar Forgejo via HTTPS
|
||||
#
|
||||
# Genereer op github.com → Settings → Developer settings →
|
||||
# Personal access tokens → Fine-grained tokens.
|
||||
GH_TOKEN=ghp_vervang-mij
|
||||
# `gh pr create` is uit de worker-flow verwijderd (PBI-86, T-1005);
|
||||
# de GitHub-PR ontstaat via de handmatig getriggerde promote-Action
|
||||
# in Forgejo.
|
||||
#
|
||||
# Genereer in Forgejo: avatar → Settings → Applications →
|
||||
# Generate New Token; scope minimaal `write:repository`.
|
||||
GH_TOKEN=vervang-mij
|
||||
|
||||
# Lijst (komma-gescheiden) van repos om vooraf te clonen naar
|
||||
# ~agent/Projects/<name>. resolveRepoRoot in scrum4me-mcp valt
|
||||
# automatisch terug op die conventie. Voeg meer toe als je nieuwe
|
||||
# producten/repos toevoegt aan Scrum4Me.
|
||||
GH_PRECLONE_REPOS=madhura68/Scrum4Me,madhura68/scrum4me-mcp
|
||||
# automatisch terug op die conventie. `<owner>/<repo>` zoals 'ie op
|
||||
# Forgejo staat. Voeg meer toe als je nieuwe producten/repos toevoegt.
|
||||
GH_PRECLONE_REPOS=janpeter/Scrum4Me,janpeter/scrum4me-mcp
|
||||
|
||||
# ----- Git commit-author -------------------------------------
|
||||
# Verplicht — Vercel weigert deploys waarvan de commit-author email
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue