Repository navigation
One container image: CI tests what jobs run - #904
Merged
Merged
Conversation
Merges the two build targets into a single `shapepipe` stage on the shared `base`: astromatic binaries, OpenMPI, every Python extra (test, lint, doc, jupyter, fitsio, release), and the interactive CLI tools all ship on every tag. There is no more `--target` to pick. The split (introduced to fix "no pytest in the slim image" and "no vim in the slim image" complaints) left CI testing one image while jobs, and sp_validation's own `FROM` clause, run another — the untested one. The two images differ by ~35 Python packages (test/lint/doc/release extras and their transitive deps, no compilers or heavier tooling) and ~6% of image size (measured: 1336.5 MB vs 1260.1 MB compressed on GHCR; 837.7 MB vs 783.5 MB unpacked SIF). That's the whole cost of always shipping the tested image. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
deploy-image.yml no longer builds a runtime target and a dev target separately (each with its own tag, cache, and smoke tests). One build, one set of tests — binaries, the read-only-fs entry point, interactive tools, the fast science guardrails, then the full pytest suite — one push. Same tests as before, just no longer split across two builds that produced two different images. cd.yml's API-docs build follows: it builds "the image" now, not "the dev image", since that is the only image there is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CONTAINER_URI drops the `-runtime` suffix: there is only one published tag per branch now, and it is the one CI tested. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every mention of a `-runtime` tag, a "dev image" distinct from a "runtime image", or "two targets" is gone from the docs, README, CLAUDE.md, the candide job scripts, and the test comments that referenced them. Pull commands, size notes, and the container-workflow page now describe the one image that ships. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ShapePipe publishes two images per branch. CI runs the test suite only in
:<branch>, while jobs andsp container pulluse:<branch>-runtime, which gets a binary smoke test. This collapses the Dockerfile's runtime/dev split into one image that CI builds, tests (binaries, read-only entry point, science guardrails, full suite) and publishes as one tag per branch, as sp_validation does.Cost, measured on today's
developimages: +76 MB compressed, +54 MB unpacked (838 vs 784 MB SIF), all of it test/lint/doc/release extras and a few CLI tools. The split was made to get pytest and vim into a dev image (#719 review), not for size.sp container pullnow defaults to:develop.-runtimetags stop updating once this merges.workflow/config.yaml's nibi SIF path is unchanged; re-pulling it under the new tag is a follow-up on nibi.— Claude (Opus) on behalf of Cail
🤖 Generated with Claude Code