Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

ci(os): OS image builds and VM tests run only when started by hand (#995)

autonomousdevops0264bd2cb5ee
diff --git a/.github/workflows/os-arm-boot.yml b/.github/workflows/os-arm-boot.yml
index 967eb811e..267eaf057 100644
--- a/.github/workflows/os-arm-boot.yml
+++ b/.github/workflows/os-arm-boot.yml
@@ -2,13 +2,6 @@ name: Harness OS ARM kernel acceptance
on:
workflow_dispatch:
- push:
- branches: ['os-polish/arm-boot']
- paths:
- - 'os/tests/arm_boot*'
- - 'os/tests/arm-boot.lock.json'
- - 'os/tests/runtime_native.py'
- - '.github/workflows/os-arm-boot.yml'
permissions:
contents: read
diff --git a/.github/workflows/os-arm-session.yml b/.github/workflows/os-arm-session.yml
index f066e3428..2f10bd583 100644
--- a/.github/workflows/os-arm-session.yml
+++ b/.github/workflows/os-arm-session.yml
@@ -7,17 +7,6 @@ on:
description: 'Prepare a private fixture for accelerated local acceptance; does not claim a passing VM test'
type: boolean
default: true
- push:
- branches: ['os-polish/arm-graphical']
- paths:
- - 'os/tests/arm_session*'
- - 'os/tests/test_arm_session.py'
- - 'os/tests/arm-session.lock.json'
- - 'os/tools/fedora_payload.py'
- - 'os/tools/opencode_payload.py'
- - 'os/tools/build-fedora-package.py'
- - 'os/packaging/fedora/**'
- - '.github/workflows/os-arm-session.yml'
permissions:
contents: read
@@ -68,7 +57,7 @@ jobs:
sudo chown -R "$USER:$(id -gn)" os/work/fedora-package
- name: Prepare the fresh fixture or exercise the full graphical session
env:
- PREPARE_ONLY: ${{ github.event_name == 'push' || inputs.prepare_only }}
+ PREPARE_ONLY: ${{ inputs.prepare_only }}
run: |
args=()
if [[ "$PREPARE_ONLY" == true ]]; then args+=(--prepare-only); fi
@@ -92,7 +81,7 @@ jobs:
retention-days: 14
compression-level: 6
- name: Retain the private fixture for accelerated acceptance
- if: success() && (github.event_name == 'push' || inputs.prepare_only)
+ if: success() && inputs.prepare_only
uses: actions/upload-artifact@v6
with:
name: harness-arm-session-fixture
diff --git a/.github/workflows/os-asahi-image.yml b/.github/workflows/os-asahi-image.yml
index 9c66c97d5..e64509999 100644
--- a/.github/workflows/os-asahi-image.yml
+++ b/.github/workflows/os-asahi-image.yml
@@ -11,14 +11,6 @@ on:
description: 'Exact source commit recorded in that producer run and RPM manifest'
type: string
required: true
- push:
- branches: ['os-polish/asahi-image']
- paths:
- - 'os/platforms/apple-silicon/**'
- - 'os/tools/asahi_image.py'
- - 'os/tests/asahi_image_check.py'
- - 'os/tests/test_asahi_image.py'
- - '.github/workflows/os-asahi-image.yml'
permissions:
contents: read
diff --git a/.github/workflows/os-asahi-media.yml b/.github/workflows/os-asahi-media.yml
index d1c53d300..4746553c4 100644
--- a/.github/workflows/os-asahi-media.yml
+++ b/.github/workflows/os-asahi-media.yml
@@ -11,13 +11,6 @@ on:
description: Exact image producer source commit
type: string
required: true
- push:
- branches: ['os-polish/asahi-media', 'os-polish/asahi-media-zstd']
- paths:
- - 'os/platforms/apple-silicon/**'
- - 'os/tools/asahi_media.py'
- - 'os/tests/*asahi_media*.py'
- - '.github/workflows/os-asahi-media.yml'
permissions:
contents: read
diff --git a/.github/workflows/os-footprint.yml b/.github/workflows/os-footprint.yml
index 0a2f01c4f..7d6e8b8ad 100644
--- a/.github/workflows/os-footprint.yml
+++ b/.github/workflows/os-footprint.yml
@@ -8,9 +8,6 @@ on:
type: string
default: '37207405290'
required: true
- push:
- branches: ['os-polish/footprint-audit']
- paths: ['os/tests/footprint_*.py', 'os/tests/test_footprint.py', '.github/workflows/os-footprint.yml']
permissions:
contents: read
diff --git a/.github/workflows/os-hardware.yml b/.github/workflows/os-hardware.yml
index a48bd999a..3fb9e2811 100644
--- a/.github/workflows/os-hardware.yml
+++ b/.github/workflows/os-hardware.yml
@@ -8,9 +8,6 @@ on:
type: string
default: '37142219550'
required: true
- push:
- branches: ['os-polish/hardware-*']
- paths: ['os/tests/broadcom_*.py', '.github/workflows/os-hardware.yml']
permissions:
contents: read
diff --git a/.github/workflows/os-input.yml b/.github/workflows/os-input.yml
index 6d4ad233d..5d42334a2 100644
--- a/.github/workflows/os-input.yml
+++ b/.github/workflows/os-input.yml
@@ -14,9 +14,6 @@ on:
options: [laptop-input, apple-boot, t2-boot, install-preflight, update-pane, update-context]
default: laptop-input
required: true
- push:
- branches: ['os-polish/laptop-input']
- paths: ['os/tests/input_*.py', 'os/root/usr/share/harness-os/labwc*/rc.xml', '.github/workflows/os-input.yml']
permissions:
contents: read
diff --git a/.github/workflows/os-memory.yml b/.github/workflows/os-memory.yml
index 5bc3a9fdf..69655b710 100644
--- a/.github/workflows/os-memory.yml
+++ b/.github/workflows/os-memory.yml
@@ -8,9 +8,6 @@ on:
type: string
default: '37149350400'
required: true
- push:
- branches: ['os-polish/runtime-memory']
- paths: ['os/tests/memory_*.py', '.github/workflows/os-memory.yml']
permissions:
contents: read
diff --git a/.github/workflows/os-runtime.yml b/.github/workflows/os-runtime.yml
index 7f537f918..0491d92d4 100644
--- a/.github/workflows/os-runtime.yml
+++ b/.github/workflows/os-runtime.yml
@@ -2,9 +2,6 @@ name: Harness OS native runtimes
on:
workflow_dispatch:
- push:
- branches: ['os-polish/arm-runtime']
- paths: ['os/tools/build-runtime.sh', 'os/tests/runtime_native.py', '.github/workflows/os-runtime.yml']
permissions:
contents: read
diff --git a/.github/workflows/os-t2-firmware.yml b/.github/workflows/os-t2-firmware.yml
index 271c1eccb..1f4cbfc6b 100644
--- a/.github/workflows/os-t2-firmware.yml
+++ b/.github/workflows/os-t2-firmware.yml
@@ -2,14 +2,6 @@ name: Harness OS Apple firmware preservation
on:
workflow_dispatch:
- push:
- branches: ['os-polish/t2-firmware']
- paths:
- - 'os/platforms/apple-t2/firmware_names.py'
- - 'os/tools/prepare-t2-firmware.py'
- - 'os/tests/test_t2_firmware.py'
- - 'os/tests/t2_firmware_reference.py'
- - '.github/workflows/os-t2-firmware.yml'
permissions:
contents: read
diff --git a/.github/workflows/os-t2-update.yml b/.github/workflows/os-t2-update.yml
index 1fe341f35..954025b1a 100644
--- a/.github/workflows/os-t2-update.yml
+++ b/.github/workflows/os-t2-update.yml
@@ -2,9 +2,6 @@ name: Harness OS T2 kernel update
on:
workflow_dispatch:
- push:
- branches: ['os-checks/t2-kernel-*']
- paths: ['os/**', '.github/workflows/os-t2-update.yml']
permissions:
contents: read
diff --git a/.github/workflows/os-t2.yml b/.github/workflows/os-t2.yml
index 6ee3bdb85..57a3a9747 100644
--- a/.github/workflows/os-t2.yml
+++ b/.github/workflows/os-t2.yml
@@ -7,9 +7,6 @@ on:
description: 'Reuse an exact T2 image built from this source for machine acceptance'
required: false
type: string
- push:
- branches: ['os-candidate/t2-*']
- paths: ['os/**', '.github/workflows/os-t2.yml']
permissions:
contents: read
diff --git a/.github/workflows/os.yml b/.github/workflows/os.yml
index 4c86148ec..4be1afbf6 100644
--- a/.github/workflows/os.yml
+++ b/.github/workflows/os.yml
@@ -57,9 +57,6 @@ on:
required: false
default: false
type: boolean
- push:
- branches: ['os/**']
- paths: ['os/**', 'tui/**', 'cli/**', '.github/workflows/os.yml']
permissions:
contents: read