ci: preinstall ffmpeg for live media checks · openclaw/openclaw@ba0f2e9
steipete
·
2026-04-29
·
via Recent Commits to openclaw:main
File tree
.agents/skills/openclaw-testing
| Original file line number | Diff line number | Diff line change |
|---|
@@ -222,6 +222,13 @@ When `Full Release Validation` dispatches release checks, it passes the requeste
|
222 | 222 | branch/tag plus an `expected_sha` so branch/tag refs resolve through the fast |
223 | 223 | remote-ref path while the package and QA jobs still validate the exact SHA. |
224 | 224 | |
| 225 | +The full-profile native live media shards use the prebuilt |
| 226 | +`ghcr.io/openclaw/openclaw-live-media-runner:ubuntu-24.04` container so |
| 227 | +`ffmpeg`/`ffprobe` are already present. If those jobs suddenly spend minutes in |
| 228 | +dependency setup again, first check the `Live Media Runner Image` workflow and |
| 229 | +the `Verify preinstalled live media dependencies` step before assuming the media |
| 230 | +tests themselves slowed down. |
| 231 | + |
225 | 232 | The release Docker path intentionally shards the plugin/runtime tail. The |
226 | 233 | workflow uses `plugins-runtime-plugins`, `plugins-runtime-services`, and |
227 | 234 | `plugins-runtime-install-a` through `plugins-runtime-install-d`; aggregate |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +FROM ubuntu:24.04 |
| 2 | + |
| 3 | +ENV DEBIAN_FRONTEND=noninteractive |
| 4 | + |
| 5 | +RUN apt-get update \ |
| 6 | +&& apt-get install -y --no-install-recommends \ |
| 7 | + bash \ |
| 8 | + ca-certificates \ |
| 9 | + curl \ |
| 10 | + ffmpeg \ |
| 11 | + git \ |
| 12 | + openssh-client \ |
| 13 | + unzip \ |
| 14 | + xz-utils \ |
| 15 | + zstd \ |
| 16 | +&& rm -rf /var/lib/apt/lists/* |
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +name: Live Media Runner Image |
| 2 | + |
| 3 | +on: |
| 4 | +workflow_dispatch: |
| 5 | +push: |
| 6 | +branches: [main] |
| 7 | +paths: |
| 8 | + - ".github/images/live-media-runner/Dockerfile" |
| 9 | + - ".github/workflows/live-media-runner-image.yml" |
| 10 | + |
| 11 | +permissions: |
| 12 | +contents: read |
| 13 | +packages: write |
| 14 | + |
| 15 | +concurrency: |
| 16 | +group: live-media-runner-image-${{ github.ref }} |
| 17 | +cancel-in-progress: true |
| 18 | + |
| 19 | +env: |
| 20 | +FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" |
| 21 | + |
| 22 | +jobs: |
| 23 | +build: |
| 24 | +name: Build live media runner image |
| 25 | +runs-on: blacksmith-8vcpu-ubuntu-2404 |
| 26 | +timeout-minutes: 30 |
| 27 | +steps: |
| 28 | + - name: Checkout |
| 29 | +uses: actions/checkout@v6 |
| 30 | + |
| 31 | + - name: Login to GHCR |
| 32 | +uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0 |
| 33 | +with: |
| 34 | +registry: ghcr.io |
| 35 | +username: ${{ github.actor }} |
| 36 | +password: ${{ github.token }} |
| 37 | + |
| 38 | + - name: Set up Blacksmith Docker Builder |
| 39 | +uses: useblacksmith/setup-docker-builder@ac083cc84672d01c60d5e8561d0a939b697de542 # v1 |
| 40 | +with: |
| 41 | +max-cache-size-mb: 800000 |
| 42 | + |
| 43 | + - name: Build and push live media runner image |
| 44 | +uses: useblacksmith/build-push-action@cbd1f60d194a98cb3be5523b15134501eaf0fbf3 # v2 |
| 45 | +with: |
| 46 | +context: .github/images/live-media-runner |
| 47 | +file: .github/images/live-media-runner/Dockerfile |
| 48 | +platforms: linux/amd64 |
| 49 | +tags: | |
| 50 | + ghcr.io/openclaw/openclaw-live-media-runner:ubuntu-24.04 |
| 51 | + ghcr.io/openclaw/openclaw-live-media-runner:${{ github.sha }} |
| 52 | + sbom: true |
| 53 | +provenance: mode=max |
| 54 | +push: true |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。