mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-21 06:11:31 +08:00
* test(e2e): add GPU workload image artifacts Closes #1476 Define local GPU workload image sources for smoke-pass, smoke-fail, and cuda-basic validation, plus a mise build task that tags images with the source revision and records the latest local image refs. Signed-off-by: Evan Lezar <elezar@nvidia.com> * test(e2e): add workload manifest build flow Signed-off-by: Evan Lezar <elezar@nvidia.com> * test(e2e): fix gpu workload README lint Signed-off-by: Evan Lezar <elezar@nvidia.com> * test(e2e): address gpu workload review feedback Signed-off-by: Evan Lezar <elezar@nvidia.com> --------- Signed-off-by: Evan Lezar <elezar@nvidia.com>
GPU workload smoke fail
smoke-fail validates negative-path diagnostics in e2e test plumbing.
The workload does not perform GPU-specific work. It prints
OPENSHELL_GPU_WORKLOAD_FAILURE, emits a stable diagnostic, and exits non-zero.
Build it with:
mise run e2e:workloads:build
That command also refreshes the local workload manifest at
e2e/gpu/images/.build/workloads.yaml.
To build only this workload locally, set:
OPENSHELL_GPU_WORKLOAD_IMAGES=smoke-fail mise run e2e:workloads:build
Run it directly:
source e2e/gpu/images/.build/latest.env
docker run --rm "${OPENSHELL_E2E_GPU_SMOKE_FAIL_IMAGE}"
The direct run should fail.