Skip to content
Open
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
11 changes: 3 additions & 8 deletions .github/workflows/branch-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -295,14 +295,6 @@ jobs:
strategy:
matrix:
include:
- package: openshell-driver-docker
binary: openshell-driver-docker
triple: x86_64-unknown-linux-gnu
runner: ubuntu-24.04
- package: openshell-driver-podman
binary: openshell-driver-podman
triple: x86_64-unknown-linux-gnu
runner: ubuntu-24.04
- package: openshell-driver-kubernetes
binary: openshell-driver-kubernetes
triple: x86_64-unknown-linux-gnu
Expand Down Expand Up @@ -541,6 +533,7 @@ jobs:
checkout-ref: ${{ needs.pr_metadata.outputs.sha }}
prebuilt-conformance: true
image-tag: ${{ needs.pr_metadata.outputs.sha }}
external-driver-binary: openshell-driver-docker
runner: ubuntu-24.04-arm

podman-e2e:
Expand All @@ -555,6 +548,7 @@ jobs:
checkout-ref: ${{ needs.pr_metadata.outputs.sha }}
prebuilt-conformance: true
image-tag: ${{ needs.pr_metadata.outputs.sha }}
external-driver-binary: openshell-driver-podman
suite-matrix: >-
[{"suite":"ci","runner":"ubuntu-26.04","podman_major":"5","podman_package_version":"5.7.0+ds2-3build1","conmon_package_version":"2.1.13+ds1-2","cmd":"mise run --no-deps --skip-deps e2e:podman:ci"}]

Expand All @@ -570,6 +564,7 @@ jobs:
checkout-ref: ${{ needs.pr_metadata.outputs.sha }}
prebuilt-conformance: true
image-tag: ${{ needs.pr_metadata.outputs.sha }}
external-driver-binary: openshell-driver-podman
suite-matrix: >-
[{"suite":"additional-ca","runner":"ubuntu-26.04","podman_major":"5","podman_package_version":"5.7.0+ds2-3build1","conmon_package_version":"2.1.13+ds1-2","cmd":"OPENSHELL_E2E_PODMAN_TEST=additional_ca mise run --no-deps --skip-deps e2e:podman"}]

Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/build-binaries-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,38 @@ jobs:
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: ubuntu-24.04
- triple: aarch64-unknown-linux-gnu
runner: ubuntu-24.04-arm
runs-on: ${{ matrix.runner }}
timeout-minutes: 60
steps: *build_steps

docker-driver:
name: openshell-driver-docker (${{ matrix.triple }})
env:
PACKAGE: openshell-driver-docker
BINARY: openshell-driver-docker
strategy:
matrix:
include:
- triple: x86_64-unknown-linux-gnu
runner: ubuntu-24.04
- triple: aarch64-unknown-linux-gnu
runner: ubuntu-24.04-arm
runs-on: ${{ matrix.runner }}
timeout-minutes: 60
steps: *build_steps

