




















@@ -229,7 +229,7 @@ jobs:
229229needs: [resolve_target]
230230if: inputs.rerun_group == 'all'
231231runs-on: ubuntu-24.04
232-timeout-minutes: 45
232+timeout-minutes: 20
233233permissions:
234234contents: read
235235steps:
@@ -245,54 +245,11 @@ jobs:
245245DOCKER_BUILDKIT: "1"
246246run: |
247247 set -euo pipefail
248- timeout --kill-after=30s 35m docker build \
248+ timeout --kill-after=30s 15m docker build \
249249 --target runtime-assets \
250250 --build-arg OPENCLAW_EXTENSIONS="diagnostics-otel,codex" \
251251 .
252252253- - name: Build and smoke test final Docker runtime image
254-env:
255-DOCKER_BUILDKIT: "1"
256-TARGET_SHA: ${{ needs.resolve_target.outputs.sha }}
257-run: |
258- set -euo pipefail
259- image_ref="openclaw-release-runtime-smoke:${TARGET_SHA}"
260- timeout --kill-after=30s 35m docker build \
261- --build-arg OPENCLAW_EXTENSIONS="diagnostics-otel,codex" \
262- -t "${image_ref}" \
263- .
264- docker run --rm --entrypoint /bin/sh "${image_ref}" -lc '
265- set -eu
266- test -f /app/src/agents/templates/HEARTBEAT.md
267- temp_root="$(mktemp -d)"
268- trap "rm -rf \"${temp_root}\"" EXIT
269- mkdir -p "${temp_root}/home" "${temp_root}/cwd"
270- cd "${temp_root}/cwd"
271- set +e
272- HOME="${temp_root}/home" \
273- USERPROFILE="${temp_root}/home" \
274- OPENCLAW_HOME="${temp_root}/home" \
275- OPENCLAW_NO_ONBOARD=1 \
276- OPENCLAW_SUPPRESS_NOTES=1 \
277- OPENCLAW_DISABLE_BUNDLED_PLUGINS=1 \
278- OPENCLAW_DISABLE_BUNDLED_ENTRY_SOURCE_FALLBACK=1 \
279- AWS_EC2_METADATA_DISABLED=true \
280- AWS_SHARED_CREDENTIALS_FILE="${temp_root}/home/.aws/credentials" \
281- AWS_CONFIG_FILE="${temp_root}/home/.aws/config" \
282- node /app/openclaw.mjs agent --message "workspace bootstrap smoke" --session-id "workspace-bootstrap-smoke" --local --timeout 1 --json \
283- >"${temp_root}/out.log" 2>&1
284- status="$?"
285- set -e
286- if grep -F "Missing workspace template:" "${temp_root}/out.log"; then
287- cat "${temp_root}/out.log"
288- exit 1
289- fi
290- test -f "${temp_root}/home/.openclaw/workspace/HEARTBEAT.md"
291- if [ "${status}" -ne 0 ]; then
292- cat "${temp_root}/out.log"
293- fi
294- '
295-296253 normal_ci:
297254name: Run normal full CI
298255needs: [resolve_target, docker_runtime_assets_preflight]
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。