Prune dead runners gitlab-ci
Verify configured runners and unregister ones GitLab no longer recognizes
gitlab-runner verify --delete
more gitlab-ci
all 4 commands →
Trigger pipeline via API
curl -X POST -F token=$CI_TOKEN -F ref=main -F 'variables[DEPLOY]=true' https://<host>/api/v4/projects/<id>/trigger/pipeline
Run CI job locally
gitlab-ci-local --job build
Register a runner by token
gitlab-runner register --non-interactive --url https://<host> --token glrt-<id> --executor docker --docker-image alpine:latest