vm-init:
name: openshell-vm-init (${{ matrix.triple }})
env:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build-binaries-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ jobs:
- package: openshell-gateway
binary: openshell-gateway
triple: aarch64-apple-darwin
- package: openshell-driver-podman
binary: openshell-driver-podman
triple: aarch64-apple-darwin
- package: openshell-driver-docker
binary: openshell-driver-docker
triple: aarch64-apple-darwin
- package: openshell-supervisor
binary: openshell-supervisor
triple: aarch64-apple-darwin
Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/build-rpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,22 @@ 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: Download Docker driver artifact
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: openshell-driver-docker-${{ 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,-driver-docker}
ls -lah package-binaries

- name: Mark workspace safe for git
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/deb-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,22 @@ 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: Download Docker driver artifact
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: openshell-driver-docker-${{ 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,-driver-docker}
ls -lah package-binaries

- name: Build Debian package
Expand All @@ -76,6 +88,8 @@ 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_DRIVER_DOCKER_BINARY="${PWD}/package-binaries/openshell-driver-docker" \
OPENSHELL_DEB_VERSION="${INPUTS_DEB_VERSION}" \
OPENSHELL_DEB_ARCH="${{ matrix.deb_arch }}" \
OPENSHELL_OUTPUT_DIR=artifacts \
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/e2e-docker-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ on:
required: false
type: boolean
default: false
external-driver-binary:
required: false
type: string
default: ""
suite-matrix:
required: false
type: string
Expand Down Expand Up @@ -74,6 +78,11 @@ jobs:
with:
artifact-name: ${{ inputs.gateway-artifact }}

- if: inputs.external-driver-binary != ''
uses: ./.github/actions/setup-e2e-driver
with:
binary: ${{ inputs.external-driver-binary }}

- uses: ./.github/actions/load-e2e-images
with:
images: sandbox supervisor
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/package-release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,24 @@ jobs:
- artifact: openshell-driver-vm-aarch64-apple-darwin
binary: openshell-driver-vm
package: driver-vm-macos
- artifact: openshell-driver-podman-x86_64-unknown-linux-gnu
binary: openshell-driver-podman
package: driver-podman-linux-amd64
- artifact: openshell-driver-docker-x86_64-unknown-linux-gnu
binary: openshell-driver-docker
package: driver-docker-linux-amd64
- artifact: openshell-driver-podman-aarch64-unknown-linux-gnu
binary: openshell-driver-podman
package: driver-podman-linux-arm64
- artifact: openshell-driver-docker-aarch64-unknown-linux-gnu
binary: openshell-driver-docker
package: driver-docker-linux-arm64
- artifact: openshell-driver-podman-aarch64-apple-darwin
binary: openshell-driver-podman
package: driver-podman-macos
- artifact: openshell-driver-docker-aarch64-apple-darwin
binary: openshell-driver-docker
package: driver-docker-macos
- artifact: openshell-prover-x86_64-unknown-linux-musl
binary: openshell-prover
package: prover-binary-linux-amd64
Expand Down
35 changes: 34 additions & 1 deletion .github/workflows/release-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ jobs:
with:
image-tag: ${{ github.sha }}
checkout-ref: ${{ github.sha }}
external-driver-binary: openshell-driver-docker
runner: ubuntu-24.04-arm

vm-e2e:
Expand Down Expand Up @@ -358,6 +359,20 @@ jobs:
path: release/
merge-multiple: true

- name: Download Podman driver artifacts
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
pattern: driver-podman-*
path: release/
merge-multiple: true

- name: Download Docker driver artifacts
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
pattern: driver-docker-*
path: release/
merge-multiple: true

- name: Download prover binary artifacts
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
Expand Down Expand Up @@ -428,6 +443,12 @@ jobs:
openshell-driver-vm-x86_64-unknown-linux-gnu.tar.gz \
openshell-driver-vm-aarch64-unknown-linux-gnu.tar.gz \
openshell-driver-vm-aarch64-apple-darwin.tar.gz \
openshell-driver-podman-x86_64-unknown-linux-gnu.tar.gz \
openshell-driver-docker-x86_64-unknown-linux-gnu.tar.gz \
openshell-driver-podman-aarch64-unknown-linux-gnu.tar.gz \
openshell-driver-docker-aarch64-unknown-linux-gnu.tar.gz \
openshell-driver-podman-aarch64-apple-darwin.tar.gz \
openshell-driver-docker-aarch64-apple-darwin.tar.gz \
*.deb \
openshell-*.rpm > openshell-checksums-sha256.txt
cat openshell-checksums-sha256.txt
Expand All @@ -454,13 +475,19 @@ jobs:
--output release/openshell.rb
cat release/openshell.rb

- name: Attest VM driver artifacts
- name: Attest driver artifacts
uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6 # v4.2.2
with:
subject-path: |
release/openshell-driver-vm-x86_64-unknown-linux-gnu.tar.gz
release/openshell-driver-vm-aarch64-unknown-linux-gnu.tar.gz
release/openshell-driver-vm-aarch64-apple-darwin.tar.gz
release/openshell-driver-podman-x86_64-unknown-linux-gnu.tar.gz
release/openshell-driver-docker-x86_64-unknown-linux-gnu.tar.gz
release/openshell-driver-podman-aarch64-unknown-linux-gnu.tar.gz
release/openshell-driver-docker-aarch64-unknown-linux-gnu.tar.gz
release/openshell-driver-podman-aarch64-apple-darwin.tar.gz
release/openshell-driver-docker-aarch64-apple-darwin.tar.gz

- name: Prune managed assets from dev release
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
Expand Down Expand Up @@ -554,6 +581,12 @@ jobs:
release/openshell-driver-vm-x86_64-unknown-linux-gnu.tar.gz
release/openshell-driver-vm-aarch64-unknown-linux-gnu.tar.gz
release/openshell-driver-vm-aarch64-apple-darwin.tar.gz
release/openshell-driver-podman-x86_64-unknown-linux-gnu.tar.gz
release/openshell-driver-docker-x86_64-unknown-linux-gnu.tar.gz
release/openshell-driver-podman-aarch64-unknown-linux-gnu.tar.gz
release/openshell-driver-docker-aarch64-unknown-linux-gnu.tar.gz
release/openshell-driver-podman-aarch64-apple-darwin.tar.gz
release/openshell-driver-docker-aarch64-apple-darwin.tar.gz
release/openshell-prover-x86_64-unknown-linux-musl.tar.gz
release/openshell-prover-aarch64-unknown-linux-musl.tar.gz
release/openshell-prover-aarch64-apple-darwin.tar.gz
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,20 @@ jobs:
path: release/
merge-multiple: true

- name: Download Podman driver artifacts
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
pattern: driver-podman-*
path: release/
merge-multiple: true

- name: Download Docker driver artifacts
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
pattern: driver-docker-*
path: release/
merge-multiple: true

- name: Download prover binary artifacts
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
Expand Down Expand Up @@ -140,6 +154,12 @@ jobs:
openshell-driver-vm-x86_64-unknown-linux-gnu.tar.gz \
openshell-driver-vm-aarch64-unknown-linux-gnu.tar.gz \
openshell-driver-vm-aarch64-apple-darwin.tar.gz \
openshell-driver-podman-x86_64-unknown-linux-gnu.tar.gz \
openshell-driver-docker-x86_64-unknown-linux-gnu.tar.gz \
openshell-driver-podman-aarch64-unknown-linux-gnu.tar.gz \
openshell-driver-docker-aarch64-unknown-linux-gnu.tar.gz \
openshell-driver-podman-aarch64-apple-darwin.tar.gz \
openshell-driver-docker-aarch64-apple-darwin.tar.gz \
openshell_*.deb \
openshell-*.rpm > openshell-checksums-sha256.txt
cat openshell-checksums-sha256.txt
Expand Down Expand Up @@ -422,6 +442,12 @@ jobs:
release/openshell-driver-vm-x86_64-unknown-linux-gnu.tar.gz
release/openshell-driver-vm-aarch64-unknown-linux-gnu.tar.gz
release/openshell-driver-vm-aarch64-apple-darwin.tar.gz
release/openshell-driver-podman-x86_64-unknown-linux-gnu.tar.gz
release/openshell-driver-docker-x86_64-unknown-linux-gnu.tar.gz
release/openshell-driver-podman-aarch64-unknown-linux-gnu.tar.gz
release/openshell-driver-docker-aarch64-unknown-linux-gnu.tar.gz
release/openshell-driver-podman-aarch64-apple-darwin.tar.gz
release/openshell-driver-docker-aarch64-apple-darwin.tar.gz
release/openshell-prover-x86_64-unknown-linux-musl.tar.gz
release/openshell-prover-aarch64-unknown-linux-musl.tar.gz
release/openshell-prover-aarch64-apple-darwin.tar.gz
Expand Down Expand Up @@ -485,6 +511,8 @@ jobs:
release/openshell-aarch64-apple-darwin.tar.gz
release/openshell-gateway-aarch64-apple-darwin.tar.gz
release/openshell-driver-vm-aarch64-apple-darwin.tar.gz
release/openshell-driver-podman-aarch64-apple-darwin.tar.gz
release/openshell-driver-docker-aarch64-apple-darwin.tar.gz
release/openshell-prover-aarch64-apple-darwin.tar.gz
release/openshell.rb
release/openshell-checksums-sha256.txt
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/snap-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ jobs:
name: openshell-gateway-${{ matrix.rust_arch }}-unknown-linux-gnu
path: prebuilt/gateway

- name: Download prebuilt Docker driver binary
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: openshell-driver-docker-${{ matrix.rust_arch }}-unknown-linux-gnu
path: prebuilt/docker-driver

- name: Download prebuilt sandbox binary
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
Expand All @@ -67,6 +73,7 @@ jobs:
chmod +x prebuilt/cli/openshell
chmod +x prebuilt/prover/openshell-prover
chmod +x prebuilt/gateway/openshell-gateway
chmod +x prebuilt/docker-driver/openshell-driver-docker
chmod +x prebuilt/sandbox/openshell-sandbox
ls -laR prebuilt/

Expand All @@ -78,6 +85,7 @@ jobs:
cp prebuilt/cli/openshell snap/prebuilt/openshell
cp prebuilt/prover/openshell-prover snap/prebuilt/openshell-prover
cp prebuilt/gateway/openshell-gateway snap/prebuilt/openshell-gateway
cp prebuilt/docker-driver/openshell-driver-docker snap/prebuilt/openshell-driver-docker
cp prebuilt/sandbox/openshell-sandbox snap/prebuilt/openshell-sandbox

cp tasks/scripts/snap-gateway-wrapper.sh snap/prebuilt/openshell-gateway-wrapper
Expand Down
6 changes: 4 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,14 @@ Do not rely on this file for a full inventory. The detailed public and contribut
| `crates/openshell-spiffe/` | SPIFFE identity types | Dependency-light SPIFFE ID mapping, claim parsing, and the sandbox identity provider interface |
| `crates/openshell-spire/` | SPIRE adapter | Gateway-owned SPIFFE Broker API client that issues and verifies stable sandbox JWT-SVIDs |
| `crates/openshell-tui/` | Terminal UI | Ratatui-based dashboard for monitoring |
| `crates/openshell-driver-launch/` | Driver launch protocol | `DriverLaunch` `GetLaunchInfo`/`Configure` service and the `Deferred` wrapper for launched compute drivers |
| `crates/openshell-driver-sdk/` | Launched-driver SDK | Stdin table reader, start-up exit codes, staged network-trust loader, telemetry and admission conversion, and gateway context |
| `crates/openshell-driver-kubernetes-secrets/` | Kubernetes Secrets credential driver | In-process `CredentialDriver` backend for OpenShell-managed K8s Secret storage |
| `crates/openshell-driver-vault/` | Vault credential driver | In-process `CredentialDriver` backend for Vault-compatible KV storage |
| `crates/openshell-driver-db-credstore/` | Database credential driver | In-process `CredentialDriver` backend for gateway database credential storage |
| `crates/openshell-driver-kubernetes/` | Kubernetes compute driver | In-process `ComputeDriver` backend for K8s sandbox pods |
| `crates/openshell-driver-docker/` | Docker compute driver | In-process `ComputeDriver` backend for local Docker sandbox containers |
| `crates/openshell-driver-podman/` | Podman compute driver | In-process `ComputeDriver` backend for local Podman sandbox containers |
| `crates/openshell-driver-docker/` | Docker compute driver | Gateway-launched `ComputeDriver` subprocess for local Docker sandbox containers |
| `crates/openshell-driver-podman/` | Podman compute driver | Gateway-launched `ComputeDriver` subprocess for local Podman sandbox containers |
| `crates/openshell-driver-vm/` | VM compute driver | Standalone libkrun-backed `ComputeDriver` subprocess (embeds its own rootfs + runtime) |
| [`crates/openshell-driver-mxc/`](https://github.com/ai-openshell/openshell/tree/windows/crates/openshell-driver-mxc) (`windows` branch) | Microsoft MXC compute driver | Native Windows ProcessContainer backend; see the Windows branch for the maintained implementation |
| [`crates/openshell-mxc-boundary/`](https://github.com/ai-openshell/openshell/tree/windows/crates/openshell-mxc-boundary) (`windows` branch) | Windows sandbox boundary | Dedicated Windows workload boundary paired with the host supervisor |
Expand Down
Loading
Loading