Skip to content

Commit f9aac66

Browse files
committed
ci(sandbox): gate the Tier 2 stack
1 parent 5b41ec7 commit f9aac66

3 files changed

Lines changed: 32 additions & 4 deletions

File tree

.github/workflows/sandbox-fast.yml

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: Sandbox fast checks
1+
name: Sandbox Tier 2 and execution fabric
22

33
on:
44
pull_request:
5-
branches: [main]
5+
branches: [main, 'feat/sandbox-tier1-podman-ux']
66
paths:
77
- '.github/workflows/sandbox-fast.yml'
88
- 'package.json'
@@ -22,6 +22,12 @@ on:
2222
- 'tests/sandbox/**'
2323
- 'tests/skills/sandbox-testing.test.js'
2424
workflow_dispatch:
25+
inputs:
26+
run_native_tier2:
27+
description: Run the required Lume smoke on the dedicated Apple Silicon host
28+
required: true
29+
default: false
30+
type: boolean
2531

2632
permissions:
2733
contents: read
@@ -61,3 +67,25 @@ jobs:
6167
tests/sandbox/fabric-host-smoke-helpers.js
6268
tests/sandbox/fabric*.host.js
6369
tests/sandbox/fabric*.test.js
70+
71+
native-tier2:
72+
name: Required native Lume smoke
73+
if: github.event_name == 'workflow_dispatch' && inputs.run_native_tier2
74+
runs-on: [self-hosted, macOS, ARM64, ecc-sandbox-tier2]
75+
timeout-minutes: 20
76+
steps:
77+
- name: Checkout
78+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
79+
with:
80+
persist-credentials: false
81+
82+
- name: Setup Node.js
83+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
84+
with:
85+
node-version: '20.x'
86+
87+
- name: Install validation dependencies
88+
run: npm ci --ignore-scripts
89+
90+
- name: Run required Tier 2 host acceptance
91+
run: npm run test:sandbox:host:tier2:required

.github/workflows/sandbox-matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ run-name: ECC Sandbox ${{ inputs.correlation || github.event.client_payload.corr
33

44
on:
55
pull_request:
6-
branches: [main]
6+
branches: [main, 'feat/sandbox-tier1-podman-ux']
77
paths:
88
- '.github/workflows/sandbox-matrix.yml'
99
- 'package.json'

.github/workflows/sandbox-probe.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Sandbox capability probe
22

33
on:
44
pull_request:
5-
branches: [main]
5+
branches: [main, 'feat/sandbox-tier1-podman-ux']
66
paths:
77
- '.github/workflows/sandbox-probe.yml'
88
- 'package.json'

0 commit comments

Comments
 (0)