Skip to content
Snippets Groups Projects

GitLab Runner

pipeline status

Description

A customized image for running the GitLab CI runner Docker container, spawning other Docker containers for jobs. This image registers with the server on startup and has the docker package already installed (it needs to have the dockerd socket mounted inside the container).

Usage

The CI will pull and build images, all that's left to do is recreate the containers. But the jobs fail is the runner is recreated during the job. The workaround is the deploy script.

GITLAB_REGISTRATION_TOKEN='INSERT_TOKEN' ./deploy

License

This software is licensed under the MIT license (see LICENSE.txt).

Author Information

Nimrod Adar, contact me or visit my website. Patches are welcome via git send-email. The repository is located at: https://git.shore.co.il/explore/.