#I'm testing out dagger in self-hosted

1 messages · Page 1 of 1 (latest)

leaden whale
uneven sapphire
#

Thanks, I did see that but I don't think applies as I am not using temporary dagger enigines in docker. Instead I have setup a permanent dagger enginge in k8s and I am using _EXPERIMENTAL_DAGGER_RUNNER_HOST=unix:///var/run/dagger/buildkitd.sock in the config so it should connect to that dagger engine. Maybe I need to double check that it is actually using the k8s installed dagger engine from gitlab.

#

Tried it without pointing it to the k8s installed dagger engine and in that case I got error ! failed to run command: exec: "docker": executable file not found in $PATH . So I think it is actually using the dagger engine running in k8s.

uneven sapphire
#

The relevant code is .withMountedCache("/root/.npm", dag.cacheVolume("node")) . I am not sure what "node" is here, it is a cache key, but what is the scope of that key?

#

Perhaps it is somehow scoped to each run in gitlab and gets recreated each time?