|
|
|
# Setting up a runner
|
|
|
|
|
|
|
|
You can add a gitlab-runner to your own fork of mHM following this instruction:
|
|
|
|
* https://wiki.ufz.de/eve/index.php/Gitlab_Runner
|
|
|
|
|
|
|
|
To make the mhm ``.gitlab-ci.yml`` work, you have to enable ``custom build dir`` by adding ``enabled = true`` to ``[runners.custom_build_dir]`` in the gitlab-runner config file (usually under ``.gitlab-runner/config.toml`` in your home dir on EVE).
|
|
|
|
|
|
|
|
Example:
|
|
|
|
```
|
|
|
|
[[runners]]
|
|
|
|
name = "your runner name"
|
|
|
|
url = "https://git.ufz.de"
|
|
|
|
token = ...
|
|
|
|
executor = "shell"
|
|
|
|
[runners.custom_build_dir]
|
|
|
|
enabled = true
|
|
|
|
[runners.cache]
|
|
|
|
[runners.cache.s3]
|
|
|
|
[runners.cache.gcs]
|
|
|
|
``` |
|
|
|
\ No newline at end of file |