Archived
remove context7
This commit is contained in:
@@ -49,7 +49,7 @@ Developers running OpenCode normally do not load `.ci-agents/opencode`. The work
|
||||
- A repository-scoped Gitea runner registration token. Do not register this credential-bearing runner at organization or instance scope.
|
||||
- A dedicated Gitea account or token with repository read access for OpenCode and Gitea MCP.
|
||||
- An OpenAI account with an active ChatGPT Pro subscription.
|
||||
- Outbound HTTPS access to OpenAI, Gitea, Context7, Exa, `mcp.grep.app`, npm, Docker Hub, and `gitea.com` while building.
|
||||
- Outbound HTTPS access to OpenAI, Gitea, Exa, `mcp.grep.app`, npm, Docker Hub, and `gitea.com` while building.
|
||||
|
||||
The image pins:
|
||||
|
||||
@@ -60,7 +60,7 @@ The image pins:
|
||||
|
||||
## 1. Prepare Configuration
|
||||
|
||||
Run from `.ci-agents`:
|
||||
Run from root:
|
||||
|
||||
```bash
|
||||
cp .env.example .env
|
||||
@@ -214,7 +214,6 @@ Add these repository Actions secrets:
|
||||
|---|---:|---|
|
||||
| `CI_AGENT_READ_TOKEN` | Yes | Read-only Gitea REST, Git fetch, and Gitea MCP access |
|
||||
| `CI_AGENT_WRITE_TOKEN` | Yes | Claim labels/comments, push generated branches, and create or update pull requests |
|
||||
| `CONTEXT7_API_KEY` | Recommended | Higher Context7 limits; may be empty if anonymous access is sufficient |
|
||||
|
||||
The workflow passes `CI_AGENT_WRITE_TOKEN` only to immutable claim and publish code from the runner image. OpenCode receives only `CI_AGENT_READ_TOKEN`.
|
||||
|
||||
@@ -317,7 +316,6 @@ docker compose run --rm --no-deps \
|
||||
-e OPENCODE_DISABLE_EXTERNAL_SKILLS=true \
|
||||
-e GITEA_SERVER_URL=https://git.krtss.de \
|
||||
-e GITEA_READ_TOKEN='<read-only-token>' \
|
||||
-e CONTEXT7_API_KEY='<optional-key>' \
|
||||
--entrypoint /usr/local/bin/opencode \
|
||||
runner mcp list
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user