You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an enterprise user that is working behind an internet proxy, I would like to be able to pass environment variables that are used during the initialization of the runner to the constructs so that I can correctly configure the proxy URL and no-proxy list.
The text was updated successfully, but these errors were encountered:
thank you for the quick response! I'm using the environment property to pass my proxy environment to runner, however I don't think that this is sufficient for my setup:
I need the proxy to be in effect here so that this call to packages.gitlab.com goes through the proxy.
Optionally, it would also be alright to be able to replace https://packages.gitlab.com with our internal GitLab RPM mirror, however I don't think this is really feasible as https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh will also point to the original URL and not the mirror.
you may refactor the init config step repositories to be passed by the construct's props. Then you pass your own InitConfig to setup your private mirror.
The step packages may also bei refactored to pass your own docker+machine gitlab fork binary.
I guess, you also want to provide a hardened or customized AMI for the manager instance.
That combination could give you the desired flexibility.
I considered CDK escape hatches with InitConfig won't work very well.
As an enterprise user that is working behind an internet proxy, I would like to be able to pass environment variables that are used during the initialization of the runner to the constructs so that I can correctly configure the proxy URL and no-proxy list.
The text was updated successfully, but these errors were encountered: