Skip to content
Draft
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
16 changes: 16 additions & 0 deletions .github/workflows/build-binaries-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,22 @@
timeout-minutes: 60
steps: *build_steps

podman-driver:
name: openshell-driver-podman (${{ matrix.triple }})
env:
PACKAGE: openshell-driver-podman
BINARY: openshell-driver-podman
strategy:
matrix:
include:
- triple: x86_64-unknown-linux-gnu
runner: linux-amd64-cpu8

Check failure on line 104 in .github/workflows/build-binaries-linux.yml

View workflow job for this annotation

GitHub Actions / Actionlint (informational)

label "linux-amd64-cpu8" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2025-vs2026", "windows-2022", "windows-11-arm", "ubuntu-slim", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "macos-latest", "macos-latest-xlarge", "macos-latest-large", "macos-26-intel", "macos-26-xlarge", "macos-26-large", "macos-26", "macos-15-intel", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xlarge", "macos-14-large", "macos-14", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows", "ubuntu-26.04", "windows-arm64". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
- triple: aarch64-unknown-linux-gnu
runner: linux-arm64-cpu8

Check failure on line 106 in .github/workflows/build-binaries-linux.yml

View workflow job for this annotation

GitHub Actions / Actionlint (informational)

label "linux-arm64-cpu8" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2025-vs2026", "windows-2022", "windows-11-arm", "ubuntu-slim", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "macos-latest", "macos-latest-xlarge", "macos-latest-large", "macos-26-intel", "macos-26-xlarge", "macos-26-large", "macos-26", "macos-15-intel", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xlarge", "macos-14-large", "macos-14", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows", "ubuntu-26.04", "windows-arm64". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
runs-on: ${{ matrix.runner }}
timeout-minutes: 60
steps: *build_steps

runtimes:
name: ${{ matrix.binary }} (${{ matrix.triple }})
env:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/build-rpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,16 @@ jobs:
name: openshell-prover-${{ inputs.prover-target }}
path: package-binaries/

- name: Download Podman driver artifact
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: openshell-driver-podman-${{ inputs.gateway-target }}
path: package-binaries/

- name: Configure package inputs
run: |
set -euo pipefail
chmod +x package-binaries/openshell{,-gateway,-prover}
chmod +x package-binaries/openshell{,-gateway,-prover,-driver-podman}
ls -lah package-binaries

- name: Mark workspace safe for git
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/deb-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,16 @@ jobs:
name: openshell-driver-vm-${{ matrix.gnu_target }}
path: package-binaries/

- name: Download Podman driver artifact
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: openshell-driver-podman-${{ matrix.gnu_target }}
path: package-binaries/

- name: Configure package inputs
run: |
set -euo pipefail
chmod +x package-binaries/openshell{,-gateway,-prover,-driver-vm}
chmod +x package-binaries/openshell{,-gateway,-prover,-driver-vm,-driver-podman}
ls -lah package-binaries

- name: Build Debian package
Expand All @@ -76,6 +82,7 @@ jobs:
OPENSHELL_GATEWAY_BINARY="${PWD}/package-binaries/openshell-gateway" \
OPENSHELL_PROVER_BINARY="${PWD}/package-binaries/openshell-prover" \
OPENSHELL_DRIVER_VM_BINARY="${PWD}/package-binaries/openshell-driver-vm" \
OPENSHELL_DRIVER_PODMAN_BINARY="${PWD}/package-binaries/openshell-driver-podman" \
OPENSHELL_DEB_VERSION="${INPUTS_DEB_VERSION}" \
OPENSHELL_DEB_ARCH="${{ matrix.deb_arch }}" \
OPENSHELL_OUTPUT_DIR=artifacts \
Expand Down
2 changes: 2 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ Do not rely on this file for a full inventory. The detailed public and contribut
| `crates/openshell-supervisor/` | Supervisor runtime | Gateway session, policy evaluation, credentials, and upstream networking |
| `crates/openshell-supervisor-control/` | Shared supervisor control | Gateway-owned assignment controller, launch registrations, recovery coordination, and host observations for a supervisor shared by many sandboxes |
| `crates/openshell-binary-identity/` | Binary identity | Shared trusted procfs executable identity resolution for isolation backends |
| `crates/openshell-driver-launch/` | Driver launch protocol | `GetLaunchInfo` and `Configure` services the gateway uses to configure the compute drivers it launches |
| `crates/openshell-driver-sdk/` | Driver SDK | Helpers shared by launched compute drivers: `Configure` telemetry, network trust artifact loading, parent-death handling, and `probe` and `preflight` results |
| `crates/openshell-isolation-interface/` | Isolation backend interface | Shared data and validation for the Isolation Backend RPC contracts |
| `crates/openshell-sandbox-backend/` | OpenShell sandbox backend | Concrete Isolation Backend RPC client and authenticated Sandbox Protocol shared with `openshell-sandbox` |
| `crates/openshell-policy/` | Policy engine | Filesystem, network, and process constraints |
Expand Down
43 changes: 42 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions crates/openshell-driver-launch/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

[package]
name = "openshell-driver-launch"
description = "Launch protocol between the OpenShell gateway and gateway-launched compute drivers"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
http = { workspace = true }
prost = { workspace = true }
tokio = { workspace = true, features = ["sync"] }
tonic = { workspace = true }
tonic-prost = { workspace = true }
tower = { workspace = true }

[build-dependencies]
protoc-bin-vendored = { workspace = true }
tonic-prost-build = { workspace = true }

[dev-dependencies]
tokio = { workspace = true, features = ["macros", "rt"] }
tower = { workspace = true, features = ["util"] }

[lints]
workspace = true
18 changes: 18 additions & 0 deletions crates/openshell-driver-launch/build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

fn main() -> Result<(), Box<dyn std::error::Error>> {
const PROTO: &str = "../../proto/driver_launch.proto";
println!("cargo:rerun-if-changed={PROTO}");
let mut config = tonic_prost_build::Config::new();
config.protoc_executable(protoc_bin_vendored::protoc_bin_path()?);
let includes = [
std::path::PathBuf::from("../../proto"),
protoc_bin_vendored::include_path()?,
];
tonic_prost_build::configure()
.build_server(true)
.build_client(true)
.compile_with_config(config, &[std::path::PathBuf::from(PROTO)], &includes)?;
Ok(())
}
Loading
Loading