saltstack-formulas / gitlab-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Apache License 2.0
29 stars 49 forks source link

Config file for runner doesn't fit system install? #22

Open gilou opened 5 years ago

gilou commented 5 years ago

The conf file should probably be checked in /etc/gitlab-runner/config.toml rather than in the home to allow configuration in https://github.com/saltstack-formulas/gitlab-formula/blob/191fe84f3998b6d5c16f729bbcdec00f02d0036e/gitlab/runner.sls#L43

Also this is not idempotent as the register is not either... Maybe we can use gitlab-runner verify to check if the configured runner is already registered?