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
@@ -19,9 +19,10 @@ jobs:
|
||||
TAG: ${{ github.ref_name }}
|
||||
SERVER: ${{ github.server_url }}
|
||||
REPO: ${{ github.repository }}
|
||||
# Where crate-kit lives on the forge (owner/name), independent of the owner of this repository.
|
||||
# Override with the repository variable CRATE_KIT_REPO (Settings > Actions > Variables).
|
||||
CRATE_KIT_REPO: ${{ vars.CRATE_KIT_REPO || 'LLM/crate-kit' }}
|
||||
# crate-kit has ONE reference: gargoton (public repository, anonymous clone). It is not mirrored on
|
||||
# this forge. Override only with the repository variable CRATE_KIT_URL (Settings > Actions > Variables).
|
||||
# FORGETOKEN belongs to this forge and is never sent to another host.
|
||||
CRATE_KIT_URL: ${{ vars.CRATE_KIT_URL || 'https://gargoton.petite-maison-orange.fr/LLM/crate-kit' }}
|
||||
steps:
|
||||
- name: System tools
|
||||
run: |
|
||||
@@ -32,8 +33,7 @@ jobs:
|
||||
run: |
|
||||
git -c http.extraHeader="Authorization: token $FORGETOKEN" \
|
||||
clone --depth 1 --branch "$TAG" "$SERVER/$REPO.git" src
|
||||
git -c http.extraHeader="Authorization: token $FORGETOKEN" \
|
||||
clone --depth 1 "$SERVER/$CRATE_KIT_REPO.git" crate-kit
|
||||
git clone --depth 1 "$CRATE_KIT_URL" crate-kit
|
||||
|
||||
- name: Kit archive
|
||||
working-directory: src
|
||||
|
||||
Reference in new issue
Block a user