Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
9c353a4
test(gateway): install config preflight fixtures by rename
elezar Nov 24, 2026
1f9d913
refactor(vm): move the driver's socket and peer checks into a module
elezar Nov 24, 2026
7daa0d8
refactor(server): hold a managed driver's process in an enum
elezar Nov 24, 2026
25b5127
feat(otel): enable driver trace export after tracing is installed
elezar Nov 24, 2026
18c2b66
feat(drivers): add the driver launch protocol
elezar Nov 24, 2026
6c1adff
feat(drivers): add a shared SDK for launched compute drivers
elezar Nov 24, 2026
5ea5ae0
feat(vm): serve the launch protocol and read its table from stdin
elezar Nov 24, 2026
c1fbcc3
feat(server): expose a launched driver's table, process state, and dr…
elezar Nov 24, 2026
cf3ccbf
feat(gateway): launch the VM driver with serve and Configure
elezar Nov 24, 2026
a4443d9
feat(server): detect drivers with their own table and keep the one th…
elezar Nov 24, 2026
7459cfd
feat(podman): serve the launch protocol and read its table from stdin
elezar Nov 24, 2026
98f921e
feat(gateway): launch the Podman driver as a subprocess
elezar Nov 24, 2026
01b1249
feat(docker): serve the launch protocol and read its table from stdin
elezar Nov 24, 2026
5acf368
feat(gateway): launch the Docker driver as a subprocess
elezar Nov 24, 2026
9726b68
feat(gateway): ship the Docker and Podman drivers in the gateway image
elezar Nov 24, 2026
6a217ec
feat(drivers): release a launched driver before it stops
elezar Nov 25, 2026
980f828
feat(gateway): bound a driver's Configure by the image preparation bu…
elezar Nov 25, 2026
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
30 changes: 25 additions & 5 deletions .github/actions/build-docker-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ inputs:
binary:
description: Binary staged in the Docker build context
required: true
extra-pattern:
description: Glob of further binary artifact names staged in the Docker build context, without the architecture and target suffix
default: ""
target-suffix:
description: Binary artifact target suffix
required: true
Expand Down Expand Up @@ -49,13 +52,30 @@ runs:
name: ${{ inputs.binary }}-aarch64-${{ inputs.target-suffix }}
path: artifact/arm64

- name: Stage ${{ inputs.binary }}
- name: Download amd64 ${{ inputs.extra-pattern }}
if: inputs.extra-pattern != ''
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
pattern: ${{ inputs.extra-pattern }}-x86_64-${{ inputs.target-suffix }}
merge-multiple: true
path: artifact/amd64

- name: Download arm64 ${{ inputs.extra-pattern }}
if: inputs.extra-pattern != ''
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
pattern: ${{ inputs.extra-pattern }}-aarch64-${{ inputs.target-suffix }}
merge-multiple: true
path: artifact/arm64

- name: Stage binaries
shell: bash
env:
BINARY: ${{ inputs.binary }}
run: |
install -Dm0755 artifact/amd64/${BINARY} deploy/docker/.build/prebuilt-binaries/amd64/${BINARY}
install -Dm0755 artifact/arm64/${BINARY} deploy/docker/.build/prebuilt-binaries/arm64/${BINARY}
for arch in amd64 arm64; do
for file in artifact/${arch}/*; do
install -Dm0755 "${file}" "deploy/docker/.build/prebuilt-binaries/${arch}/$(basename "${file}")"
done
done
- name: Build ${{ inputs.component }} image
shell: bash
Expand Down
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
3 changes: 3 additions & 0 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
env:
COMPONENT: gateway
BINARY: openshell-gateway
# The gateway image carries the Docker and Podman drivers it launches.
EXTRA_PATTERN: openshell-driver-{docker,podman}
TARGET_SUFFIX: unknown-linux-gnu
runs-on: ubuntu-24.04
timeout-minutes: 20
Expand All @@ -42,6 +44,7 @@ jobs:
with:
component: ${{ env.COMPONENT }}
binary: ${{ env.BINARY }}
extra-pattern: ${{ env.EXTRA_PATTERN }}
target-suffix: ${{ env.TARGET_SUFFIX }}
image-tag: ${{ inputs.image-tag || github.sha }}
push: ${{ inputs.push-images }}
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
Loading
Loading