nelhage / reptyr

Reparent a running program to a new terminal
MIT License
5.71k stars 216 forks source link

github actions CI #126

Closed reaperhulk closed 3 years ago

reaperhulk commented 3 years ago

a beginning for your new CI adventure. This also adds dependabot, but it will only update the github actions (as you can see this is currently pinning to an exact actions/checkout version).

This PR will, of course, not run, but you can see the action successfully running here: https://github.com/reaperhulk/reptyr/actions/runs/991142897

The dependabot action is a daily task so I have no example of it running in my repo, but it's identical to what we use in pyca/cryptography.

reaperhulk commented 3 years ago

Played around with qemu a bit, you can see the results here: https://github.com/reaperhulk/reptyr/actions/runs/991642813. ptrace appears to be failing. --privileged should be being passed, but it's possible there are other issues at play. I've reverted this PR to the simplest form for now.

nelhage commented 3 years ago

Looks like user-mode qemu doesn't implement ptrace, so we'd need to emulate an entire ARM system. That's probably doable, especially if we just bundled a minimal initrd with all our dependencies, but it'd be more work and probably slow even so.