Test matrices & artifact registries
P36.pipelines-as-code.02 · Audience: Guest, IT/ML learner, Language professional · Prerequisites: Pipelines as code & quality gates
P36.pipelines-as-code.02 · Audience: Guest, IT/ML learner, Language professional · Prerequisites: Pipelines as code & quality gates
One pipeline usually isn't one job — it's many. A library that claims to support Python 3.11–3.13 on Linux and macOS has to prove it on every combination, and a fast pipeline caches what it can and ships only what earned it. This module builds the three primitives behind that: matrix expansion, caching, and artifact promotion.
expand_matrix, including exclude for the combination that never works.Why it matters — A matrix is how you catch 'works on 3.11, breaks on 3.13' before a user does — the same job, run once per environment.
Ask a question about this content. The mentor explains and grounds its answer in what you are studying; asking is recorded as a learning signal, not a grade.
Off by default. The mentor always gets your file; this only decides whether your own copy stays here. Copies live in this browser only - they do not follow you to another device, and clearing site data removes them.
Build the matrix-expansion, caching and promotion helpers a real pipeline runs on.
Loading exercise…
Your pipeline gates, fans out, and promotes. The last track packages the result into the artifact you actually deploy — a container image.
Loading your notes...