You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Document dispatch filters and fix pr workflow exit code
- Update image-version input descriptions to note the automatic v
prefix strip.
- Fix swallowed exit code in bakery-build-pr.yml (same echo+subshell
pattern as the build workflows).
- Add image-version and dev-stream to both input tables in CI.md.
- Add "Dispatched version doesn't match bakery" to CLAUDE.md CI
failure modes.
| `version` | No | `main` | The version of Posit Bakery to use. Can be a specific version (e.g., `0.1.0`) or a branch name (e.g., `main`). |
119
+
| `context` | No | `.` | The path to the Bakery project root. |
120
+
| `dev-versions` | No | `include` | Whether to include development versions in the build. Options are `include`, `exclude`, and `only`. |
121
+
| `image-version` | No | (empty) | Filter to a specific image version. A leading `v` is stripped automatically. When set and no version matches, the matrix step fails. |
122
+
| `dev-stream` | No | (empty) | Filter dev versions to a specific release stream (e.g. `daily`, `preview`). |
123
+
| `push` | No | `false` | Whether to push built images to the registry. |
124
+
| `runs-on` | No | `ubuntu-latest` | The type of runner to use for the build jobs. |
123
125
124
126
#### Workflow Steps
125
127
@@ -240,6 +242,8 @@ jobs:
240
242
| `version` | No | `main` | The version of Posit Bakery to use. Can be a specific version (e.g., `0.1.0`) or a branch name (e.g., `main`). |
241
243
| `context` | No | `.` | The path to the Bakery project root. |
242
244
| `dev-versions` | No | `include` | Whether to include development versions in the build. Options are `include`, `exclude`, and `only`. |
245
+
| `image-version` | No | (empty) | Filter to a specific image version. A leading `v` is stripped automatically. When set and no version matches, the matrix step fails. |
246
+
| `dev-stream` | No | (empty) | Filter dev versions to a specific release stream (e.g. `daily`, `preview`). |
243
247
| `push` | No | `false` | Whether to push built images to the registry. |
244
248
| `runs-on` | No | `ubuntu-latest` | The type of runner to use for non-build jobs. |
245
249
| `amd64-builder` | No | `ubuntu-latest-4x` | The type of runner to use for amd64 build jobs. |
-**Stale UV base image cache** — The Python build stage uses `ghcr.io/astral-sh/uv:debian-slim` as its base image. Docker layer caching may preserve an older UV version that doesn't know about newer Python releases. Even if UV upstream supports a Python version, a cached builder layer may not. Fix: the `clean.yml` workflow removes caches older than 14 days, but you can force a fresh build by clearing the cache registry (`bakery clean cache-registry ghcr.io/posit-dev`).
-**ARM64 runner unavailable** — Native builds use `ubuntu-24.04-arm64-4-core` runners which may have capacity limits.
223
+
-**Dispatched version doesn't match bakery** — Product repos dispatch with raw git-describe versions (e.g. `v2026.03.0-473-g072bb6fd1f`). Bakery normalizes these to semver-with-metadata (e.g. `2026.04.0-dev+473-g072bb6fd1f`). The shared workflows strip a leading `v` automatically, but other format differences (edition, `-dev` qualifier, `+` separator) mean `--image-version` requires the version string bakery knows, not the raw product version. If the matrix is empty after filtering, `bakery ci matrix` exits non-zero.
0 commit comments