Skip to content

ci: build and test the Docker and Podman drivers - #4

Open
elezar wants to merge 1 commit into
mainfrom
ci-drivers
Open

elezar wants to merge 1 commit into
mainfrom
ci-drivers

Conversation

@elezar

@elezar elezar commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds the CI for the desktop drivers. The VM driver's CI is split out into #16, stacked on this PR.

  • driver-build-test.yml: builds the Docker and Podman drivers as OpenShell builds its release binaries (in the flake's dev shell with its cross toolchains), natively for x86_64 and aarch64 Linux (build-binaries-linux.yml) and for aarch64 macOS (build-binaries-macos.yml). It then runs OpenShell's conformance suite on its tmachine with the drivers built here swapped into the packaged gateway: the Docker driver in the deb on ubuntu-docker-rootful, and the Podman driver in the rpm on fedora-podman-rootful and fedora-podman-rootless. The gateway launches the replaced driver from /usr/libexec/openshell. The rpm is rebuilt with rpmrebuild in a Fedora container.
  • e2e-suites.yml: the suite matrix, as a reusable workflow (a row per environment and installer).
  • Inputs: nothing from OpenShell is built here. The gateway packages, runtime images and openshell-conformance come from OpenShell's published test-inputs bundle (ghcr.io/ai-openshell/openshell/test-inputs:<sha>, from ci: publish per-commit test inputs to ghcr openshell#6015), pulled and verified by the pull-test-inputs action; tmachine is checked out at the same commit.
  • Pin: the OpenShell git dependencies, OPENSHELL_REV and OPENSHELL_TEST_INPUTS are bumped from the v0.1.11 commit to 9972314fa, a main commit whose Release Dev run published the bundle. The three have to move together.
  • Nix: flake.nix, flake.lock and nix/ (the toolchains), with the composite actions that set up nix and Rust.

Testing

  • mise run workflows:check (actionlint, zizmor, shellcheck) passes locally.
  • cargo fmt --check, cargo clippy --workspace --all-targets --locked -- -D warnings and cargo test --workspace --locked pass against the new pin.
  • The Driver Build and Test workflow ran green in Actions before the split (builds, the ghcr pull and checksum verification, the deb and rpm driver swaps, and the three conformance rows); the run on this branch is the first since.
  • Conformance runs on every pull request; gating it behind a label, as OpenShell does for E2E, is a possible follow-up.

Part of ai-openshell/openshell#5200.

Build the Docker and Podman drivers as OpenShell builds its release binaries, in the flake's dev shell
with its cross toolchains: natively for x86_64 and aarch64 Linux and for aarch64 macOS. Run OpenShell's
conformance suite on its tmachine with the drivers built here swapped into the packaged deb (Docker)
and rpm (Podman), on Ubuntu and on rootful and rootless Fedora. The gateway packages, runtime images
and the conformance program come from OpenShell's published test-inputs bundle at 9972314fa, which the
Cargo pins now also use.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
@elezar elezar changed the title ci: build the drivers and run OpenShell's conformance suite against them ci: build and test the Docker and Podman drivers Dec 2, 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.

1 participant