Turn loop of KubeRocketCI issue agents. A static binary mounted into each actor; not run directly.
825
The harness of KubeRocketCI issue agents: the agent loop that runs inside every agent actor.
The krci-agent-dispatcher receives GitLab issue and comment events and drives one isolated actor per issue. Each actor runs an agent image (for example krci-agent-go) with this harness mounted into it. Per turn the harness:
setup;verify, then pushes the issue branch agent/issue-<iid> and opens a draft merge request;| Property | Value |
|---|---|
| Base | scratch |
| Content | one static Go binary at /krci-agent-harness |
| Platforms | linux/amd64, linux/arm64 |
| User | 65532:65532 |
The image is not run as a container. The dispatcher mounts it read-only at /opt/krci-agent in each actor and starts /opt/krci-agent/krci-agent-harness run.
Set it in the krci-agent-dispatcher Helm chart, pinned by digest:
harnessImage: epamedp/krci-agent-harness:<version>@sha256:<digest>
Use the harness from the same release as the dispatcher.
selftest checks that an agent image meets the harness contract: claude, git and sh on PATH, uid 1000 with writable /home/agent gent free, and a valid optional/etc/krci-agent/profile.yaml`.
docker create --name harness epamedp/on> noop
docker cp harness:/krci-agent-harness ./krci-agent-harness
docker rm harness
docker run --rm -v ./krci-agent-harness:/tmp/krci-agent-harness:ro <agent-image>
/tmp/krci-agent-harness selftest
X.Y.Z: releases. - Other tags: development builds from
## Links
- Source: https://github.com/KubeRockrContent type
Image
Digest
sha256:1e4652482…
Size
7.6 MB
Last updated
about 14 hours ago
docker pull epamedp/krci-agent-harness:0.1.0-SNAPSHOT.42