terraform-aws-gitlab-runner
terraform-aws-gitlab-runner copied to clipboard
http_proxy support missing
it'd be good to get support for http_proxy on outbound connections, for pulling the packages, and for the runners connecting back to the git instance.
You can inject a custom script in to both agent and docker-machines to set a proy.
@robpearce-flux npalm refers to
docker_machine_options = ["engine-registry-mirror=https://my.docker.proxy"]
which is a parameter of the module and sets the docker proxy.
The variables runners_pre_build_script and userdata_pre_install could also be a good choice to set proxies of any type.
@robpearce-flux Can this issue be closed?
yes, thanks.
it turned out to be quite the hoop jumping as by using docker+machine we needed the machines to also support the proxy so had to pass the proxy details in via the userdata of the machine set from the runner set from the module, but we got it done after a lot of trial and error.