Skip to content

CI and permissions

Portal ingest variables

Set by the chapter project when it triggers the portal:

Variable Example Purpose
INGEST_PROJECT neuraverse/documentation/neuraverse-docs-chapter-example Project path to clone
INGEST_REF $CI_COMMIT_SHA or main Branch / tag / SHA
INGEST_CHAPTER_FILE chapter.yml Manifest path in the chapter repo

Typical failure modes

Symptom Likely cause Fix
Authentication by CI/CD job token not allowed … Portal cannot clone chapter project Add job-token allowlist on the chapter project for neuraverse/documentation/neuraverse-docs
Downstream pipeline not created Chapter cannot trigger portal Allow trigger / job-token from chapter → portal
InvalidClientTokenId on publish:internal GitLab OIDC → AWS publish role broken DevOps: fix OIDC trust / CI protected variables; temporary local publish with devops AWS profile
Chapter missing after green build Publish not played / failed On non-ingest pipelines, publish:internal is manual

Manual ingest (without chapter CI)

In neuraverse-docs → Run pipeline on main with:

INGEST_PROJECT = neuraverse/<group>/<project>
INGEST_REF = main
INGEST_CHAPTER_FILE = chapter.yml

Security notes

  • Guides are internal (IP-gated temporary host today)
  • Do not put secrets in Markdown
  • Job tokens are scoped; prefer least-privilege allowlists per chapter project