Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
74 changes: 39 additions & 35 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3223,7 +3223,6 @@ jobs:
E2E_ARTIFACT_DIR: ${{ github.workspace }}/e2e-artifacts/live/openshell-gateway-auth-contract
NEMOCLAW_RUN_LIVE_E2E: "1"
NEMOCLAW_NON_INTERACTIVE: "1"
NEMOCLAW_OPENSHELL_PIN_VERSION: "0.0.101"
DOCKER_GRPC_PROBE_IMAGE: "node:22-trixie-slim@sha256:db8a96a63e5264607ada2d206758876ebbed6a12be2ada7517793cbfb0c2a29c"
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand All @@ -3244,13 +3243,25 @@ jobs:
with:
provenance-json: ${{ needs.generate-matrix.outputs.cli_artifact_provenance }}

- id: openshell_qualification
name: Select OpenShell qualification release
run: node --experimental-strip-types --no-warnings tools/e2e/openshell-qualification.mts select "$GITHUB_OUTPUT"

- name: Install OpenShell CLI
env:
NEMOCLAW_OPENSHELL_FORCE_INSTALL: "1"
NEMOCLAW_OPENSHELL_MAX_VERSION: ${{ steps.openshell_qualification.outputs.version }}
NEMOCLAW_OPENSHELL_MIN_VERSION: ${{ steps.openshell_qualification.outputs.version }}
NEMOCLAW_OPENSHELL_PIN_VERSION: ${{ steps.openshell_qualification.outputs.version }}
run: env -u DOCKER_CONFIG -u DOCKERHUB_USERNAME -u DOCKERHUB_TOKEN -u NVIDIA_API_KEY -u NVIDIA_INFERENCE_API_KEY -u GITHUB_TOKEN bash scripts/install-openshell.sh

- name: Pre-pull pinned gateway auth probe image
run: docker pull "$DOCKER_GRPC_PROBE_IMAGE"

- name: Run OpenShell gateway auth contract live test
env:
NEMOCLAW_CANDIDATE_VERSION: ${{ steps.openshell_qualification.outputs.version }}
NEMOCLAW_OPENSHELL_PIN_VERSION: ${{ steps.openshell_qualification.outputs.version }}
run: |
set -euo pipefail
export PATH="$HOME/.local/bin:$HOME/.npm-global/bin:$PATH"
Expand Down Expand Up @@ -3308,7 +3319,6 @@ jobs:
NEMOCLAW_OPENSHELL_CHANNEL: stable
NEMOCLAW_OPENSHELL_EXACT_MAIN_PROOF: "1"
NEMOCLAW_RUN_LIVE_E2E: "1"
OPENSHELL_DOCKER_SUPERVISOR_IMAGE: ghcr.io/nvidia/openshell/supervisor@sha256:b58be5e40c788977ffa0e8305a8cad9c656efdf1a3fe182582a00ca870bb0edb
steps:
- id: trusted_hermes_swap
name: Provision trusted Hermes E2E swap
Expand Down Expand Up @@ -3550,28 +3560,25 @@ jobs:
- name: Generate MCP test TLS
run: bash test/e2e/setup-mcp-test-tls.sh

- id: openshell_qualification
name: Select OpenShell qualification release
run: node --experimental-strip-types --no-warnings tools/e2e/openshell-qualification.mts select "$GITHUB_OUTPUT"

- name: Install OpenShell CLI
env:
NEMOCLAW_OPENSHELL_FORCE_INSTALL: "1"
run: |
set -euo pipefail
bash scripts/install-openshell.sh
if [[ "$NEMOCLAW_MCP_BRIDGE_AGENT" == "deepagents" ]]; then
mkdir -p "$E2E_ARTIFACT_DIR/mcp-bridge-deepagents"
jq -n '{
schemaVersion: 1,
sourceRepository: "NVIDIA/OpenShell",
releaseTag: "v0.0.101",
sourceSha: "8ddd98c3dff62619a3963f99ba1e055b67650e72",
artifacts: {
cli: {binarySha256: "1ad48efd5e1de8f3f017a81b3a7177872f350343a1a8d8074c7e844bca4801e9"},
gateway: {binarySha256: "a6a5d754605a2144b148637b85a09291d2eeb77e08a4ee34b83685c6920448f5"},
standaloneSandbox: {binarySha256: "a2704babbb468fd0a359bfdd9844de71095b730758541b4ca8cbab77d4018920"}
}
}' > "$E2E_ARTIFACT_DIR/mcp-bridge-deepagents/openshell-exact-main-provenance.json"
fi
NEMOCLAW_OPENSHELL_MAX_VERSION: ${{ steps.openshell_qualification.outputs.version }}
NEMOCLAW_OPENSHELL_MIN_VERSION: ${{ steps.openshell_qualification.outputs.version }}
NEMOCLAW_OPENSHELL_PIN_VERSION: ${{ steps.openshell_qualification.outputs.version }}
run: env -u DOCKER_CONFIG -u DOCKERHUB_USERNAME -u DOCKERHUB_TOKEN -u NVIDIA_API_KEY -u NVIDIA_INFERENCE_API_KEY -u GITHUB_TOKEN bash scripts/install-openshell.sh

- name: Write OpenShell provenance
if: ${{ matrix.agent == 'deepagents' }}
run: node --experimental-strip-types --no-warnings tools/e2e/openshell-qualification.mts provenance "$E2E_ARTIFACT_DIR/mcp-bridge-deepagents/openshell-exact-main-provenance.json"

- name: Run MCP OpenShell provider live test
env:
OPENSHELL_DOCKER_SUPERVISOR_IMAGE: ${{ steps.openshell_qualification.outputs.supervisor_image }}
run: |
set -euo pipefail
export PATH="$HOME/.local/bin:$HOME/.npm-global/bin:$PATH"
Expand Down Expand Up @@ -3630,7 +3637,6 @@ jobs:
NEMOCLAW_OPENSHELL_CHANNEL: stable
NEMOCLAW_OPENSHELL_EXACT_MAIN_PROOF: "1"
NEMOCLAW_RUN_LIVE_E2E: "1"
OPENSHELL_DOCKER_SUPERVISOR_IMAGE: ghcr.io/nvidia/openshell/supervisor@sha256:b58be5e40c788977ffa0e8305a8cad9c656efdf1a3fe182582a00ca870bb0edb
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
Expand Down Expand Up @@ -3672,26 +3678,24 @@ jobs:
- name: Generate MCP test TLS
run: bash test/e2e/setup-mcp-test-tls.sh

- id: openshell_qualification
name: Select OpenShell qualification release
run: node --experimental-strip-types --no-warnings tools/e2e/openshell-qualification.mts select "$GITHUB_OUTPUT"

- name: Install OpenShell CLI
env:
NEMOCLAW_OPENSHELL_FORCE_INSTALL: "1"
run: |
set -euo pipefail
bash scripts/install-openshell.sh
mkdir -p "$E2E_ARTIFACT_DIR/openshell-credential-generation-window"
jq -n '{
schemaVersion: 1,
sourceRepository: "NVIDIA/OpenShell",
releaseTag: "v0.0.101",
sourceSha: "8ddd98c3dff62619a3963f99ba1e055b67650e72",
artifacts: {
cli: {binarySha256: "1ad48efd5e1de8f3f017a81b3a7177872f350343a1a8d8074c7e844bca4801e9"},
gateway: {binarySha256: "a6a5d754605a2144b148637b85a09291d2eeb77e08a4ee34b83685c6920448f5"},
standaloneSandbox: {binarySha256: "a2704babbb468fd0a359bfdd9844de71095b730758541b4ca8cbab77d4018920"}
}
}' > "$E2E_ARTIFACT_DIR/openshell-credential-generation-window/openshell-exact-main-provenance.json"
NEMOCLAW_OPENSHELL_MAX_VERSION: ${{ steps.openshell_qualification.outputs.version }}
NEMOCLAW_OPENSHELL_MIN_VERSION: ${{ steps.openshell_qualification.outputs.version }}
NEMOCLAW_OPENSHELL_PIN_VERSION: ${{ steps.openshell_qualification.outputs.version }}
run: env -u DOCKER_CONFIG -u DOCKERHUB_USERNAME -u DOCKERHUB_TOKEN -u NVIDIA_API_KEY -u NVIDIA_INFERENCE_API_KEY -u GITHUB_TOKEN bash scripts/install-openshell.sh

- name: Write OpenShell provenance
run: node --experimental-strip-types --no-warnings tools/e2e/openshell-qualification.mts provenance "$E2E_ARTIFACT_DIR/openshell-credential-generation-window/openshell-exact-main-provenance.json"

- name: Run OpenShell credential generation-window live test
env:
OPENSHELL_DOCKER_SUPERVISOR_IMAGE: ${{ steps.openshell_qualification.outputs.supervisor_image }}
run: |
set -euo pipefail
export PATH="$HOME/.local/bin:$HOME/.npm-global/bin:$PATH"
Expand Down
Loading
Loading