Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions e2e/python/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import pytest

from openshell import InferenceRouteClient, Sandbox, SandboxClient
from openshell._proto import datamodel_pb2

if TYPE_CHECKING:
from collections.abc import Callable, Iterator
Expand Down Expand Up @@ -92,15 +91,3 @@ def _run(sandbox: Sandbox, code: str) -> tuple[int, str, str]:
return result.exit_code, result.stdout, result.stderr

return _run


@pytest.fixture(scope="session")
def gpu_sandbox_spec() -> datamodel_pb2.SandboxSpec:
# Empty string defers image resolution to the server, which substitutes
# the configured default sandbox image. Set OPENSHELL_E2E_GPU_IMAGE to
# override (e.g. a locally-built or registry-mirrored image).
image = os.environ.get("OPENSHELL_E2E_GPU_IMAGE", "")
return datamodel_pb2.SandboxSpec(
gpu=True,
template=datamodel_pb2.SandboxTemplate(image=image),
)
30 changes: 0 additions & 30 deletions e2e/python/test_sandbox_gpu.py

This file was deleted.

2 changes: 2 additions & 0 deletions tasks/helm.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ hide = true
description = "Lint the openshell Helm chart (defaults + all CI configuration variants)"
run = """
set -e
helm dependency build deploy/helm/openshell
echo "--- helm lint: defaults ---"
echo "values files: deploy/helm/openshell/values.yaml"
helm lint deploy/helm/openshell
Expand All @@ -45,6 +46,7 @@ run = """
if ! helm plugin list | grep -q unittest; then
helm plugin install https://github.com/helm-unittest/helm-unittest --verify=false
fi
helm dependency build deploy/helm/openshell
helm unittest deploy/helm/openshell
"""

Expand Down
10 changes: 0 additions & 10 deletions tasks/test.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ depends = ["e2e:docker:gpu"]
description = "Build local GPU workload test images and manifest"
run = "bash tasks/scripts/e2e-gpu-build-images.sh"

["e2e:k3s:gpu"]
description = "Run k3s GPU end-to-end tests"
depends = ["e2e:python:gpu"]

["test:rust"]
description = "Run Rust tests"
run = [
Expand Down Expand Up @@ -77,12 +73,6 @@ depends = ["python:proto"]
env = { UV_NO_SYNC = "1", PYTHONPATH = "python" }
run = "e2e/with-docker-gateway.sh uv run pytest -o python_files='test_*.py' -m 'not gpu' -n ${E2E_PARALLEL:-5} e2e/python"

["e2e:python:gpu"]
description = "Run Python GPU e2e tests"
depends = ["python:proto"]
env = { UV_NO_SYNC = "1", PYTHONPATH = "python", OPENSHELL_E2E_DOCKER_GPU = "1" }
run = "e2e/with-docker-gateway.sh uv run pytest -o python_files='test_*.py' -m gpu -n ${E2E_PARALLEL:-1} e2e/python"

["e2e:podman"]
description = "Run Rust CLI e2e tests against a Podman-backed gateway"
run = "e2e/rust/e2e-podman.sh"
Expand Down
Loading