Runner and Runtime Environment
This document introduces the resource specifications, tag system, and usage methods of AtomGit's managed resource pool and self-hosted Runners.
Official Resource Pool
The tags for AtomGit's managed resource pool use a three-part format {os-version},{arch},{flavor}:
| Part | Description | Possible Values |
|---|---|---|
os-version | Operating System and Version | ubuntu-latest, euler-latest |
arch | CPU Architecture | x64, arm64 |
flavor | Resource Specification | slim, small, medium, large, xlarge, 2xlarge |
The default resource pool tag is default=[ubuntu-latest, x64, small].
Detailed Resource Specifications Table:
| Specification | CPU (Cores) | Memory (GB) | Disk (GB) | Applicable Scenario |
|---|---|---|---|---|
slim | 1 | 4 | 20 | Lightweight checks: Lint, static analysis |
small | 2 | 8 | 50 | Regular build and test ( Default ) |
medium | 4 | 16 | 100 | Medium-scale compilation |
large | 8 | 32 | 200 | Large-scale build |
xlarge | 16 | 64 | 500 | Heavy computing |
2xlarge | 32 | 128 | 1000 | Extremely heavy computing |
Tip: To ensure the build environment is ready to use out of the box, some system tools and runtime environments have been pre-installed in the Runner, so the actual available disk space will be slightly less than the disk size indicated in the documentation.
Self-Hosted Resource Pool
The configuration for self-hosted Runners uses the Runner type plus custom tags type/labels, i.e., [self-hosted, custom tag1, custom tag2, custom tag3, ...]:
jobs:
self-hosted-build:
name: Self-Hosted Build
runs-on: [self-hosted, linux, x64, gpu]
steps:
- name: Run build
run: nvidia-smi