Lolly
ایپ کھولیں

Git raw manifest (kind: git)

نوٹ: Lolly Work

This guide covers the optional organisation service. Configuration, console and API paths refer to your Work instance. The packaged console keeps its release-matched copy of this guide.

Federate a catalog that lives as a manifest file in a git repo, served over raw HTTP. The simplest, most GitOps-native source: your catalog is a JSON file under version control.

What you need from the repo host

Credential shape

A single token string (optional for public repos). Sent as Authorization: Bearer <token> by default; override the header name with options.authHeader (e.g. PRIVATE-TOKEN for GitLab).

lw providers credential acme-git     # prompts; omit entirely for a public repo

instance.json / lw providers add

{
  "id": "acme-git",
  "kind": "git",
  "label": "Acme Brand (git)",
  "options": { "rawBase": "https://raw.githubusercontent.com/acme/brand/main", "manifestPath": "lolly-catalog.json" },
  "exposure": { "groups": ["engineering"] }
}

Verify

lw providers preview --kind git --options '{"rawBase":"https://raw.githubusercontent.com/acme/brand/main"}'
lw providers health acme-git

404 on the manifest → wrong rawBase/manifestPath or the branch has no such file.

Notes / limits

See also: catalog · permissions.