Commit bc3e0078 authored by Anton Weber's avatar Anton Weber Committed by Rahix
Browse files

create Readme for CI setup

parent e49ee1de
# Setup
## Install and register runnner
- Install GitLab runner
- See
- Register using `gitlab-runner register`
- See
- Use `docker` executor
## Build local docker image
To speed up the build, we use a customized docker image.
The easiest way is to build the image locally:
- Clone repo to runner machine:
`git clone`
- Build docker image:
`docker build game/ci -t engel-simulator-builder`
## Enable local docker images
The GitLab runner will always try to pull images from docker hub by default. To use local images, you must enable this in `nano /etc/gitlab-runner/config.toml`.
Here, add `pull_policy = "if-not-present"` to the `[runners.docker]` section.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment