Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 1.2k
test(e2e): clarify backend-specific task names#1191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| #!/usr/bin/env bash | ||
| # SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| # Run Rust e2e tests against a standalone gateway running the bundled Docker | ||
| # compute driver. Set OPENSHELL_E2E_RUST_TEST to a Rust integration test target | ||
| # such as "smoke" or "sync" to run only that file. | ||
| set -euo pipefail | ||
| ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)" | ||
| E2E_TEST="${OPENSHELL_E2E_RUST_TEST:-}" | ||
| cargo build -p openshell-cli --features openshell-core/dev-settings | ||
| cargo_args=( | ||
| test | ||
| --manifest-path "${ROOT}/e2e/rust/Cargo.toml" | ||
| --features e2e | ||
| ) | ||
| test_args=() | ||
| if [ -n "${E2E_TEST}" ]; then | ||
| cargo_args+=(--test "${E2E_TEST}") | ||
| test_args+=(--nocapture) | ||
| else | ||
| test_args+=(--skip docker_gpu_sandbox_runs_nvidia_smi) | ||
| fi | ||
| exec "${ROOT}/e2e/with-docker-gateway.sh" cargo "${cargo_args[@]}" -- "${test_args[@]}" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@drew does
e2e:k3s:gpufeel like a reasonable name for the GPU E2E task that runs through the k3s-cluster gateway, or would you prefer a different name?