Skip to content
AnchrasDocumentation
Browse documentation

Integrations / User guide

Developer tools

Available

GitHub

Connect GitHub repositories to Anchras for source builds and automated pull-request reviews.

On this page

Before you begin

Have permission to install the Anchras GitHub App on the intended GitHub account or organization. On a self-hosted Anchras deployment, the operator must configure the GitHub App first.

Connect to Anchras

  1. Open the GitHub integration and choose Connect.
  2. Continue to GitHub, select the intended account and approve access to only the repositories needed.
  3. Complete the return to Anchras and confirm the installation appears.
  4. Create a repository binding with the branch, workflow and artifact settings described in source builds.

Verify the connection

Confirm the expected repositories are visible. Trigger a small source build and inspect its exact commit and resulting image digest. For reviews, follow the separate Open Code Review guide.

Availability and limits

Installing the App does not create a build workflow or configure sign-in. Use GitHub SSO for organization login.

Troubleshooting

Missing repositories usually require checking the GitHub App installation selection and organization approval. A saved installation does not prove workflow permissions or artifact publication.

Managed CI runners (preview)

Open CI runners on the GitHub integration and choose Create runner. Select an accessible repository, an online Proxmox parent instance, a verified Ubuntu amd64 cloud image, and a VM size. Confirm that you trust the repository's workflows to use sudo, Docker, and its Actions secrets inside the dedicated VM.

The host agent must be upgraded to support managed runner cleanup, and the GitHub App installation needs repository Administration: write. Anchras checks these prerequisites before creating a VM. Register an image with a SHA-256 under Guest VMs if no verified Ubuntu image is listed.

The detail page shows provisioning, registration, idle, busy, offline, or attention. Copy its runs-on label into a workflow after it becomes idle. A running VM alone does not mean GitHub registration succeeded. Settings → Remove runner refuses a busy runner, unregisters GitHub, and then removes its VM and workspace.

The same lifecycle is available through the CLI:

sh
anchras source runners create --connection <connection-id> \
  --repository owner/repository --host <parent-instance-id> \
  --image <verified-ubuntu-template-id> --size <sizing-profile-id> \
  --request-id <uuid-generated-once>
anchras source runners list --output json
anchras source runners get <runner-id> --output json
anchras source runners delete <runner-id>

Reuse the exact request UUID after a network failure. Create retries return the same runner and never intentionally allocate another VM. Remove managed runners before disconnecting the App. Runners installed manually remain unmanaged.