Skip to content
README.md 1.08 KiB
Newer Older
nimrod's avatar
nimrod committed
# GitLab Runner
nimrod's avatar
nimrod committed
[![pipeline status](https://git.shore.co.il/shore/gitlab-runner-docker/badges/master/pipeline.svg)](https://git.shore.co.il/shore/gitlab-runner-docker/-/commits/master)
nimrod's avatar
nimrod committed

## 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).

nimrod's avatar
nimrod committed
## Usage

nimrod's avatar
nimrod committed
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.

nimrod's avatar
nimrod committed
```
GITLAB_REGISTRATION_TOKEN='INSERT_TOKEN' ./deploy
nimrod's avatar
nimrod committed
```

nimrod's avatar
nimrod committed
## License

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

## Author Information

nimrod's avatar
nimrod committed
Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my
[website](https://www.shore.co.il/). Patches are welcome via
[`git send-email`](http://git-scm.com/book/en/v2/Git-Commands-Email). The repository
nimrod's avatar
nimrod committed
is located at: <https://git.shore.co.il/explore/>.