Skip to content

CICD-206 · Host-based runner configuration ​

Encyclopedia · Runner administration and execution infrastructure · All snippets

Previous · CICD-205 · Next · CICD-207

1. Where it fits ​

  • Placement .runner/config.yaml.
  • Prerequisites lab host, trusted repositories, installed act_runner or GitHub runner when named.
  • Platforms gitea-actions.

2. Copy the snippet ​

yaml
runner:
  labels:
    - "lab-shell:host"
  capacity: 1

3. How it works ​

The runner process loads these settings before it accepts jobs. The registered label still must match the workflow's runs-on value.

4. Verify the result ​

Match lab-shell and inspect uname. Host jobs share the machine filesystem and require a dedicated account and trusted code.

Validation syntax-validated (YAML parse). Status definitions.