Skip to content

Test Podman 6.1.0 in CI - #1280

Draft
Christof Marti (chrmarti) wants to merge 10 commits into
mainfrom
copilot/fix-podman-runner-storage
Draft

Test Podman 6.1.0 in CI#1280
Christof Marti (chrmarti) wants to merge 10 commits into
mainfrom
copilot/fix-podman-runner-storage

Conversation

@chrmarti

@chrmarti Christof Marti (chrmarti) commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Test the unchanged Podman Feature integration suite with Podman 6.1.0, the latest Podman release, instead of the GitHub runner's Podman 5.8.4.

Session Context

Key decisions and findings from the development session:

  • Version-only test workload: The Podman test itself is byte-for-byte identical to main; the PR changes only the conditional CI installation/configuration for that matrix job.
  • Latest releases checked: Podman 5.8.6 still embeds Buildah 1.43.2 and reproduces the /tmp/apt.conf.* failure. Podman 6.1.0 embeds Buildah 1.45.0 and passes the unchanged integration test.
  • Podman 6 configuration migration: Podman 6 rewrote configuration handling and honors the runner bundle's rootful graphroot. The experiment supplies the equivalent rootless per-user storage configuration, retaining overlay, ignore_chown_errors=true, and fuse-overlayfs.
  • Static build adaptation: There is no mgoltzsche/podman-static 6.x release. The experiment builds Podman 6.1.0 using the 5.8.4 recipe with only the Go module/repository path updates required by Podman 6's CNCF repository migration.
  • No test workaround: Layers remain enabled and the Feature workloads are unchanged.

Changes

  • Build and install a static Podman 6.1.0 binary only for src/test/cli.podman.test.ts.
  • Configure rootless per-user storage in the format required by Podman 6.
  • Make no changes to the Podman tests or Feature workloads.

CI results

@chrmarti
Christof Marti (chrmarti) force-pushed the copilot/fix-podman-runner-storage branch from 98e2814 to 07d0952 Compare August 17, 2026 07:20
@chrmarti
Christof Marti (chrmarti) changed the base branch from copilot/secure-oci-auth to main August 17, 2026 07:20

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR restores rootless Podman feature-test reliability on GitHub-hosted runners by overriding a runner-image Podman storage option (overlay.ignore_chown_errors) that breaks APT’s _apt user during feature builds.

Changes:

  • Reset the rootless Podman system state on GitHub Actions to start from a clean store.
  • Write a minimal user-level storage.conf to set the overlay driver and disable ignore_chown_errors.
  • Assert the effective Podman storage option via podman info before running the packaged CLI tests.
Show a summary per file
File Description
src/test/cli.podman.test.ts Adds GitHub Actions–specific rootless Podman storage reset + minimal storage.conf override, with a verification assertion before running the Podman feature tests.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

@chrmarti
Christof Marti (chrmarti) force-pushed the copilot/fix-podman-runner-storage branch from 24af44e to 40f5914 Compare August 17, 2026 07:32
@chrmarti Christof Marti (chrmarti) changed the title Fix rootless Podman tests on hosted runners Use lightweight Feature in Podman tests Aug 17, 2026
Retain the Docker-in-Docker Feature workload while avoiding the hosted runner's rootless Podman 5.8 APT sandbox regression.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@chrmarti
Christof Marti (chrmarti) force-pushed the copilot/fix-podman-runner-storage branch from 24be598 to e24d7ea Compare August 17, 2026 08:27
@chrmarti Christof Marti (chrmarti) changed the title Use lightweight Feature in Podman tests Run hosted Podman Feature tests rootfully Aug 17, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@chrmarti Christof Marti (chrmarti) changed the title Run hosted Podman Feature tests rootfully Keep hosted Podman Feature tests rootless Aug 18, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@chrmarti Christof Marti (chrmarti) changed the title Keep hosted Podman Feature tests rootless Test Podman 5.6.0-rc2 in CI Aug 19, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@chrmarti Christof Marti (chrmarti) changed the title Test Podman 5.6.0-rc2 in CI Test Podman 5.5.2 in CI Aug 19, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@chrmarti Christof Marti (chrmarti) changed the title Test Podman 5.5.2 in CI Test Podman 6.1.0 in CI Aug 19, 2026
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

Successfully merging this pull request may close these issues.

2 participants