refactor: update crate-kit workflow and add MCP configuration
Release / release (push) Failing after 1m28s
Release / release (push) Failing after 1m28s
Replace the `CRATE_KIT_REPO` variable with `CRATE_KIT_URL` in the release workflow to support anonymous HTTPS cloning from gargoton. Add a new MCP configuration for the 'qmd' server and update documentation to reflect changes in secret handling and repository structure. - Replace `CRATE_KIT_REPO` with `CRATE_KIT_URL` in `.gitea/workflows/release.yaml`, updating the clone step to use `git clone --depth 1` with the new URL variable. - Update `docs/pilot-risks.md` to document that `crate-kit` resides only on gargoton and is cloned anonymously via HTTPS, removing references to local mirrors on forge.metaboding.org. - Add `overlay/claude/mcp.json` to define the 'qmd' MCP server with the command `qmd mcp`, noting that these collections are external. - Update `tests/overlay.sh` to verify the installation of the 'qmd' MCP configuration by checking `.mcp.json` and `.claude/settings.json`. - Remove `FORGE_TOKEN_FILE` definition from `overlay/kit/org.mk` and add comments clarifying that forge tokens are in `secrets/` next to repositories, with `FORGETOKEN` overriding them in CI. - Update `README.md` to reflect the presence of `overlay/kit/org.mk` and `overlay/kit/VERSION`, and remove mentions of `secrets/` for forge tokens. - Add `/dist/` to `.gitignore` and remove the comment about workstation secrets. - Bump version in `overlay/kit/VERSION` from 0.1.0 to 0.1.1.
This commit is contained in:
1 parent
efb963f471
commit
a9299f7f6f
9 files changed
+68
-21
No files matched your search
+8
-7
@@ -55,7 +55,8 @@ same version on some setups: use a name and versions that are disposable).
|
||||
wiki and releases (`write:package`, `write:repository`, `write:organization` may be needed to see the
|
||||
organization's package registry); token owner must be a member of `obi` with write access.
|
||||
- Test: a workflow step that prints only `${FORGETOKEN:+set}`; never echo the token.
|
||||
- Local: `secrets/forge-token` in `obi-kit` (gitignored, mode 0600).
|
||||
- Local: `secrets/forge.metabarcoding.org.token` in `secrets/` of the cluster `obi` (outside every repository,
|
||||
mode 0600; see crate-kit README, "Forge tokens").
|
||||
|
||||
## 5. Runner
|
||||
|
||||
@@ -69,12 +70,12 @@ same version on some setups: use a name and versions that are disposable).
|
||||
|
||||
## 6. `crate-kit` location for the extension-kit workflow
|
||||
|
||||
- `obi-kit/.gitea/workflows/release.yaml` clones `crate-kit` from `$SERVER/$CRATE_KIT_REPO`, default
|
||||
`LLM/crate-kit`, on **the same forge as `obi-kit`** (`SERVER` = `forge.metabarcoding.org`).
|
||||
- Risk: `crate-kit` currently lives on `gargoton.petite-maison-orange.fr`, another forge: `LLM/crate-kit` does
|
||||
not exist on `forge.metabarcoding.org`, so the obi-kit release workflow fails at its second clone.
|
||||
- Options to decide: mirror/push `crate-kit` to the `obi` organization and set the repository variable
|
||||
`CRATE_KIT_REPO=obi/crate-kit`, or change the clone URL. Not decided.
|
||||
- Decision (2026-12-01): `crate-kit` lives on `gargoton.petite-maison-orange.fr` and nowhere else; it is the
|
||||
single reference, there is no `obi/crate-kit` mirror on `forge.metabarcoding.org`.
|
||||
- `obi-kit/.gitea/workflows/release.yaml` clones it from `$CRATE_KIT_URL` (default
|
||||
`https://gargoton.petite-maison-orange.fr/LLM/crate-kit`; override: repository variable `CRATE_KIT_URL`).
|
||||
The repository is public: anonymous clone, no token. `FORGETOKEN` is never sent to gargoton.
|
||||
- Test on the pilot: the runner must reach gargoton over HTTPS (network, certificate) and clone anonymously.
|
||||
|
||||
## 7. Other points seen while reading
|
||||
|
||||
|
||||
Reference in new issue
Block a user