osmates runner
Run GitHub Actions and GitLab CI jobs, each in a throwaway clone of a machine or a template.
osmates runner <subcommand>A GitHub runner pool keeps its slots filled: each slot is a clone in which GitHub's runner takes one job, then the clone and the runner are deleted, whether the job passed, failed or was cancelled. The machine or template has GitHub's runner unpacked in actions-runner in its account's home folder, or in C:\actions-runner in Windows. The credential holds a GitHub token that may manage the repository's or organization's self-hosted runners, and goes to api.github.com in the Authorization header after "Bearer ". A Mac runs two macOS clones at once, whatever the pools. GitLab Runner calls osmates runner gitlab for each stage of a custom executor. CI runners need OSMates Pro.
Subcommands
osmates runner listList the GitHub runner pools and what each slot does.osmates runner addAdd a GitHub runner pool, whose slots fill at once.osmates runner removeRemove a GitHub runner pool, once its clones and runners are deleted.osmates runner gitlabThe stages of GitLab Runner's custom executor, each job in a throwaway clone.osmates runner gitlab configPrint the job's folders, clone and shell, as GitLab Runner's config stage reads them.osmates runner gitlab prepareClone the machine for the job and start it, as GitLab Runner's prepare stage.osmates runner gitlab runRun one of the job's scripts in its clone, as GitLab Runner's run stage.osmates runner gitlab cleanupDelete the job's clone, as GitLab Runner's cleanup stage, which runs after a failure too.