boatyard 0.6.2.dev177__tar.gz → 0.6.3__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.
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/PKG-INFO +1 -1
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/closeout.md +16 -2
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/pyproject.toml +1 -1
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/score.py +10 -8
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/tests/test_score_generate.py +14 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/.gitattributes +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/.github/workflows/cleanup-pr-releases.yml +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/.github/workflows/integrate.yml +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/.github/workflows/merge-gate.yml +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/.github/workflows/release.yml +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/.gitignore +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/.python-version +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/AGENTS.md +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/CLAUDE.md +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/LICENSE +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/NOTICE +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/README.md +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/design/AGENTS.md +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/design/CLAUDE.md +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/design/adoption-semver-wave.md +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/design/apt-hermeticity.md +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/design/dev-overlay.md +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/design/gpu-template-collapse.md +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/design/mirror-digest-retention.md +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/design/precision-attribution.md +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/design/semver-image-bundle-lines.md +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/publish.yml +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/ruff.base.toml +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/ruff.toml +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/scripts/preflight.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/__init__.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/build.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/cli.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/compose.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/config/__init__.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/config/config.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/config/lock.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/config/values.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/crane.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/dockerfiles.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/lock.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/markers.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/paths.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/publish.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/py.typed +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/score_compose.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/score_k8s.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/score_patch_templates/gpu-cuda.tpl +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/score_patch_templates/gpu-pod.tpl +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/score_patch_templates/gpu-rocm.tpl +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/score_patch_templates/probe-adapter-healthchecks.tpl +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/score_patch_templates/restart.tpl +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/score_patch_templates/scale-to-zero.tpl +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/temp.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/verbs/__init__.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/verbs/build.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/verbs/down.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/verbs/lock.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/verbs/matrix.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/verbs/mirror.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/verbs/publish.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/verbs/score.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/verbs/tree_tags.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/verbs/up.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/yaml.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/tests/conftest.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/tests/test_assembly.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/tests/test_build_docker.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/tests/test_compose.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/tests/test_config.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/tests/test_daemon_gc.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/tests/test_lock.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/tests/test_markers.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/tests/test_matrix.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/tests/test_mirror.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/tests/test_provisioners.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/tests/test_publish_compose.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/tests/test_secrets.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/tests/test_service_builds.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/tests/test_tree_tags.py +0 -0
- {boatyard-0.6.2.dev177 → boatyard-0.6.3}/uv.lock +0 -0
|
@@ -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),
|
|
463
|
-
(
|
|
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
|
|
@@ -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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boatyard-0.6.2.dev177 → boatyard-0.6.3}/src/boatyard/score_patch_templates/scale-to-zero.tpl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|