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
3 changes: 3 additions & 0 deletions e2e/conftest.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

"""E2E test fixtures that run against a real ``nemo services`` process.

Usage::
Expand Down
3 changes: 3 additions & 0 deletions e2e/files/test_files.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

"""E2E tests for the files service.

These tests verify basic file upload and download operations
Expand Down
3 changes: 3 additions & 0 deletions e2e/files/test_storage_backends.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

"""E2E tests for external storage backends (NGC, Hugging Face).

These tests verify that the files service can create filesets backed by
Expand Down
3 changes: 3 additions & 0 deletions e2e/k8s/scripts/afterscript_collect_k8s_logs.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

#
# Collect logs for failed pods in the current namespace.
#
Expand Down
3 changes: 3 additions & 0 deletions e2e/k8s/scripts/collect_k8s_logs.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

# Script: collect_k8s_logs.sh
# Description: Collects Kubernetes pod logs and diagnostics, writing to files for archiving.
# Safe to call even if the cluster is partially degraded — individual failures are ignored.
Expand Down
3 changes: 3 additions & 0 deletions e2e/k8s/scripts/create_rustfs_bucket.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

# Create an E2E test bucket in RustFS
# Expects NAMESPACE to be set (e.g. current kubectl context namespace).
# Uses default credentials (rustfsadmin/rustfsadmin).
Expand Down
3 changes: 3 additions & 0 deletions e2e/k8s/scripts/install_helm_e2e.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

#
# Install NeMo Platform through Helm for local and CI Kubernetes E2E runs.
#
Expand Down
3 changes: 3 additions & 0 deletions e2e/k8s/scripts/install_nmp_auth_e2e.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

# Install the auth-enabled local E2E harness on minikube.

set -euo pipefail
Expand Down
3 changes: 3 additions & 0 deletions e2e/k8s/scripts/lib.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

# Shared utilities for e2e K8s setup scripts.

# ---------------------------------------------------------------------------
Expand Down
3 changes: 3 additions & 0 deletions e2e/k8s/scripts/local_build_and_upgrade.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

# Build Docker images locally and deploy to minikube via Helm.
#
# This script handles the build step, then delegates the Helm install to
Expand Down
3 changes: 3 additions & 0 deletions e2e/k8s/scripts/prepull_kind_images.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

# Pull images directly into every kind node's containerd store.

set -euo pipefail
Expand Down
3 changes: 3 additions & 0 deletions e2e/k8s/scripts/run_auth_e2e.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

# Run a fast auth-enabled smoke check, then the existing auth E2E suite.

set -euo pipefail
Expand Down
3 changes: 3 additions & 0 deletions e2e/k8s/scripts/setup_local_kind_cpu.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

# Script: setup_local_kind_cpu.sh
# Description: Sets up a local kind cluster for CPU-only Kubernetes E2E tests.

Expand Down
3 changes: 3 additions & 0 deletions e2e/k8s/scripts/setup_local_minikube_cpu.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

# Script: setup_local_minikube_cpu.sh
# Description: Sets up a local minikube cluster for CPU-only auth Helm/E2E validation.

Expand Down
3 changes: 3 additions & 0 deletions e2e/k8s/scripts/setup_local_minikube_gpu.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

# Script: setup_local_minikube_gpu.sh
# Description: Sets up a local minikube cluster with GPU support for e2e testing
# Usage: ./setup_local_minikube_gpu.sh
Expand Down
3 changes: 3 additions & 0 deletions e2e/k8s/scripts/wait_for_api.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

#
# Wait for the platform API /cluster-info endpoint to respond.
# Use after starting port-forward so tests don't run before the API is ready.
Expand Down
3 changes: 3 additions & 0 deletions e2e/k8s/scripts/wait_for_release_ready.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

# Wait for a Helm release to become ready, failing fast on image pull errors.

set -euo pipefail
Expand Down
3 changes: 3 additions & 0 deletions e2e/test_data_designer.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

import tempfile
import time
from collections.abc import Generator
Expand Down
3 changes: 3 additions & 0 deletions e2e/test_entities.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

"""E2E tests for the entities API.

These tests verify basic internal entity-store operations work correctly when
Expand Down
3 changes: 3 additions & 0 deletions e2e/test_inference.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

"""E2E tests for the Inference Gateway with mock provider mode.

These tests verify that mock provider mode works through the real platform
Expand Down
3 changes: 3 additions & 0 deletions e2e/test_jobs.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

"""E2E tests for platform jobs.

These tests submit jobs with CPUExecutionProviderSpec (container + command).
Expand Down
3 changes: 3 additions & 0 deletions e2e/test_nemo_agents.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

"""E2E tests for the nemo-agents plugin.

These tests cover the backend-agnostic API and SDK surface.
Expand Down
3 changes: 3 additions & 0 deletions e2e/test_nemo_agents_docker.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

"""E2E test for docker-mode agent deployments.

Unlike ``test_nemo_agents.py`` (backend-agnostic API/SDK surface, plus
Expand Down
3 changes: 3 additions & 0 deletions e2e/test_nemo_agents_k8s.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

"""E2E test for Kubernetes-mode agent deployments.

The Kubernetes counterpart to ``test_nemo_agents_docker.py``: it deploys an
Expand Down
3 changes: 3 additions & 0 deletions e2e/test_safe_synthesizer.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

"""E2E coverage for the Safe Synthesizer plugin.

Smoke coverage runs in the local subprocess harness and verifies the API,
Expand Down
3 changes: 3 additions & 0 deletions e2e/test_secrets.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

"""E2E tests for the secrets service.

These tests verify basic secret creation and listing operations
Expand Down
3 changes: 3 additions & 0 deletions e2e/test_smoke.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

"""Smoke tests that verify the platform is reachable and core APIs respond.

These are intentionally minimal — they validate the e2e harness works and
Expand Down
3 changes: 3 additions & 0 deletions e2e/test_studio.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

"""E2E tests for the Studio UI service.

These tests verify that the Studio static files are correctly served
Expand Down
3 changes: 3 additions & 0 deletions k8s/helm/helm-docs-template/nemo-helm-readme.md.gotmpl
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{{/* SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. */}}
{{/* SPDX-License-Identifier: Apache-2.0 */}}

# {{ template "chart.description" . }}

{{ template "chart.typeBadge" . }}
Expand Down
Loading
Loading