Warm folders
Start each job with its dependencies already in place, from folders Pod CI fills ahead of time from your pod.yaml
Not available yet Bakes are built but warm folders are not handed to jobs yet, so jobs start cold.
A warm folder is a folder a job would otherwise fill on every run: a package store, a browser download, a build cache. Pod CI fills it ahead of time in a bake run, and each trusted job of the repository starts with a copy of it, so the install step finds most of its work done.
Declare them in pod.yaml
Warm folders and the recipe that fills them live in the repository's pod.yaml, the same file that describes a Pod sandbox:
version: 1
name: web-app
system: linux
setup:
run:
- corepack enable
- pnpm install --frozen-lockfile
- pnpm exec playwright install chromium
ci:
warm_folders: [.pnpm-store, .cache/ms-playwright]ci.warm_folderslists up to 8 folders, each relative to the runner's home folder,/home/runner. A path that is absolute, climbs out with.., names the home folder itself, or sits inside another listed folder is refused. The same folder written twice counts once.setupis the recipe: itspackagesare installed first, then eachrunline runs in turn, in the checkout unlessworkdirsays otherwise. The first line that fails stops the bake.
A pod.yaml that doesn't read fails the bake with the problem and its line. Nothing is published, so jobs keep the newest good copy.
When bakes run
A bake reads pod.yaml at the commit it bakes, and runs:
- after each push to the default branch,
- when the runner image changes,
- once a day,
- and the first time a repository declares warm folders.
One bake runs at a time per repository. CI › Repositories in the dashboard lists each repository's bake runs, with their logs, and the generations of warm folders they published.
What a bake can see
A bake has no runner and none of your secrets. A private repository is cloned with a token that can read only that repository, and the token is revoked before the recipe runs. The folders are published from outside the sandbox once the recipe succeeds.
Only trusted jobs get a copy: jobs that start from the repository's own code, such as a push or a pull request from a branch of the repository, and never a pull request from a fork. See Security.
What it works on
Warm folders are for Linux runners. macOS runners and Buildkite pipelines don't get them.