Repository navigation
Closed
Labels
priority: mediumMedium prioritytype: deliveryRelated to packaging, deployment etc.type: docsImprovements or additions to documentationworkload: daysLikely takes days to resolve
Description
Problem
Plugins are Python distributions (the foca-plugins monorepo or any
other repository) that must be installed into the image: nothing is
installed at runtime, and the chart keeps a read-only root file system.
Operators need a reviewed, reproducible way to build an image with the
plugins they enable.
Proposal
- Recipe (
docs/plugins.md, section "Installing plugins"): a
derived image,
FROM ghcr.io/elixir-cloud-aai/protes:<version>plus
RUN pip install --no-deps --require-hashes -r plugins.txt, with
plugins.txtgenerated bypip-compile --generate-hashes(oruv)
from e.g.foca-plugins[tes]==<train>or single distributions; how to
verify PEP 740 attestations (pypi-attestations verify) before the
build; scan and sign the result like the proTES image. - Build arg in the
Dockerfile(PLUGINS, empty by default) as a
convenience for local builds; documented as not hash-pinned. - Chart: values for the image (already there) and the
plugins
config (from T1), with an example for a derived image in the chart
README; no install logic in the chart. - No published image variant with all plugins (combinatorics; others
run their own plugin repositories too).
Acceptance criteria
- The recipe builds an image with a plugin from the monorepo, and
proTES loads it via the allowlist (tested in CI with a small test
distribution, or manually documented if CI can't). -
docs/plugins.mdand the chart README describe image and config
together.
Dependencies
- Blocked by T1 (refactor!: run task plugins with FOCA #321) and foca-plugins (release train; the
recipe names a real train).
Open questions
- None.
Metadata
Metadata
Assignees
Labels
priority: mediumMedium prioritytype: deliveryRelated to packaging, deployment etc.type: docsImprovements or additions to documentationworkload: daysLikely takes days to resolve
Activity
fix: remove stale pins on failed resolution