Repository navigation
Conversation
…nner Times pulling the Zephyr ci-base, ci and ci-repo-cache images on a plain runner, and the startup, `west init` and `west update` of a job running inside ci-repo-cache. Added to `IGNORE_BOARD` so the PR does not trigger a board build. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
… experiment-container-pull # Conflicts: # tools/ci_set_matrix.py
|
Claude wrote this: Results from run 35415684574, on a fresh
Inside the repo-cache container, Today's zephyr-cp setup step is about 176 s (west update 68 s, pip 44 s, SDK cache restore 18 s, apt ~30 s). The cheapest container costs 119 s before the first step and still needs the module fetch and the pip install, so it is no faster, and the image that holds the modules is two to four times slower. Containers would only pay on self-hosted runners with a warm image store. Same conclusion as #10885, which also covers the mount-shadowing problem with submodule and west directories and the image maintenance cost. Closing; not for merging. |
Claude wrote this, for @dhalbert. Not for merging.
Measures what a container-based zephyr-cp job would pay on a hosted runner, to compare with today's ~3 minute setup step (west update 68 s, pip 44 s, SDK cache restore 18 s, apt ~30 s):
pull-times: pullsghcr.io/zephyrproject-rtos/ci-base,ciandci-repo-cacheat the tag our Zephyr revision's own CI uses, and prints the times and image sizes.inside-repo-cache-container: runs insideci-repo-cache. Its "Initialize containers" step is the pull-and-start cost a real container job pays before its first step; the job then timeswest initandwest updateagainst the image's repo cache.The workflow only triggers on changes to itself, and it is added to
IGNORE_BOARDinci_set_matrix.pyso this PR builds no boards.