Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
2fc3f15
Add container workspaces through the shared SAW lifecycle
pmatouse Nov 6, 2026
920b51d
Enforce workspace Pod admission and isolate portal credentials and ap…
pmatouse Nov 8, 2026
9040501
Recover interrupted workspace operations and isolate projection failures
pmatouse Nov 8, 2026
373bf78
Fix supported clean installation and workspace registration across al…
pmatouse Nov 10, 2026
c064696
Add Kata workspaces to the shared Kubernetes deployment path
pmatouse Nov 11, 2026
c3e3336
fix(kata): pin NemoClaw profile images
Hadar301 Nov 11, 2026
186db54
fix(kata): sync pinned images to catalogs
Hadar301 Nov 11, 2026
fca6362
fix(kata): allow BIOS workers with KVM
Hadar301 Nov 11, 2026
cc38675
test(installer): round-trip binary archive files
Hadar301 Nov 12, 2026
14eb326
fix(runtime): allow Brave search provider
Hadar301 Nov 12, 2026
485d94e
feat(rhdh): enable owner-approved Kata mode
Hadar301 Nov 12, 2026
8fe2350
feat(rhdh): load site approvals from Secret
Hadar301 Nov 12, 2026
d5e5994
Merge upstream main into container workspaces for OpenShell v0.1.6
pmatouse Nov 12, 2026
361bdf4
Align browser and confinement tests with the merged profile and share…
pmatouse Nov 12, 2026
4b5d5df
Merge remote-tracking branch 'upstream/pr-153' into codex/kata-mode
Hadar301 Nov 12, 2026
f4a5e7f
docs(kata): record OSC setup steps
Hadar301 Nov 12, 2026
510b83e
fix(portal): retain status reader access
Hadar301 Nov 15, 2026
118b4cf
fix(kata): use mTLS operator access
Hadar301 Nov 15, 2026
12c85a6
fix(cluster): pin test governance image
Hadar301 Nov 15, 2026
fcfcdf6
fix(kata): align OpenShell 0.1.6 images
Hadar301 Nov 15, 2026
e9f5250
fix(kata): compile pinned gateway version
Hadar301 Nov 15, 2026
18e84c6
fix(kata): allow supervisor service admission
Hadar301 Nov 15, 2026
0f1463f
fix(kata): allow longer startup windows
Hadar301 Nov 15, 2026
1f7b526
fix(kata): move timeouts to gateway env
Hadar301 Nov 15, 2026
d9c2164
fix(runtime): expose safe failure reasons
Hadar301 Nov 15, 2026
adeea57
feat(kata): gate workspace provisioning
Hadar301 Nov 16, 2026
d315e98
test: update container preflight fixture
Hadar301 Nov 16, 2026
18919a0
fix(rhdh): grant kata preflight access
Hadar301 Nov 16, 2026
3b6d5b9
fix(preflight): report Kata placement mismatches
Hadar301 Nov 16, 2026
26328a9
fix(preflight): discover built-in admission APIs
Hadar301 Nov 16, 2026
c5b57b9
fix(runtime): read gateway CA through API
Hadar301 Nov 16, 2026
e902579
fix(enrollment): read CA from control namespace
Hadar301 Nov 16, 2026
0c65f1e
fix(enrollment): log safe API error paths
Hadar301 Nov 16, 2026
ff765bc
fix(enrollment): correct GET content type
Hadar301 Nov 16, 2026
d13c6db
fix(preflight): block stale boundary approvals
Hadar301 Nov 17, 2026
9c3c254
feat(gitops): gate Kata workspace projection
Hadar301 Nov 17, 2026
e1a7b8b
fix(kata): allow stock supervisor TLS name
Hadar301 Nov 17, 2026
170626b
fix(kata): allow stock gateway name
Hadar301 Nov 17, 2026
cbc192e
fix(kata): grant gateway policy access
Hadar301 Nov 17, 2026
20a175a
fix(kata): gate inaccessible notebook image
Hadar301 Nov 17, 2026
88055f3
docs(kata): record canary and approval coupling
Hadar301 Nov 17, 2026
5760c19
chore: merge latest main into Kata branch
Hadar301 Nov 17, 2026
60c6c28
fix(saw): unblock documented setup
Hadar301 Nov 18, 2026
75f6b88
test(saw): cover generated provider policy
Hadar301 Nov 18, 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
9 changes: 3 additions & 6 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#!/usr/bin/env bash
# Regenerate the RHDH form, the profile catalogs and the installer's mirror
# of the governance provider profiles when a profile (or the generator) is
# part of the commit, and add them to the commit, so adding a profile is only
# adding its directory under charts/saw-bom/profiles/ (or its file under
# charts/governance-policy/profiles/).
# Regenerate the forms/catalogs and canonical source mirrors when an input
# changes. RHDH and standalone installation package the same workspace projection.
#
# Enable once per clone with: make git-hooks
# (Portable to macOS's bash 3.2: no mapfile, no associative arrays.)
Expand All @@ -12,7 +9,7 @@ set -euo pipefail
# Capture first: `git diff | grep -q` under pipefail can fail with SIGPIPE
# when grep stops reading early, which would skip the regeneration.
staged=$(git diff --cached --name-only)
if ! grep -qE '^(charts/saw-bom/profiles/|charts/governance-policy/profiles/|scripts/saw-profile-catalog\.py$)' <<<"$staged"; then
if ! grep -qE '^(charts/saw-bom/profiles/|charts/governance-policy/profiles/|charts/openshell-saw/files/provider-profiles/|charts/openshell-saw/files/installer/saw_ui_limit\.py$|charts/saw-workspace-relay/files/saw_ui_limit\.py$|charts/openshell-saw/templates/_governed-proxy-policy\.tpl$|charts/saw-users/files/workspace\.py$|charts/openshell-keycloak/files/saw_keycloak_admin\.py$|scripts/saw-profile-catalog\.py$)' <<<"$staged"; then
exit 0
fi

