Skip to content
Merged
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
66 changes: 66 additions & 0 deletions .github/workflows/kubernetes-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Sandbox Kubernetes Tests

on:
pull_request:
branches: [ main ]
paths:
- 'kubernetes/**'

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
GO_VERSION: '1.24'

jobs:
controller-e2e:
name: Controller E2E Tests (Kubernetes v${{ matrix.version }})
strategy:
fail-fast: false
matrix:
version: ["1.21.1", "1.22.4", "1.24.4", "1.26.4", "1.28.6", "1.30.4", "1.32.2", "1.34.2"]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6

- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}

- name: Run tests
working-directory: kubernetes
run: |
make test-e2e KIND_K8S_VERSION=v${{ matrix.version }}

test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6

- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '1.24.0'

- name: Run golint
working-directory: kubernetes
run: |
make lint

- name: Build binary
working-directory: kubernetes
run: |
make build
make task-executor-build

- name: Run tests
working-directory: kubernetes
run: |
make test
39 changes: 0 additions & 39 deletions .github/workflows/sandbox-k8s-e2e.yml

This file was deleted.

42 changes: 0 additions & 42 deletions .github/workflows/sandbox-k8s-test.yml

This file was deleted.

2 changes: 1 addition & 1 deletion kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Intelligent resource management features:

## Runtime API Support Notes

- `pause` / `resume` lifecycle APIs are currently **not supported** by the Kubernetes runtime.
- `pause` / `resume` lifecycle APIs are currently **NOT SUPPORTED** by the Kubernetes runtime.
- Calling these APIs against Kubernetes runtime returns `501 Not Implemented`.
- Pause/resume semantics in OpenSandbox mean preserving in-memory process state (container-level suspend/resume). Kubernetes provider currently focuses on create/get/list/delete/renew workflows.

Expand Down
Loading