#has anyone used dagger to run github self hosted runners ?

1 messages · Page 1 of 1 (latest)

vivid oxide
#

I am using github runners and facing portability between nixos, windows and mac using github provided self hosted runners. I was hoping it would be possible to run the github self hosted container as a dagger service using dagger api. This way i can start many of them on a single host using a dagger. I know i can run them on k8s but dont need that complexity for now

Has anyone done this yet ?

p.s this issue seems similar but not really what iam after https://github.com/dagger/dagger/issues/4513

GitHub

Provide a definitive guide on how to run Dagger on Github Actions self-hosted runners.

jolly oasis
#

@vivid oxide that is next on my list 🙂 I've been meaning to do this, but didn't get around to it.

#

Note that @unkempt widget did a lot of work in this direction with GALE: (Github Actions Local Executor) which runs on Dagger. It has a slightly different objective (run individual GHA workflows as part of a Dagger pipeline) but you do need to a Daggerized GHA runner for that...

unkempt widget
vivid oxide
#

i am actually trying this now and i am seeing permission denied when i run the docker client from inside the container. i am looking at gale to see how you are passing the socket from the host

unkempt widget
#

the gale using old version of dagger which has host() access. It was able to access docker socket from host directly by default. But now we need to pass it a argument

#

i'm too busy these days, can't find time to return and restructure the project