Replies: 3 comments 6 replies
-
Hey @bjoto, Thank you for your kind words! This is intended behavior, since resources required by the runner may be different from resources required by workflow pods. In order to configure it, one way is to provide a config map in the format described in the ADR, and then mount it to the runner pod. You should also expose an environment variable specifying a file path from which the hook will read the content, modify the pod and create one. We are planning to include hook extension example in the docs |
Beta Was this translation helpful? Give feedback.
-
I tried the following, for the runner container:
where the podspec is:
but for some reason the resources addition didn't work... The node preparejob failed. Removing the "resources" worked (as in the ENV1 was in the runner). Is it possible to turn on debug print somehow? |
Beta Was this translation helpful? Give feedback.
-
@bjoto were you able to resolve this/spot the issue? |
Beta Was this translation helpful? Give feedback.
-
Hey, thanks for a great project! I'm setting up ARC to work with the RISC-V Linux kernel CI.
I have ARC setup with containerMode.type: "kubernetes", and the following set up:
Now, when a workflow is running, the resources for the runner is not inherited to the workflow:
but the workflow:
Is it possible to configure the resources of workflow pod, or let it inherit the from the runner? It looks like it should be possible with actions/runner-container-hooks#75 ...
Is that part of the the released ARC?
Beta Was this translation helpful? Give feedback.
All reactions