Skip to content

Commit 467a57b

Browse files
committed
feat: update sandbox configuration to use unowebsim image and enable Docker
1 parent 3b8483d commit 467a57b

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,12 @@ jobs:
7474
run: npx playwright install --with-deps chromium
7575

7676
- name: Build Sandbox Image
77-
run: npm run build:sandbox
77+
run: |
78+
docker build -t unowebsim-sandbox:latest .
79+
docker images # Hilft beim Debuggen im Log zu sehen, ob das Image da ist
7880
7981
- name: Run E2E Tests
80-
run: npx playwright test --update-snapshots=missing --workers=2
82+
run: npx playwright test --update-snapshots=missing --workers=1
8183
- name: Commit new Linux visual baselines
8284
if: always()
8385
run: |

server/services/sandbox-runner.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ enum SimulationState {
3232
// Configuration
3333
const SANDBOX_CONFIG = {
3434
// Docker settings
35-
dockerImage: "arduino-sandbox:latest",
36-
useDocker: false, // Will be set based on availability
35+
dockerImage: "unowebsim-sandbox:latest",
36+
useDocker: true, // Will be set based on availability
3737

3838
// Resource limits
3939
maxMemoryMB: 128, // Max 128MB RAM

0 commit comments

Comments
 (0)