boatyard 0.6.2.dev177__tar.gz → 0.6.3.dev181__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.2.dev177 → boatyard-0.6.3.dev181}/PKG-INFO +1 -1
  2. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/closeout.md +16 -2
  3. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/pyproject.toml +1 -1
  4. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/score.py +10 -8
  5. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/tests/test_score_generate.py +14 -0
  6. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/.gitattributes +0 -0
  7. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/.github/workflows/cleanup-pr-releases.yml +0 -0
  8. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/.github/workflows/integrate.yml +0 -0
  9. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/.github/workflows/merge-gate.yml +0 -0
  10. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/.github/workflows/release.yml +0 -0
  11. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/.gitignore +0 -0
  12. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/.python-version +0 -0
  13. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/AGENTS.md +0 -0
  14. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/CLAUDE.md +0 -0
  15. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/LICENSE +0 -0
  16. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/NOTICE +0 -0
  17. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/README.md +0 -0
  18. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/design/AGENTS.md +0 -0
  19. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/design/CLAUDE.md +0 -0
  20. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/design/adoption-semver-wave.md +0 -0
  21. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/design/apt-hermeticity.md +0 -0
  22. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/design/dev-overlay.md +0 -0
  23. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/design/gpu-template-collapse.md +0 -0
  24. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/design/mirror-digest-retention.md +0 -0
  25. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/design/precision-attribution.md +0 -0
  26. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/design/semver-image-bundle-lines.md +0 -0
  27. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/publish.yml +0 -0
  28. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/ruff.base.toml +0 -0
  29. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/ruff.toml +0 -0
  30. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/scripts/preflight.py +0 -0
  31. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/__init__.py +0 -0
  32. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/build.py +0 -0
  33. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/cli.py +0 -0
  34. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/compose.py +0 -0
  35. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/config/__init__.py +0 -0
  36. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/config/config.py +0 -0
  37. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/config/lock.py +0 -0
  38. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/config/values.py +0 -0
  39. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/crane.py +0 -0
  40. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/dockerfiles.py +0 -0
  41. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/lock.py +0 -0
  42. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/markers.py +0 -0
  43. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/paths.py +0 -0
  44. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/publish.py +0 -0
  45. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/py.typed +0 -0
  46. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/score_compose.py +0 -0
  47. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/score_k8s.py +0 -0
  48. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/score_patch_templates/gpu-cuda.tpl +0 -0
  49. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/score_patch_templates/gpu-pod.tpl +0 -0
  50. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/score_patch_templates/gpu-rocm.tpl +0 -0
  51. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/score_patch_templates/probe-adapter-healthchecks.tpl +0 -0
  52. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/score_patch_templates/restart.tpl +0 -0
  53. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/score_patch_templates/scale-to-zero.tpl +0 -0
  54. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/temp.py +0 -0
  55. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/verbs/__init__.py +0 -0
  56. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/verbs/build.py +0 -0
  57. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/verbs/down.py +0 -0
  58. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/verbs/lock.py +0 -0
  59. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/verbs/matrix.py +0 -0
  60. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/verbs/mirror.py +0 -0
  61. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/verbs/publish.py +0 -0
  62. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/verbs/score.py +0 -0
  63. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/verbs/tree_tags.py +0 -0
  64. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/verbs/up.py +0 -0
  65. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/src/boatyard/yaml.py +0 -0
  66. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/tests/conftest.py +0 -0
  67. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/tests/test_assembly.py +0 -0
  68. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/tests/test_build_docker.py +0 -0
  69. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/tests/test_compose.py +0 -0
  70. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/tests/test_config.py +0 -0
  71. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/tests/test_daemon_gc.py +0 -0
  72. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/tests/test_lock.py +0 -0
  73. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/tests/test_markers.py +0 -0
  74. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/tests/test_matrix.py +0 -0
  75. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/tests/test_mirror.py +0 -0
  76. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/tests/test_provisioners.py +0 -0
  77. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/tests/test_publish_compose.py +0 -0
  78. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/tests/test_secrets.py +0 -0
  79. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/tests/test_service_builds.py +0 -0
  80. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/tests/test_tree_tags.py +0 -0
  81. {boatyard-0.6.2.dev177 → boatyard-0.6.3.dev181}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: boatyard
3
- Version: 0.6.2.dev177
3
+ Version: 0.6.3.dev181
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
@@ -459,8 +459,9 @@ the CI-green verify), fixed and released as `0.6.1`:
459
459
  environment. Rider: compose-only runs still install score-k8s + helm.
460
460
 
461
461
  Found in the placeframe sweep (2026-11-06), fixed on `dev` (full preflight
462
- green), unreleased — the wave's pin target becomes the release carrying it
463
- (placeframe's `requires:` floor and dep pin ride up with it):
462
+ green), released as `0.6.2`; the wave's pin target and `requires:` floor
463
+ become `0.6.2` (infra-rathole's landed `==0.6.1` pin and `>=0.6.1` floor
464
+ bump in passing when next touched):
464
465
  - `PortOrSlot` was string-typed, so a natural YAML int port
465
466
  (`published: 4040`) refused with a coercion error and only the quoted
466
467
  digit-string loaded. Literal ports are now int-typed (strict; digit strings
@@ -468,6 +469,19 @@ green), unreleased — the wave's pin target becomes the release carrying it
468
469
  and the edge emission drops its `str()` coercion. infra-rathole declares no
469
470
  ports; unswept configs flip in their own sweeps.
470
471
 
