Skip to content

Non-existing systemMount folders prevent use of podman #176

Open
@seanlafferty-ibm

Description

@seanlafferty-ibm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions