Run e2e tests in CI and cover sandbox isolation #8

Merged
mathieu merged 7 commits from lain/e2e-in-ci-20261102152451 into main 2026-11-02 14:43:02 +00:00
Collaborator

Adds unit tests for internal/podman, negative isolation checks to the dummy e2e agent (host env, host-only file), and a CI e2e job running make e2e with rootless podman as an unprivileged user.

Adds unit tests for internal/podman, negative isolation checks to the dummy e2e agent (host env, host-only file), and a CI e2e job running make e2e with rootless podman as an unprivileged user.
Run e2e tests in CI and cover sandbox isolation
Some checks failed
ci / test (pull_request) Successful in 1m13s
ci / e2e (pull_request) Failing after 19s
bc791ace14
- Add unit tests for podman.ImageExists and Command using a stub podman on PATH.
- Dummy agent now checks that host env vars and host-only files are not visible.
- Add an e2e CI job: rootless podman (vfs storage) as an unprivileged user, running make e2e.
Drop privileged container option from e2e CI job
Some checks failed
ci / test (pull_request) Successful in 1m15s
ci / e2e (pull_request) Failing after 18s
7adaf97522
e2e CI: allow user namespaces for rootless podman
Some checks failed
ci / test (pull_request) Successful in 1m16s
ci / e2e (pull_request) Failing after 19s
89000788d9
e2e CI: diagnose user namespace restrictions
Some checks failed
ci / test (pull_request) Successful in 1m13s
ci / e2e (pull_request) Failing after 19s
4d91c58dd4
This reverts commit 89000788d9.
Revert "e2e CI: diagnose user namespace restrictions"
Some checks failed
ci / test (pull_request) Successful in 1m13s
ci / e2e (pull_request) Has been cancelled
0c350b6e74
This reverts commit 4d91c58dd4.
Drop e2e job from CI for now
All checks were successful
ci / test (pull_request) Successful in 1m12s
6d31dc8c2a
The Docker-based runner blocks user namespaces, so rootless podman cannot run
the e2e tests there. Keep the e2e tests compiling via the vet step; run make e2e
manually or on a suitable runner later.
mathieu deleted branch lain/e2e-in-ci-20261102152451 2026-11-02 14:43:03 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
mathieu/dash!8
No description provided.