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
Hi, coming back to this topic as I wanted to use a bespoke DOCKER_HOST socket in my self-hosted runner. It seems like the default code hard codes /var/run/docker.sock and I wanted to try and change that behaviour. I played with this a while back in #39.
A first observation is that using the index.js from this repo seems to change the workflow order. The dockerfile action is not built beforehand - is this expected behaviour?
Without the docker container hooks (default):
Using index.js from this repo (0.5.0)....
The main issue is that the introduction of the container hooks seems to wipe out the forward proxy settings that are configured for the container. I could put these values in the runner env file but I prefer to pass them dynamically via override values to the helm gha-runner-scale-set:
set {
name = "template.spec.containers[0].env[0].name"
value = "HTTPS_PROXY"
}
set {
name = "template.spec.containers[0].env[0].value"
value = "http://squid-service.${var.forwardproxy_namespace}:3128"
}
set {
name = "template.spec.containers[0].env[1].name"
value = "HTTP_PROXY"
}
set {
name = "template.spec.containers[0].env[1].value"
value = "http://squid-service.${var.forwardproxy_namespace}:3128"
}
Any suggestions welcome thankyou!
The text was updated successfully, but these errors were encountered:
Hi, coming back to this topic as I wanted to use a bespoke DOCKER_HOST socket in my self-hosted runner. It seems like the default code hard codes /var/run/docker.sock and I wanted to try and change that behaviour. I played with this a while back in #39.
My env file is as follows....
A first observation is that using the index.js from this repo seems to change the workflow order. The dockerfile action is not built beforehand - is this expected behaviour?
Without the docker container hooks (default):
Using index.js from this repo (0.5.0)....
The main issue is that the introduction of the container hooks seems to wipe out the forward proxy settings that are configured for the container. I could put these values in the runner env file but I prefer to pass them dynamically via override values to the helm gha-runner-scale-set:
Any suggestions welcome thankyou!
The text was updated successfully, but these errors were encountered: