Request an invite
Docs menu

osmates runner gitlab

The stages of GitLab Runner's custom executor, each job in a throwaway clone.

Usage
osmates runner gitlab <subcommand>

In GitLab Runner's config.toml, set executor = "custom", then config_exec, prepare_exec, run_exec and cleanup_exec to this program's path, with config_args = ["runner", "gitlab", "config", "--from", "<machine>"] and the stage's name for the others. The clone stops, and is deleted, if GitLab Runner ends before cleanup. Its scripts run in bash in Linux and macOS, and in PowerShell 7 in Windows. The machine or template needs git, and gitlab-runner on its PATH for artifacts and caches.

Subcommands

Report a problem with this page