Repository navigation
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 onubuntu-docker-rootful, and the Podman driver in the rpm onfedora-podman-rootfulandfedora-podman-rootless. The gateway launches the replaced driver from/usr/libexec/openshell. The rpm is rebuilt withrpmrebuildin a Fedora container.e2e-suites.yml: the suite matrix, as a reusable workflow (a row per environment and installer).openshell-conformancecome 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 thepull-test-inputsaction; tmachine is checked out at the same commit.OPENSHELL_REVandOPENSHELL_TEST_INPUTSare bumped from thev0.1.11commit to9972314fa, a main commit whose Release Dev run published the bundle. The three have to move together.flake.nix,flake.lockandnix/(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 warningsandcargo test --workspace --lockedpass against the new pin.Part of ai-openshell/openshell#5200.