Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-existing systemMount folders prevent use of podman #176

Open
seanlafferty-ibm opened this issue Aug 19, 2024 · 0 comments
Open

Non-existing systemMount folders prevent use of podman #176

seanlafferty-ibm opened this issue Aug 19, 2024 · 0 comments

Comments

@seanlafferty-ibm
Copy link

seanlafferty-ibm commented Aug 19, 2024

I am trying to create podman hooks. When I log the json github sends, it includes some system mounts for folders that do not exist on my runner.

      {
        "userProvidedValue": null,
        "sourceVolumePath": "/root/actions-runner/_work/_actions",
        "targetVolumePath": "/__w/_actions",
        "readOnly": false
      },

I believe this works on docker because docker will automatically creating missing mounts on your host. Podman errors on missing dirs containers/podman#6234 Error: statfs /root/actions-runner/_work/_actions: no such file or directory. I tried creating these dirs by hand, but something about the github runner deletes them.

I suppose this is sort of a runner bug moreso than a hook bug, but it's kind of cross-cutting.

@seanlafferty-ibm seanlafferty-ibm changed the title Docker hooks not working due to non-existing systemMount folders Non-existing systemMount folders Aug 19, 2024
@seanlafferty-ibm seanlafferty-ibm changed the title Non-existing systemMount folders Non-existing systemMount folders prevent use of podman Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant