Replies: 4 comments 6 replies
-
I found https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/running-scripts-before-or-after-a-job but am not sure yet how that allows me to change the working dir/env of the job |
Beta Was this translation helpful? Give feedback.
-
In the early days this has been created around this project Doesn't look maintained |
Beta Was this translation helpful? Give feedback.
-
This runner can spawn the worker that executing code in a new process via A non isolated new process worker would be If your jail allows communicating with GitHub + your worker script forwards stdin, you could write a shellscript which mounts github-act-runner into a new jail / has it's own copy of the binary and execute the worker inside the jail ( Otherwise use |
Beta Was this translation helpful? Give feedback.
-
I have just tried to setup that myself on freebsd (Except that I have to press f5 after the pot is running, due to a UI glitch) setup sudo pkg install curl pot
sudo pot init
curl -LO https://github.com/ChristopherHX/github-act-runner/releases/download/v0.6.8/binary-freebsd-amd64.tar.gz
mkdir runner
cd runner/
tar xf ../binary-freebsd-amd64.tar.gz
./config.sh pot.sh
The pot would need to install node (version 20) for most Now just run
The job itself runs inside the jail and directly connects to GitHub Creating more docs about different technologies would make sense here |
Beta Was this translation helpful? Give feedback.
-
Runner works great on FreeBSD. I was wondering if anyone has a setup where the action is automatically executed in a new clean jail. Basically some sort of setup and tear-down hooks, but transparent (no changes to the workflow).
Beta Was this translation helpful? Give feedback.
All reactions