Open gilou opened 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?
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?