Skip to content

Commit 1391e18

Browse files
committed
fix(test): preserve shared supervisor workspace overlays
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
1 parent a2677ef commit 1391e18

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

‎.agents/skills/helm-dev-environment/SKILL.md‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,15 @@ gateway, supervisor, and sandbox images from the same branch:
8080
all three must support the routed runtime connection. `workspace` is reserved
8181
and rejected. Omit the field to disable it. `mise run
8282
e2e:kubernetes:shared-supervisor` runs the focused e2e
83-
(`ci/values-supervisor.yaml`); layer a workspace-mode overlay
84-
through `OPENSHELL_E2E_KUBE_EXTRA_VALUES` to cover managed namespaces.
83+
(`ci/values-supervisor.yaml`). The task prepends that overlay to any
84+
colon-separated `OPENSHELL_E2E_KUBE_EXTRA_VALUES` list, so layer a
85+
workspace-mode overlay to cover managed namespaces:
86+
87+
```bash
88+
OPENSHELL_E2E_KUBE_EXTRA_VALUES=deploy/helm/openshell/ci/values-workspace-managed.yaml \
89+
OPENSHELL_E2E_KUBE_IMAGE_PULL_SECRET=e2e-regcred \
90+
mise run e2e:kubernetes:shared-supervisor
91+
```
8592

8693
### 2. Deploy OpenShell
8794

‎tasks/test.toml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,9 @@ run = "e2e/rust/e2e-kubernetes.sh"
268268

269269
["e2e:kubernetes:shared-supervisor"]
270270
description = "Run Kubernetes e2e with one supervisor shared by the gateway's sandboxes (gateway supervisor topology)"
271-
env = { OPENSHELL_E2E_KUBE_EXTRA_VALUES = "deploy/helm/openshell/ci/values-supervisor.yaml", OPENSHELL_E2E_KUBE_TEST = "kubernetes_shared_supervisor", OPENSHELL_E2E_KUBERNETES_FEATURES = "e2e,e2e-host-gateway,e2e-kubernetes,e2e-kubernetes-shared-supervisor" }
272-
run = "e2e/rust/e2e-kubernetes.sh"
271+
env = { OPENSHELL_E2E_KUBE_TEST = "kubernetes_shared_supervisor", OPENSHELL_E2E_KUBERNETES_FEATURES = "e2e,e2e-host-gateway,e2e-kubernetes,e2e-kubernetes-shared-supervisor" }
272+
# Prepend the supervisor overlay to any caller overlays, such as a workspace mode.
273+
run = 'OPENSHELL_E2E_KUBE_EXTRA_VALUES="deploy/helm/openshell/ci/values-supervisor.yaml${OPENSHELL_E2E_KUBE_EXTRA_VALUES:+:$OPENSHELL_E2E_KUBE_EXTRA_VALUES}" e2e/rust/e2e-kubernetes.sh'
273274

274275
["e2e:kubernetes:workspace-operator"]
275276
description = "Run Kubernetes e2e with operator workspace mode (pre-provisioned per-workspace namespaces)"

0 commit comments

Comments
 (0)