Repository navigation
test(drivers): build and run the Docker and Podman driver suites here (demo) - #17
Draft
matthewgrossman wants to merge 8 commits into
Draft
matthewgrossman wants to merge 8 commits into
matthewgrossman wants to merge 8 commits into
Conversation
Copy tests/suites/drivers/podman from ai-openshell/openshell at the pinned revision, with testkit and its support crates as git dependencies at that revision instead of path dependencies. The lockfile keeps every registry version; only the OpenShell crates change source. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Re-lock the suite starting from the root Cargo.lock, so the crates both lock, such as aws-lc-sys, resolve to the root's versions. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Move the Cargo pins, OPENSHELL_REV and OPENSHELL_TEST_INPUTS together to 6686f2ce2, the main commit that merged the Docker and Podman driver suite port. Release Dev published its test-inputs bundle. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
…l#5695 Update tests/suites/drivers/podman and add drivers/docker as of the merge of ai-openshell/openshell#5695, which adds the Docker suite and the Podman lifecycle test. Their testkit and support crates come from the same revision as the root workspace's OpenShell crates, and their lockfiles are seeded from the root's. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
The driver suites are workspaces of their own, so the root workspace's cargo commands skip them. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
…-ready from The runner's bundle build runs cargo on tests/testkit/Cargo.toml of the repository it runs in, which only OpenShell has. This shim depends on openshell-testkit at the suites' revision, so the runner can build a driver suite bundle from this repository unchanged. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
The driver suites are workspaces of their own, so the Rust checks' root workspace commands skip them. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Build the drivers/docker and drivers/podman bundles once per run with OpenShell's openshell-test-runner at OPENSHELL_REV, and run them as E2E suite rows: Docker on ubuntu-docker-rootful, Podman on the eight fedora-podman user-namespace environments, as OpenShell's own driver-specific rows do. The rows use the deb and rpm with the drivers built here, like the conformance rows. Signed-off-by: Matthew Grossman <mgrossman@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.
Draft, demo only, not for merge. Stacked on #4 (
ci-drivers).This shows that OpenShell's driver suites can build and run from this repository, for
ai-openshell/openshell#6041. The real move should import the suites with their history (as
hack/migrationdid for the drivers) after OpenShell freezes the paths. This PR copies the fileswithout history, so its value is the adaptation commits and the CI wiring.
What it shows
tests/suites/drivers/dockeranddrivers/podmancome from test(e2e): port Docker and Podman driver feature tests from e2e/rust openshell#5695 asmerged (
6686f2ce2).workspace's OpenShell crates.
Cargo.lock, which aligns every shared crate,including
aws-lc-sys. The only exceptions are second-major copies the root doesn't use.OPENSHELL_REVandOPENSHELL_TEST_INPUTSmove together to6686f2ce2, which has a published test-inputs bundle.build-suite-bundlesbuilds the suite bundles once per run with OpenShell'sopenshell-test-runneratOPENSHELL_REV.ubuntu-docker-rootful, and Podman on the eightfedora-podman-*-userns-*environments, asOpenShell's driver rows do.
mise run ciformat-check and lint the suites.Known workaround
tests/testkitis a shim. The runner buildstestkit-readyfromtests/testkit/Cargo.tomlofthe repository it runs in (OpenShell
tests/runner/src/bundle.rs,build_ready). A small runnerchange, building it from the family's manifest, would remove the shim.
Not included
features/driver-config,features/docker-updates).OpenShell's test-inputs.