Open Cuc83 opened 7 months ago
Hey @Cuc83,
I think you need to set no_proxy for k8s in order to make it work. I assume the IP is in 10.x.x.x range so you can try 10.0.0.1/8
or 10.0.0.1
I tried using no_proxy=10.0.0.0/8,.mycompany.domain
but did not solve the problem.
We installed ARC using the instruction provided by the official guide but we're facing with some issues about proxy server usage.
To better explain, please consider the following simple workflow definition:
where
kubernetes-test
is our Actions Runner Controller installed in our kubernetes cluster.The result of this job execution is OK ("hello" is printed out).
We added another step after "Echo" that make use of an Action available on GitHub.com marketplace developed by a Verified Publisher (as our policy allows to do).
At this point, the job is not able to download the action package from internet with the following error message:
To solve this problem letting the runner reach internet through our company proxy server, we set the following variables at Runner level:
No authentication is required by the proxy server.
At this point the proxy is correctly set and, therefore, the action is correctly downloaded as you can see there:
At this point we tried to remove the step "ActionFromGitHubComMarketPlace" that refeers to marketplace action leaving the proxy variables setted but the above error remains.
So we're in a situation in which if we do not set the proxy variables, the pipeline runs but only with GHES bundled actions (no marketplace access) and if we set them nothing works, also the steps that doen't refeer to remote actions.
How can we set the proxy without breaking the pipeline execution?