boatyard 0.6.5.dev190__tar.gz → 0.6.6.dev196__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/AGENTS.md +2 -2
  2. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/PKG-INFO +1 -1
  3. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/closeout.md +102 -14
  4. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/pyproject.toml +1 -1
  5. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/build.py +1 -1
  6. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/verbs/build.py +1 -1
  7. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/verbs/publish.py +2 -2
  8. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/verbs/up.py +7 -2
  9. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/tests/test_build_docker.py +6 -16
  10. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/tests/test_publish_compose.py +1 -1
  11. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/.gitattributes +0 -0
  12. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/.github/workflows/cleanup-pr-releases.yml +0 -0
  13. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/.github/workflows/integrate.yml +0 -0
  14. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/.github/workflows/merge-gate.yml +0 -0
  15. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/.github/workflows/release.yml +0 -0
  16. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/.gitignore +0 -0
  17. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/.python-version +0 -0
  18. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/CLAUDE.md +0 -0
  19. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/LICENSE +0 -0
  20. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/NOTICE +0 -0
  21. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/README.md +0 -0
  22. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/design/AGENTS.md +0 -0
  23. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/design/CLAUDE.md +0 -0
  24. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/design/adoption-semver-wave.md +0 -0
  25. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/design/apt-hermeticity.md +0 -0
  26. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/design/dev-overlay.md +0 -0
  27. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/design/gpu-template-collapse.md +0 -0
  28. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/design/mirror-digest-retention.md +0 -0
  29. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/design/precision-attribution.md +0 -0
  30. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/design/semver-image-bundle-lines.md +0 -0
  31. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/publish.yml +0 -0
  32. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/ruff.base.toml +0 -0
  33. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/ruff.toml +0 -0
  34. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/scripts/preflight.py +0 -0
  35. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/__init__.py +0 -0
  36. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/cli.py +0 -0
  37. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/compose.py +0 -0
  38. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/config/__init__.py +0 -0
  39. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/config/config.py +0 -0
  40. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/config/lock.py +0 -0
  41. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/config/values.py +0 -0
  42. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/crane.py +0 -0
  43. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/dockerfiles.py +0 -0
  44. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/lock.py +0 -0
  45. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/markers.py +0 -0
  46. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/paths.py +0 -0
  47. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/publish.py +0 -0
  48. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/py.typed +0 -0
  49. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/score.py +0 -0
  50. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/score_compose.py +0 -0
  51. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/score_k8s.py +0 -0
  52. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/score_patch_templates/gpu-cuda.tpl +0 -0
  53. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/score_patch_templates/gpu-pod.tpl +0 -0
  54. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/score_patch_templates/gpu-rocm.tpl +0 -0
  55. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/score_patch_templates/probe-adapter-healthchecks.tpl +0 -0
  56. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/score_patch_templates/restart.tpl +0 -0
  57. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/score_patch_templates/scale-to-zero.tpl +0 -0
  58. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/temp.py +0 -0
  59. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/verbs/__init__.py +0 -0
  60. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/verbs/down.py +0 -0
  61. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/verbs/lock.py +0 -0
  62. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/verbs/matrix.py +0 -0
  63. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/verbs/mirror.py +0 -0
  64. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/verbs/score.py +0 -0
  65. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/verbs/tree_tags.py +0 -0
  66. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/src/boatyard/yaml.py +0 -0
  67. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/tests/conftest.py +0 -0
  68. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/tests/test_assembly.py +0 -0
  69. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/tests/test_compose.py +0 -0
  70. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/tests/test_config.py +0 -0
  71. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/tests/test_daemon_gc.py +0 -0
  72. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/tests/test_lock.py +0 -0
  73. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/tests/test_markers.py +0 -0
  74. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/tests/test_matrix.py +0 -0
  75. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/tests/test_mirror.py +0 -0
  76. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/tests/test_provisioners.py +0 -0
  77. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/tests/test_score_generate.py +0 -0
  78. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/tests/test_secrets.py +0 -0
  79. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/tests/test_service_builds.py +0 -0
  80. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/tests/test_tree_tags.py +0 -0
  81. {boatyard-0.6.5.dev190 → boatyard-0.6.6.dev196}/uv.lock +0 -0
