NVIDIA / NVIDIA/OpenShell

ci: re-add rootless Podman e2e using Nix VMs

Open
#2,980 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

state:stale
Dominant language
Rust
Stars
8.7k
Forks
1.3k
Avg merge
2d 11h
Merged PRs (30d)
253

Description

Description

Re-add rootless Podman e2e coverage using Nix-based VMs instead of the current GitHub-hosted Ubuntu rootless Podman lane.

Context

The current rootless Podman CI lane runs directly on an Ubuntu hosted runner and hand-configures Podman, conmon, AppArmor, subuid/subgid ranges, and pasta behavior in .github/workflows/e2e-test.yml. That setup is sensitive to hosted-runner image changes and distribution package behavior, which makes failures hard to separate from OpenShell regressions.

The replacement should run rootless Podman scenarios inside a reproducible Nix-managed VM image. The VM should make the host policy, Podman version, network backend, user namespace configuration, and rootless socket setup explicit and versioned with the repository.

Definition of Done

  • A Nix-based VM test environment provisions rootless Podman with pinned or otherwise reproducible versions.
  • The VM test environment verifies rootless mode before running OpenShell e2e tests.
  • The restored e2e path covers the rootless Podman gateway flow that was previously exercised by e2e:podman:rootless.
  • CI can invoke the Nix VM rootless Podman lane without relying on mutable hosted-runner Podman/AppArmor configuration.
  • Documentation or contributor-facing task references explain how to run the new rootless Podman VM lane locally or in CI.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with .github/workflows/e2e-test.yml and the existing e2e:podman:rootless lane to understand its current coverage and configuration. Define the Nix-based VM environment, verify rootless mode before running the OpenShell gateway flow, and add contributor-facing run instructions; done means CI runs the restored lane without mutable hosted-runner Podman or AppArmor setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, linux, rust
Domain
ci-cd, devops, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.