Skip to content

Commit c6da8e1

Browse files
committed
ci(kubernetes): expose e2e test selection
Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent 877ddba commit c6da8e1

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎.github/workflows/e2e-kubernetes-test.yml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@ on:
4242
required: false
4343
type: string
4444
default: "e2e:kubernetes"
45+
test-name:
46+
description: "Rust e2e test target to run (sets OPENSHELL_E2E_KUBE_TEST)"
47+
required: false
48+
type: string
49+
default: ""
50+
kubernetes-features:
51+
description: "Cargo feature list for the Kubernetes e2e crate (uses script defaults when empty)"
52+
required: false
53+
type: string
54+
default: ""
4555
mise-version:
4656
description: "mise version to install on the bare Kubernetes e2e runner"
4757
required: false
@@ -141,6 +151,8 @@ jobs:
141151
OPENSHELL_E2E_KUBE_CONTEXT: kind-${{ env.KIND_CLUSTER_NAME }}
142152
OPENSHELL_E2E_KUBE_EXTRA_VALUES: ${{ inputs.extra-helm-values }}
143153
OPENSHELL_E2E_KUBE_EXTERNAL_POSTGRES_SECRET: ${{ inputs.external-postgres-secret }}
154+
OPENSHELL_E2E_KUBE_TEST: ${{ inputs.test-name }}
155+
OPENSHELL_E2E_KUBERNETES_FEATURES: ${{ inputs.kubernetes-features }}
144156
IMAGE_TAG: ${{ inputs.image-tag }}
145157
OPENSHELL_REGISTRY: ghcr.io/nvidia/openshell
146158
E2E_TASK: ${{ inputs.e2e-task }}

0 commit comments

Comments
 (0)