@@ -115,13 +115,13 @@ owns the CLI-flag layer; `raise SystemExit` only in `verbs/publish.py` (registry
115
115
  ## Build
116
116
 
117
117
  - `run_build` renders the deterministic per-run bake file (authored key order, byte-identical for identical configs; bake validates its own input — no document model); it takes the already-loaded `config` — the build verb owns its flag refusals; a failed bake re-raises with the rendered content attached.
118
- - Push axis: `--push` (bool) pushes for the config's `repository`; `--push-to <addr>` re-roots tags + cache refs under that registry; the flags together refuse; an address with a scheme, trailing slash, or host
118
+ - Push axis: `--push` (bool) pushes for the config's `repository`; `--push-to <addr>` re-roots tags under that registry (ad-hoc destination — no cache refs); the flags together refuse; an address with a scheme, trailing slash, or host
119
119
  carrying neither `.` nor `:` refuses; `--push` without a declared `repository` refuses.
120
120
  - `host_platform()` = the one host fact left: the flagless default set is every service's first-declared variant restricted to this machine's arch, and an empty default set refuses naming the arch + `--targets` (bake with no target arguments
121
121
  builds every service, silently defeating the selection); `--targets` spelling is shape-dictated — bare `name` for an axis-less service, `name/variant` for an axis service (a bare name on an axis service refuses naming its variants; the dashed
122
122
  target name is bake-internal and refuses; repeated addresses ride through — bake owns set semantics); unknown names/variants refuse listing the vocabulary.
123
123
  - Per target: dockerfile by convention; platforms collapse to the host arch in load mode (a single declared platform rides through); args — every `base_images` key as `${KEY:-}` on every service, the axis
124
- ARG at its variant value, `{SERVICE}_SHA` as `${…:?err}`; tags `{namespace}/{target}:latest` + `:${SERVICE_SHA}`; `target:`-prefixed `additional_contexts`; registry cache refs under `{namespace}/build-cache:{target}` in push mode.
124
+ ARG at its variant value, `{SERVICE}_SHA` as `${…:?err}`; tags `{namespace}/{target}:latest` + `:${SERVICE_SHA}`; `target:`-prefixed `additional_contexts`; registry cache refs under `{namespace}/build-cache:{target}` in `--push` mode.
125
125
  - The incremental lock write rides every building run (the `uv sync` shape — anyone who builds also locks), landing only after target selection + its refusals; bake reads the fresh entries as environment (index form); a building run with
126
126
  zero derived services refuses naming the lock verb.
127
127
  - `metadata.json`: cwd-stable, unlinked before the run, coverage-checked against the requested targets after; a repository push distills it into the shelved shard (Mirror namespace); local default-target builds run the daemon
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: boatyard
3
- Version: 0.6.5.dev190
3
+ Version: 0.6.6.dev196
4
4
  Summary: Deploy-files definition language and compiler, plus a runtime for the compose target
5
5
  License-File: LICENSE
6
6
  License-File: NOTICE
@@ -119,15 +119,102 @@ separate commits.
119
119
  The run completed: every leg green except `release-pr-builds`, which
120
120
  failed pulling `images-digests-all:sha-a5430b3b…` — the digest-shard
121
121
  shelving gap (entry under Work 4): it returns to boatyard's build
122
- verb as `0.6.5`; placeframe repins once that publishes.
123
- NEXT SESSION OPENS HERE: the placeframe-capture-tool sweep on its
124
- `compose-bundles` — the repin adds `project_name` (required from 0.6.0),
125
- install-zed rewrites onto `yaml.safe_load` + `tree-tags` + `build
126
- --push-to`, and the arm64 platform-manifest relock gating the ZED-box AOA
127
- deploy (`zed-aoa-diagnosis-handoff.md` gates on exactly this); then
128
- lbe-toolkit, then Make-it-Sing (`git switch compose-bundles` first).
122
+ verb as `0.6.5`. Placeframe repinned to `0.6.5` (folded into the
123
+ `a5430b3b` fixup commit, force-pushed), Integrate green, merged to
124
+ `dev`; the landing push published the prerelease packages. The
125
+ `release-pr-builds` job now finds the shards boatyard's `build --push`
126
+ shelves.
127
+ Placeframe-capture-tool swept (2026-11-06, three commits on its
128
+ `compose-bundles`: cutover, relock, docs): repin (`boatyard==0.6.5` root,
129
+ `>=0.6.5` + `pyyaml>=6.0` scripts, DEP002 ignore for the CLI-only dep),
130
+ renames + `project_name` add, install-zed rewrite (8 `docker_devkit`
131
+ imports dropped; SHAs via `boatyard tree-tags`, lock entries via
132
+ `yaml.safe_load` of `images.<NAME>.platforms.linux/arm64`, `--build` via
133
+ `boatyard build --push-to localhost:{REGISTRY_PORT} --targets …`; the
134
+ forked `_run_bake` dissolved), 9 toolkit `uses:` refs to `f2d576a…`,
135
+ relock landing arm64 platform-manifest digests for all seven base images
136
+ (loki `4c28f6be…`, alloy `08b4fe15…` — the handoff's recorded evidence),
137
+ docs flip (scripts/AGENTS.md's index-digest defect paragraph removed;
138
+ handoff status + next-session plan updated, historical findings stay).
139
+ Battery green locally (ruff, format, basedpyright, deptry, pytest 3,
140
+ `lock --check`, matrix one partition three targets, `publish-compose
141
+ --plan` `[]`, preflight-python); zero `boatyard` imports (CLI-only), zero
142
+ `docker-devkit`/`--lock-only`/`--gpu` in code/config.
143
+ Lbe-toolkit swept (2026-11-06, three commits on its `compose-bundles`,
144
+ local — operator pushes; cutover, `Run generate-score`, prose): CLI-only,
145
+ compose-only (the livekit tier: `livekit` + `livekit-token` workloads, one
146
+ `livekit-config` provisioner at `stack/score/compose/livekit.yaml`). Repin
147
+ (`boatyard==0.6.5`, requires `>=0.6.5`); renames (`docker-devkit.yaml`→
148
+ `boatyard.yml`, `docker-devkit.lock`→`boatyard.lock.yml` truncated then
149
+ relocked); schema flips (`platforms: [linux/amd64]`, `UV_BASE_IMAGE`
150
+ `{uv}`-templated — the floating `bookworm-slim` tag became
151
+ `{uv}-python3.13-trixie-slim` because astral dropped bookworm for 0.12.15,
152
+ only trixie/alpine remain; `ALPINE_IMAGE` added; ports shorthand→mapping
153
+ form with `protocol: udp` on the RTC leg; `gateway` unchanged); 9 toolkit
154
+ `uses:` refs `44bcf9b`→`f2d576a`; `.env`→`boatyard.values.yaml` (gitignored,
155
+ `.gitignore` flipped; no `.env.sample`, so no sample file); new
156
+ `stack/secrets.yaml` (8 slots — `LIVEKIT_API_KEY`/`SECRET` mint, the six
157
+ port/IP/endpoint knobs plain); `generate-score` regen to the 0.6.0
158
+ rendering (`{entry}-` namespacing, `${ENTRY}__LOCK__` image slots,
159
+ `livekit-net`, `name:` last; the `livekit-token` `tree-` tag unchanged —
160
+ disk-state stable); prose flip (`hole`→`slot` + `.env`→values in the
161
+ provisioner comments/description). Battery green (ruff, format,
162
+ basedpyright 0, pytest 2, deptry, lint-workflows, `lock --check`,
163
+ `generate-score --check`, matrix `livekit-token`, plan `livekit`). Sandbox
164
+ note: the `==0.12.15` uv lives at `/home/code/.local/bin/uv` (PATH resolves
165
+ `0.11.14` first); `preflight-python` needs `PATH=/home/code/.local/bin:$PATH`
166
+ because it invokes bare `uv`. NEXT SESSION OPENS HERE: Make-it-Sing (`git
167
+ switch compose-bundles` first — its checkout sits on
168
+ `feature/clickable-buildings-room-join`). Session-open archaeology
169
+ re-verified: `docker-devkit.yaml` carries digest-pinned `ref:`s
170
+ (auth/keycloak, placeframe cuda+rocm, tunnel/rathole, livekit) that flip
171
+ to tags; `.env` has `BUNDLES=cuda,rathole` (→ `bundles:
172
+ [core-cuda, tunnel-rathole]`), the tunnel/placeframe/livekit knobs,
173
+ and `PUBLIC_URL`; `.env.sample` exists (→ ship `boatyard.values.yaml.sample`);
174
+ no `stack/secrets.yaml` yet; toolkit pin `da90524`→`f2d576a`.
129
175
  Also unverified locally for placeframe (needs the cuda sync / CI): the
130
176
  full preflight sidecar end-to-end and generate-clients.
177
+ - Make-it-Sing swept (2026-11-06, three commits on its `compose-bundles`:
178
+ cutover, docs flip, group rename): consumer-only (no `stack/score/`, no
179
+ local workloads — `generate-score` self-skips, no `stack/secrets.yaml`
180
+ needed, the placeframe-capture-tool precedent). Repin (`boatyard==0.6.5`
181
+ dev group, `requires >=0.6.5`); renames (`docker-devkit.yaml`→
182
+ `boatyard.yml`, `docker-devkit.lock`→`boatyard.lock.yml` truncated +
183
+ relocked); config adds `platforms: [linux/amd64]` + `ALPINE_IMAGE`;
184
+ ports shorthand→mapping form; `.env`→`boatyard.values.yaml` (gitignored,
185
+ `.gitignore` flipped) + `.env.sample`→`boatyard.values.yaml.sample` +
186
+ `.env.airgapped`→`boatyard.values.airgapped.yaml.sample`; 8 toolkit
187
+ `uses:` refs `da9052438…`→`f2d576a…`; docs flip (runbook `.env`→
188
+ `boatyard.values.yaml`, `PUBLIC_URL`→`public_url`). Two corrections the
189
+ `up` verify surfaced: (1) the placeframe bundles are published under
190
+ QUALIFIED-name paths (`placeframe/auth-keycloak`, `placeframe/core-cuda`,
191
+ `placeframe/core-rocm`) — the old option-name paths (`placeframe/keycloak`,
192
+ `placeframe/cuda`, `placeframe/rocm`) carry the pre-cutover rendering; (2)
193
+ the consumer's group name must match the producer's for the 0.6.x
194
+ namespacing to resolve routes — `placeframe` group renamed to `core`
195
+ (matching placeframe's producer config; `bundles: [core-cuda,
196
+ tunnel-rathole]`). The rathole bundle's defaults (`gateway:8443`,
197
+ `livekit:6178`, `livekit:5957`) reference old/foreign-network names — the
198
+ values file overrides `TUNNEL_GATEWAY_ADDR: edge:8443`; the
199
+ signaling/RTC defaults need explicit override too. Battery green locally
200
+ (ruff, format, basedpyright, `lock --check`, `generate-score --check`
201
+ self-skip, matrix `[]`, plan `[]`).
202
+ Two boatyard defects the sweep surfaced, fixed on `dev` (2026-11-06):
203
+ (a) `up`'s requirements fill check didn't filter lock-key slots (the
204
+ `LOCK_SLOT_MARKER` infix) — a remote-only bundle's lock-key `requires`
205
+ (e.g. `LIVEKIT__LOCK__LIVEKIT_SERVER_IMAGE`) refused even though
206
+ "satisfied by construction"; (b) `publish-compose`'s bake used
207
+ `lock_key_prefix` (`ENTRY_KEY`) for its substitution keys instead of
208
+ `env_lock_slot` (`ENTRY__LOCK__KEY`) — the compose text's lock-key
209
+ slots never matched and shipped unsubstituted, making every published
210
+ bundle's image slots unresolvable by consumers. Both fixed (full
211
+ preflight green, 517 tests); release as 0.6.6 pending. BLOCKER: the
212
+ producers (placeframe, infra-rathole, lbe-toolkit) must re-publish
213
+ their bundles with the fixed `publish-compose` before Make-it-Sing's
214
+ `up` can assemble — the current bundles carry unsubstituted
215
+ `${ENTRY}__LOCK__IMAGE:?err}` slots. After the republish: re-lock
216
+ Make-it-Sing, repin to 0.6.6, re-run the `up` path-override verify
217
+ (the `TUNNEL_*_ADDR` watch item).
131
218
  - The values-file session (2026-11-04, battery green) landed atop Work 1 and
132
219
  rewrote the consumer surface: `.env` is dead — `boatyard.values.yaml`
133
220
  (gitignored, typed; `ConfigValues` in `values_file.py`) is the only
@@ -616,10 +703,11 @@ its `up` assembly (the path-override verify) surfaces whether the
616
703
 
617
704
  Common to all five, order within a repo code → lockfiles → prose:
618
705
 
619
- 1. Dependency: `docker-devkit…` → `boatyard==0.6.4` (or `>=`); `uv lock
620
- --upgrade-package boatyard`. `requires:` floor → `>=0.6.4` (0.6.4
621
- carries the git-visible hashing flip; placeframe landed at 0.6.4 via its
622
- repin; infra-rathole's older floor bumps in passing when next touched).
706
+ 1. Dependency: `docker-devkit…` → `boatyard==0.6.5` (or `>=`); `uv lock
707
+ --upgrade-package boatyard`. `requires:` floor → `>=0.6.5` (0.6.4
708
+ carries the git-visible hashing flip, 0.6.5 restores the digest-shard
709
+ shelving; placeframe landed at 0.6.5 via its repin; infra-rathole's
710
+ older floor bumps in passing when next touched).
623
711
  2. `git mv docker-devkit.yaml boatyard.yml`; `git mv docker-devkit.lock
624
712
  boatyard.lock.yml`, then truncate the lock to the empty file before the
625
713
  relock — the old env format never parses at relock's committed
@@ -644,7 +732,7 @@ Common to all five, order within a repo code → lockfiles → prose:
644
732
  atomic with the relock and the qualified-selection flip (the grammar
645
733
  flip breaks the old spellings): placeframe
646
734
  `bundles: [core-cuda, auth-keycloak, tunnel-ngrok]`; Make-it-Sing
647
- `bundles: [placeframe-cuda, tunnel-rathole]`; the rest theirs. A repo
735
+ `bundles: [core-cuda, tunnel-rathole]`; the rest theirs. A repo
648
736
  carrying `.env.sample` ships a committed `boatyard.values.yaml.sample`
649
737
  beside it (the values file itself stays gitignored). Conversion drops
650
738
  any lock-key spellings from the old `.env` — the merged-file collision
@@ -721,8 +809,8 @@ Per-repo:
721
809
  `project_name` (required from 0.6.0 — the build-only repo never carried
722
810
  one).
723
811
  - **Make-it-Sing, lbe-toolkit** — standard renames and the step-6/7 flips;
724
- Make-it-Sing's local (never committed) `BUNDLE_OVERRIDE_PLACEFRAME_CUDA`
725
- becomes the `path_overrides: {placeframe-cuda: …}` map entry; lbe-toolkit's
812
+ Make-it-Sing's local (never committed) `BUNDLE_OVERRIDE_CORE_CUDA`
813
+ becomes the `path_overrides: {core-cuda: …}` map entry; lbe-toolkit's
726
814
  floating uv
727
815
  tag (`ghcr.io/astral-sh/uv:python3.13-…`) becomes an `{uv}`-templated value
728
816
  in the same relock: intent stays authored, components derive.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "boatyard"
3
- version = "0.6.5.dev190"
3
+ version = "0.6.6.dev196"
4
4
  description = "Deploy-files definition language and compiler, plus a runtime for the compose target"
5
5
  requires-python = ">=3.13"
6
6
  dependencies = [
@@ -183,7 +183,7 @@ def run_build(
183
183
  context: f"target:{context}-{variant}" if variant is not None else f"target:{context}"
184
184
  for context in service.contexts
185
185
  }
186
- if pushing:
186
+ if push:
187
187
  cache = f"{namespace}/build-cache"
188
188
  build["cache_to"] = [
189
189
  f"type=registry,ref={cache}:{target},mode=max,image-manifest=true,oci-mediatypes=true"
@@ -19,7 +19,7 @@ def build(
19
19
  ] = False,
20
20
  push_to: Annotated[
21
21
  str | None,
22
- typer.Option("--push-to", help="Push images and registry caches to this registry address instead."),
22
+ typer.Option("--push-to", help="Push images to this registry address instead."),
23
23
  ] = None,
24
24
  targets: Annotated[
25
25
  list[str] | None,
@@ -11,7 +11,7 @@ import typer
11
11
  from bashrun.bash import bash, bash_output
12
12
 
13
13
  from boatyard import dockerfiles
14
- from boatyard.config.config import ConfigFile, compose_bundle_output_path, lock_key_prefix
14
+ from boatyard.config.config import ConfigFile, compose_bundle_output_path, env_lock_slot
15
15
  from boatyard.crane import install_crane
16
16
  from boatyard.config.lock import LOCK_PATH, LockFile
17
17
  from boatyard.paths import DEFAULT_CONFIG_PATH
@@ -97,7 +97,7 @@ def publish_compose(
97
97
  substitutions = {
98
98
  **service_shas,
99
99
  **lock_entries,
100
- **{lock_key_prefix(bundle_name) + key: value for key, value in lock_entries.items()},
100
+ **{env_lock_slot(bundle_name, key): value for key, value in lock_entries.items()},
101
101
  }
102
102
  baked_path = bake_sources(baked_directory, output.as_posix(), substitutions)
103
103
 
@@ -18,6 +18,7 @@ from boatyard.config.config import (
18
18
  CADDY_IMAGE,
19
19
  ConfigFile,
20
20
  EDGE_SERVICE_NAME,
21
+ LOCK_SLOT_MARKER,
21
22
  OCI_REFERENCE_PREFIX,
22
23
  Yaml,
23
24
  bundle_lock_key,
@@ -126,10 +127,14 @@ def up(
126
127
  includes.append(bundle_compose_path.resolve().as_posix())
127
128
  entries.update({env_lock_slot(name, key): value for key, value in lock_references.items()})
128
129
 
129
- # Refuse bundles whose requirements no environment source fills, naming shell-set slots as ignored
130
+ # Refuse bundles whose requirements no environment source fills, naming shell-set slots as ignored.
131
+ # Lock-key slots (carrying the LOCK_SLOT_MARKER) are satisfied by construction — the lock env file
132
+ # fills them — so they are excluded from the consumer-facing fill check.
130
133
  filled = {variable for variable, value in {**config_values.variables, **entries}.items() if value}
131
134
  missing = {
132
- name: sorted(set(required) - filled) for name, required in requirements.items() if set(required) - filled
135
+ name: sorted(unfilled)
136
+ for name, required in requirements.items()
137
+ if (unfilled := {slot for slot in required if LOCK_SLOT_MARKER not in slot} - filled)
133
138
  }
134
139
  if missing:
135
140
  name, absent = min(missing.items())
@@ -434,7 +434,7 @@ class TestPushDestination:
434
434
  assert build_block["cache_from"] == [f"type=registry,ref={REPOSITORY}/build-cache:zed-capture"]
435
435
  assert "--push" in recorder.commands[0].split()
436
436
 
437
- def test_an_address_push_re_roots_tags_and_cache_refs(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch):
437
+ def test_an_address_push_re_roots_tags_without_cache_refs(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch):
438
438
  recorder = _prepare(
439
439
  monkeypatch,
440
440
  tmp_path,
@@ -447,13 +447,8 @@ class TestPushDestination:
447
447
  f"{LOCAL_REGISTRY}/zed-capture:latest",
448
448
  f"{LOCAL_REGISTRY}/zed-capture:${{ZED_CAPTURE_SHA}}",
449
449
  ]
450
- assert build_block["cache_to"] == [
451
- (
452
- f"type=registry,ref={LOCAL_REGISTRY}/build-cache:zed-capture,"
453
- "mode=max,image-manifest=true,oci-mediatypes=true"
454
- )
455
- ]
456
- assert build_block["cache_from"] == [f"type=registry,ref={LOCAL_REGISTRY}/build-cache:zed-capture"]
450
+ assert "cache_to" not in build_block
451
+ assert "cache_from" not in build_block
457
452
 
458
453
  def test_push_leaves_the_metadata_file_in_the_working_directory(
459
454
  self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch
@@ -762,7 +757,7 @@ class TestRenderBakeCache:
762
757
  f"type=registry,ref={REPOSITORY}/build-cache:localizer-cuda"
763
758
  ]
764
759
 
765
- def test_a_destination_re_roots_tags_and_cache_refs(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch):
760
+ def test_a_destination_re_roots_tags_without_cache_refs(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch):
766
761
  recorder = _prepare(
767
762
  monkeypatch,
768
763
  tmp_path,
@@ -778,13 +773,8 @@ class TestRenderBakeCache:
778
773
  f"{LOCAL_REGISTRY}/localizer-cuda:latest",
779
774
  f"{LOCAL_REGISTRY}/localizer-cuda:${{LOCALIZER_SHA}}",
780
775
  ]
781
- assert build_block["cache_to"] == [
782
- (
783
- f"type=registry,ref={LOCAL_REGISTRY}/build-cache:localizer-cuda,"
784
- "mode=max,image-manifest=true,oci-mediatypes=true"
785
- )
786
- ]
787
- assert build_block["cache_from"] == [f"type=registry,ref={LOCAL_REGISTRY}/build-cache:localizer-cuda"]
776
+ assert "cache_to" not in build_block
777
+ assert "cache_from" not in build_block
788
778
 
789
779
  def test_load_mode_renders_no_cache_refs(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch):
790
780
  recorder = _prepare(monkeypatch, tmp_path, [], dockerfiles={"api": EXTERNAL})
@@ -240,7 +240,7 @@ class TestPublishComposeVerb:
240
240
  " environment:\n"
241
241
  ' LIVEKIT_API_KEY: "${LIVEKIT_API_KEY:?err}"\n'
242
242
  " ingress:\n"
243
- ' image: "${LIVEKIT_TIER_CADDY_IMAGE:?err}"\n'
243
+ ' image: "${LIVEKIT_TIER__LOCK__CADDY_IMAGE:?err}"\n'
244
244
  " configs:\n"
245
245
  " - source: caddyfile\n"
246
246
  " target: /etc/caddy/Caddyfile\n"
File without changes
File without changes
File without changes