Skip to content

Commit 2f2844b

Browse files
committed
test(e2e): generalize rootful podman guest setup
Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent 18d8d49 commit 2f2844b

2 files changed

Lines changed: 4 additions & 11 deletions

File tree

nix/test-guest/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ The root [`flake.nix`](../../flake.nix) exposes this directory as the `test-gues
6161

6262
| Distro | Docker | Podman | Rootful Podman | Rootless Podman | SELinux | Package format |
6363
| --- | --- | --- | --- | --- | --- | --- |
64-
| Ubuntu 24.04 | Yes | Yes | No | No | No | `.deb` |
65-
| Ubuntu 26.04 | Yes | Yes | No | Yes | No | `.deb` |
64+
| Ubuntu 24.04 | Yes | Yes | Yes | No | No | `.deb` |
65+
| Ubuntu 26.04 | Yes | Yes | Yes | Yes | No | `.deb` |
6666
| CentOS Stream 10 | No | Yes | Yes | No | Yes | `.rpm` |
6767
| Fedora 44 | No | Yes | Yes | No | Yes | `.rpm` |
6868
| Rocky Linux 9 | Yes | Yes | Yes | No | Yes | `.rpm` |
@@ -104,6 +104,7 @@ nix run .#test-guest -- --distro rocky --with docker
104104
nix run .#test-guest -- --distro centos --with podman
105105
nix run .#test-guest -- --distro fedora --with podman
106106
nix run .#test-guest -- --distro fedora --with podman-rootful
107+
nix run .#test-guest -- --distro ubuntu-24-04 --with podman-rootful
107108
nix run .#test-guest -- --distro ubuntu-26-04 --with podman-rootless
108109
```
109110

nix/test-guest/configuration/podman-rootful.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,9 @@
77
- name: Configure rootful Podman
88
hosts: test_vm
99
become: true
10-
gather_facts: true
10+
gather_facts: false
1111

1212
tasks:
13-
- name: Validate rootful Podman support
14-
ansible.builtin.assert:
15-
that:
16-
- ansible_facts.distribution in ["CentOS", "Fedora", "Rocky"]
17-
fail_msg: >-
18-
Rootful Podman guest coverage is supported on RPM-family guests, not
19-
{{ ansible_facts.distribution }}.
20-
2113
- name: Install rootful Podman
2214
ansible.builtin.package:
2315
name: podman

0 commit comments

Comments
 (0)