From d76627f2325311e8e347e9135f552fa99e56fe3d Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 31 May 2026 17:30:16 +0100 Subject: [PATCH] ci: add crabbox prewarm jobs --- .crabbox.yaml | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/.crabbox.yaml b/.crabbox.yaml index d7b7f216b89f..b2a44cd44697 100644 --- a/.crabbox.yaml +++ b/.crabbox.yaml @@ -28,6 +28,21 @@ blacksmith: workflow: .github/workflows/ci-check-testbox.yml job: check ref: main +cache: + pnpm: true + npm: true + git: true + volumes: + - name: pnpm + key: openclaw-linux-node24-pnpm + path: /var/cache/crabbox/pnpm + sizeGB: 80 + required: false + - name: npm + key: openclaw-linux-node24-npm + path: /var/cache/crabbox/npm + sizeGB: 40 + required: false aws: # AWS-specific overrides still pin direct `--provider aws` runs without # leaking AWS region names into the Azure default capacity fallback list. @@ -53,3 +68,48 @@ env: ssh: user: crabbox port: "2222" +jobs: + prewarm: + provider: azure + target: linux + class: standard + market: spot + idleTimeout: 90m + hydrate: + actions: true + waitTimeout: 20m + actions: + workflow: .github/workflows/crabbox-hydrate.yml + job: hydrate + ref: main + noSync: true + shell: true + command: "true" + stop: never + changed: + provider: azure + target: linux + class: standard + market: spot + idleTimeout: 90m + hydrate: + actions: true + waitTimeout: 20m + actions: + workflow: .github/workflows/crabbox-hydrate.yml + job: hydrate + ref: main + command: env OPENCLAW_CHECK_CHANGED_REMOTE_CHILD=1 OPENCLAW_CHANGED_LANES_RAW_SYNC=1 CI=1 corepack pnpm check:changed + stop: always + testbox-changed: + provider: blacksmith-testbox + target: linux + idleTimeout: 90m + hydrate: + actions: false + actions: + workflow: .github/workflows/ci-check-testbox.yml + job: check + ref: main + command: env OPENCLAW_CHECK_CHANGED_REMOTE_CHILD=1 OPENCLAW_CHANGED_LANES_RAW_SYNC=1 CI=1 corepack pnpm check:changed + stop: always