Expand Down
18 changes: 13 additions & 5 deletions .github/workflows/build-governance-interceptor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ on:

permissions:
contents: read
packages: write

concurrency:
group: build-governance-interceptor-${{ github.ref }}
Expand All @@ -32,7 +31,8 @@ jobs:
# One native build per architecture (no QEMU), each pushed by digest; the
# merge job joins them into one multi-arch :latest / :sha-<commit> tag.
build:
strategy:
if: github.event_name == 'pull_request' || github.ref != 'refs/heads/main'
strategy: &platforms
# Each architecture reports its own result; merge still needs both.
fail-fast: false
matrix:
Expand All @@ -43,7 +43,7 @@ jobs:
runner: ubuntu-24.04-arm
runs-on: ${{ matrix.runner }}

steps:
steps: &build_steps
- uses: actions/checkout@v4

- name: Read build parameters from values.yaml
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
# the interceptor must match the SAW gateways' OpenShell release.
extra_tag: ${{ steps.params.outputs.openshell_ref }}
platform: ${{ matrix.platform }}
registry_token: ${{ secrets.GITHUB_TOKEN }}
registry_token: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/main' && secrets.GITHUB_TOKEN || '' }}

# Compile the OpenShift build source too, including its behavioral
# tests, on each architecture. This targets the builder stage; no
Expand Down Expand Up @@ -120,8 +120,16 @@ jobs:
cache-to: type=gha,mode=max,scope=governance-interceptor-openshift-${{ matrix.runner }},ignore-error=true
provenance: false

publish:
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
permissions: {contents: read, packages: write}
strategy: *platforms
runs-on: ${{ matrix.runner }}
steps: *build_steps

merge:
needs: build
needs: publish
permissions: {contents: read, packages: write}
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
Expand Down
79 changes: 79 additions & 0 deletions .github/workflows/build-kubernetes-runtime.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: Build Kubernetes workspace runtime image