472
+ Found in the placeframe sweep (2026-11-06), fixed on `dev` (full preflight
473
+ green), unreleased — rides the same release as the port fix if it hasn't
474
+ cut yet, else the next:
475
+ - `render_score` expanded workload `${SHA}` slots in-process but never
476
+ exported the values to the score tool subprocess, so provisioner templates
477
+ reading `{{ env "AUTH_INITIALIZER_SHA" }}` (placeframe carries fifteen
478
+ sites across both substrates, plus `{{ env "SCORE_STORAGE_CLASS" }}` under
479
+ `--local`) rendered empty — the oidc-issuer services template produced
480
+ `image: …auth-initializer:` and refused to decode. The variable set
481
+ (images ∪ service shas ∪ rendering vars) now rides the init/generate
482
+ environment; the old devkit's os.environ export was the channel 0.4.9
483
+ consumers depended on.
484
+
471
485
  Sweep mechanics discovered in infra-rathole, carried to the rest: the
472
486
  score-tool trio (score-compose 0.42.0, score-k8s 0.15.0, helm 3.22.1) must
473
487
  pre-exist in `/usr/local/bin` to run generate-score locally (the defect
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "boatyard"
3
- version = "0.6.2.dev177"
3
+ version = "0.6.3.dev181"
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 = [
@@ -147,6 +147,14 @@ def render_score(
147
147
  project_name = None if substrate == "k8s" else config.project_name
148
148
  output.parent.mkdir(parents=True, exist_ok=True)
149
149
 
150
+ # List the variable sources lowest-priority first so later ones overwrite earlier ones
151
+ variable_values = {
152
+ variable: value
153
+ for source in (images, service_shas, rendering_vars)
154
+ for variable, value in source.items()
155
+ if value
156
+ }
157
+
150
158
  with (
151
159
  as_file(files("boatyard") / PATCH_TEMPLATES_DIR) as builtin_templates,
152
160
  ExitStack() as stack,
@@ -194,6 +202,7 @@ def render_score(
194
202
  f"{tool} init{' --project ' + project_name if project_name is not None else ''}"
195
203
  f" --no-sample{provisioner_flags}{template_flags}",
196
204
  cwd=working_dir,
205
+ env=variable_values,
197
206
  )
198
207
 
199
208
  # Pre-seed each workload's instance suffix so generated names are deterministic
@@ -209,13 +218,6 @@ def render_score(
209
218
 
210
219
  # Expand each workload's ${NAME} slots into per-run copies
211
220
  copies_directory = Path(stack.enter_context(TemporaryDirectory()))
212
- # List the variable sources lowest-priority first so later ones overwrite earlier ones
213
- variable_values = {
214
- variable: value
215
- for source in (images, service_shas, rendering_vars)
216
- for variable, value in source.items()
217
- if value
218
- }
219
221
 
220
222
  for workload in workloads:
221
223
  expanded = dump_yaml(workload.raw)
@@ -234,7 +236,7 @@ def render_score(
234
236
 
235
237
  # Run generate over the expanded copies
236
238
  rendered = " ".join((copies_directory / workload.file_name).as_posix() for workload in workloads)
237
- bash(f"{tool} generate {rendered} --output {output.as_posix()}", cwd=working_dir)
239
+ bash(f"{tool} generate {rendered} --output {output.as_posix()}", cwd=working_dir, env=variable_values)
238
240
 
239
241
 
240
242
  def load_workloads(score_dir: Path, names: list[str], lens: type[WorkloadDocument]) -> list[LoadedWorkload]:
@@ -305,6 +305,7 @@ class TestMarkerSubstrateResolution:
305
305
  )
306
306
  (tmp_path / "stack" / "secrets.yaml").write_text("", encoding="utf-8")
307
307
  recorder = WorkloadContentsRecorder()
308
+ self.recorder = recorder
308
309
 
309
310
  def _skip_tools(requirements: list[score_verb_module.ToolRequirement]) -> None:
310
311
  return None
@@ -323,6 +324,17 @@ class TestMarkerSubstrateResolution:
323
324
 
324
325
  assert f"image: {LOKI_MANIFEST}" in contents
325
326
 
327
+ def test_the_score_tool_receives_the_variable_values_as_environment(
328
+ self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch
329
+ ) -> None:
330
+ self._compose_seam(monkeypatch, tmp_path, platforms=["linux/amd64"])
331
+
332
+ generate_env = self.recorder.command_envs["score-compose generate"]
333
+ assert generate_env is not None
334
+ assert generate_env["LOKI_IMAGE"] == LOKI_MANIFEST
335
+ assert generate_env["ALPINE_IMAGE"] == ALPINE_LOCK["ALPINE_IMAGE"]
336
+ assert self.recorder.command_envs["score-compose init"] == generate_env
337
+
326
338
  def test_compose_generation_selects_the_platform_the_environment_names(
327
339
  self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch
328
340
  ) -> None:
@@ -577,8 +589,10 @@ def test_generate_compose_barrier_names_differ_per_entry(tmp_path: Path, monkeyp
577
589
  class WorkloadContentsRecorder:
578
590
  def __init__(self) -> None:
579
591
  self.workload_contents: dict[str, str] = {}
592
+ self.command_envs: dict[str, dict[str, str] | None] = {}
580
593
 
581
594
  def run(self, command: str, *, cwd: Path | None = None, env: dict[str, str] | None = None) -> None:
595
+ self.command_envs[command.split()[0] + " " + command.split()[1]] = env
582
596
  if command.startswith("score-compose generate"):
583
597
  for argument in command.split()[2:]:
584
598
  if argument.startswith("--output"):
File without changes
File without changes
File without changes