Add param for separate RootCA
Added -x/--rootca param to define non-system rootca store. It may be needed, fo example if we have internal ca, which we don't want to install systemwide for security reasons or, in my case, if we have selfsigned certificate on gitlab-ci server (we pass this certificate as rootca store and so workaround bugs like #150 (closed) and #71 (closed))
Since UnregisterRunner is totally broken (#39 (closed), it ignores cli options and tries to read config before loading it, so URL and Token params are always empty), I didn't touch it, because fixing it is unrelated to this MR and there are several ways to do this.
Merge request reports
Activity
@iavael seems you forgot add
-x/--rootca
togitlab-ci-multi-runner --help
output@iavael
Please enter the gitlab-ci tags for this runner (comma separated):
can't left blank in your forkEdited by username-removed-43784seems you forgot add -x/--rootca to gitlab-ci-multi-runner --help output
--help output is generated automatically, and i see this param under '-t, --token' for register, unregister and run-single commands. Mb you built runner from wrong repo?
can't left blank in your fork
Merged changes from upstream's master
Edited by username-removed-20268More complete solution was merged: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/blob/master/docs/configuration/tls-self-signed.md
Currently is in Bleeding Edge release, but it will be live in 0.7.0.