on:
push:
branches: [main]
paths:
- kubernetes-runtime/**
- charts/openshell-saw/files/installer/saw_core.py
- charts/openshell-saw/files/installer/saw_admin.py
- charts/openshell-saw/files/installer/tool-*.mjs
- charts/openshell-saw/files/installer/tool-actions.yaml
- charts/openshell-saw/files/provider-profiles/**
- charts/saw-users/files/workspace.py
- .github/workflows/build-kubernetes-runtime.yml
- .github/actions/build-push-image/**
- .github/actions/merge-image/**
- .github/actions/verify-public-image/**
pull_request:
paths:
- kubernetes-runtime/**
- charts/openshell-saw/files/installer/saw_core.py
- charts/openshell-saw/files/installer/saw_admin.py
- charts/openshell-saw/files/installer/tool-*.mjs
- charts/openshell-saw/files/installer/tool-actions.yaml
- charts/openshell-saw/files/provider-profiles/**
- charts/saw-users/files/workspace.py
- .github/workflows/build-kubernetes-runtime.yml
- .github/actions/build-push-image/**
- .github/actions/merge-image/**
- .github/actions/verify-public-image/**
workflow_dispatch:

permissions:
contents: read

concurrency:
group: build-kubernetes-runtime-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
if: github.event_name == 'pull_request' || github.ref != 'refs/heads/main'
strategy: &platforms
fail-fast: false
matrix:
include:
- platform: linux/amd64
runner: ubuntu-latest
- platform: linux/arm64
runner: ubuntu-24.04-arm
runs-on: ${{ matrix.runner }}
steps: &build_steps
- uses: actions/checkout@v4
- uses: ./.github/actions/build-push-image
with:
image_name: saw-kubernetes-runtime
context: .
dockerfile: kubernetes-runtime/Containerfile
cache_scope: saw-kubernetes-runtime
platform: ${{ matrix.platform }}
registry_token: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/main' && secrets.GITHUB_TOKEN || '' }}
publish:
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
permissions: {contents: read, packages: write}
strategy: *platforms
runs-on: ${{ matrix.runner }}
steps: *build_steps

merge:
needs: publish
permissions: {contents: read, packages: write}
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/merge-image
with:
image_name: saw-kubernetes-runtime
registry_token: ${{ secrets.GITHUB_TOKEN }}
39 changes: 39 additions & 0 deletions .github/workflows/installer-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,27 @@ jobs:
mkdir -p test-results
set -o pipefail
make lint-static 2>&1 | tee test-results/lint.log
- name: Compiler and governance admission contract
env:
SAW_REQUIRE_RUST_TESTS: "1"
run: |
set -euo pipefail
cargo --version
scratch=$(mktemp -d)
trap 'rm -rf "$scratch"' EXIT
mkdir "$scratch/src"
touch "$scratch/src/lib.rs"
cat > "$scratch/Cargo.toml" <<'EOF'
[package]
name = "saw-guard-test-dependencies"
version = "0.1.0"
edition = "2021"
[dependencies]
serde_json = "1"
EOF
cargo fetch --manifest-path "$scratch/Cargo.toml"
python -m pytest -q tests/kubernetes_runtime/test_governance_contract.py \
tests/charts/test_governance_interceptor_image.py::test_exact_embedded_guard_behavior
- name: External tool and static asset tests
run: |
mkdir -p test-results
Expand Down Expand Up @@ -107,6 +128,24 @@ jobs:
version: v3.17.3
- name: Install test dependencies
run: python -m pip install -r tests/requirements.txt -e ./cli
- name: Check out the pinned stock OpenShell SDK
if: matrix.python == '3.12'
uses: actions/checkout@v4
with:
repository: opendatahub-io/openshell
ref: 305c8b3d7bbdb97a6f2f7264c3ad43b0087c307f
path: .stock-openshell
persist-credentials: false
sparse-checkout: |
proto
python/openshell
tasks/scripts
- name: Stock protobuf wire and runtime recovery contracts
if: matrix.python == '3.12'
run: |
python -m pip install grpcio-tools==1.80.0 grpcio==1.80.0 protobuf==6.33.5 googleapis-common-protos==1.76.0 httpx==0.28.1
mv .stock-openshell "$RUNNER_TEMP/saw-stock-openshell"
python kubernetes-runtime/test-stock-protobuf.py --openshell-source "$RUNNER_TEMP/saw-stock-openshell"
- name: Python behavior and integration tests
run: |
mkdir -p test-results
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/profile-catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,34 @@ on:
paths:
- "charts/saw-bom/profiles/**"
- "charts/governance-policy/profiles/**"
- "charts/openshell-saw/templates/_governed-proxy-policy.tpl"
- "charts/openshell-saw/files/provider-profiles/**"
- "charts/openshell-saw/files/installer/saw_ui_limit.py"
- "charts/saw-workspace-relay/files/saw_ui_limit.py"
- "charts/openshell-keycloak/files/saw_keycloak_admin.py"
- "charts/openshell-rhdh/files/saw_keycloak_admin.py"
- "charts/saw-users/files/workspace.py"
- "charts/openshell-rhdh/files/workspace.py"
- "scripts/saw-profile-catalog.py"
- "charts/saw-users/files/profile-catalog.json"
- "charts/saw-users/files/governed-profiles.json"
- "charts/saw-users/templates/_governed-proxy-policy.tpl"
- "charts/openshell-rhdh/files/profile-catalog.json"
- "charts/openshell-rhdh/files/create-workspace*.yaml"
- "charts/openshell-rhdh/files/delete-workspace*.yaml"
push:
branches: [main]
paths:
- "charts/governance-policy/profiles/**"
- "charts/openshell-saw/files/provider-profiles/**"
- "charts/openshell-saw/files/installer/saw_ui_limit.py"
- "charts/saw-workspace-relay/files/saw_ui_limit.py"
- "charts/openshell-saw/templates/_governed-proxy-policy.tpl"
- "charts/saw-bom/profiles/**"
- "charts/openshell-keycloak/files/saw_keycloak_admin.py"
- "charts/openshell-rhdh/files/saw_keycloak_admin.py"
- "charts/saw-users/files/workspace.py"
- "charts/openshell-rhdh/files/workspace.py"
- "scripts/saw-profile-catalog.py"
workflow_dispatch:

Expand Down
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,10 @@ include Makefile-quickstart
# the VM disks (they set no storageClassName). Interactive on a TTY; offers to
# reuse an existing class or enable HPP. See scripts/storage-class-check.sh.
pattern-install: storage-class-check

# Bootstrap stock GitOps before the framework selects its Argo CD namespace.
.PHONY: prepare-gitops
prepare-gitops:
@$(ANSIBLE_RUN) ansible/playbooks/saw-gitops-bootstrap.yaml

pattern-install operator-deploy: prepare-gitops
Loading
Loading