Skip to content

job-runner: use volumes for artifacts #7935

@jelly

Description

@jelly

Our job-runner has issues cleaning up containers mostly stemming from not running with podman run --rm but creating a cidfile, and then cleaning it up later.

The reason we use a cidfile is that our jobs work as following

  • create a container and dump a cidfile
  • once tests are done, copy the logs out of the container using the cid
  • podman rm with the cid

The podman rm can fail sometimes so as an alternative we could bind a temporary directory and dump the logs there. The temporary directory would be created and maintained by job-runner (and removed on exit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    improvement

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions