Skip to content

Commit 21b7b4f

Browse files
committed
Merge remote-tracking branch 'origin/feat/6-e2e/pimlock' into feat/5-core-sync/pimlock
Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
2 parents bc19798 + 2d84a6b commit 21b7b4f

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎.github/workflows/e2e.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: Apache-2.0
22

33
# Runs the E2E suite against the published gateway of a core version, started
4-
# from core's deploy/docker files (scripts/start-gateway.sh). Sandboxes
4+
# from core's deploy/docker files (scripts/e2e/start-gateway.sh). Sandboxes
55
# run the image from tests/e2e/Dockerfile.workload, which has the same Python
66
# as the client, so exec_python can unpickle what the client pickled.
77
name: e2e
@@ -45,7 +45,7 @@ jobs:
4545
set -euo pipefail
4646
version=${CORE_VERSION:-$(mise run -q core:version)}
4747
echo "Core version: $version" >>"$GITHUB_STEP_SUMMARY"
48-
scripts/start-gateway.sh "$version" --default-image openshell/e2e-python:dev
48+
scripts/e2e/start-gateway.sh "$version" --default-image openshell/e2e-python:dev
4949
5050
- name: Run the E2E suite
5151
env:
@@ -54,7 +54,7 @@ jobs:
5454

5555
- name: Stop the gateway
5656
if: always()
57-
run: scripts/stop-gateway.sh
57+
run: scripts/e2e/stop-gateway.sh
5858

5959
- name: Upload the gateway log
6060
if: failure()

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ compute driver. To run it locally, you need Docker with the compose plugin:
6363

6464
```shell
6565
mise run e2e:image
66-
scripts/start-gateway.sh "$(mise run -q core:version)" --default-image openshell/e2e-python:dev
66+
scripts/e2e/start-gateway.sh "$(mise run -q core:version)" --default-image openshell/e2e-python:dev
6767
OPENSHELL_GATEWAY=e2e mise run e2e
68-
scripts/stop-gateway.sh
68+
scripts/e2e/stop-gateway.sh
6969
```
7070

7171
`e2e:image` builds the sandbox image from `tests/e2e/Dockerfile.workload`, a

‎mise.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ docker build --file tests/e2e/Dockerfile.workload --build-arg "PYTHON_VERSION=
111111
"""
112112

113113
[tasks.e2e]
114-
description = "Run the E2E suite against the gateway named in OPENSHELL_GATEWAY (see scripts/start-gateway.sh)"
114+
description = "Run the E2E suite against the gateway named in OPENSHELL_GATEWAY (see scripts/e2e/start-gateway.sh)"
115115
depends = ["sync"]
116116
run = "uv run --frozen pytest tests/e2e -n ${E2E_PARALLEL:-5}"
117117

‎tests/e2e/conftest.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"""Fixtures for the E2E suite.
55
66
The suite runs against the gateway named in ``OPENSHELL_GATEWAY``, for example
7-
the one ``scripts/start-gateway.sh`` registers as ``e2e``. Without it,
7+
the one ``scripts/e2e/start-gateway.sh`` registers as ``e2e``. Without it,
88
every test is skipped. See ``mise run e2e``.
99
"""
1010

0 commit comments

Comments
 (0)