Add authoritative component-release helpers, evidence-aware reconcile with freshness and root upstream dispatch, least-privilege secrets, image scan and multi-arch build gates, and pin active component publish workflows. Co-authored-by: Cursor <cursoragent@cursor.com>
55 lines
2.9 KiB
Markdown
55 lines
2.9 KiB
Markdown
# Shared Marqdo CI images
|
||
|
||
The ecosystem publishes exactly these reusable runtime images to the Gitea
|
||
container registry, per released CLI version:
|
||
|
||
| Image | Contents | Consumers |
|
||
| --- | --- | --- |
|
||
| `git.cflmy.cn/cflmy/marqdo-ci-shell:3.0.0-rc.5` | Ubuntu 24.04 (glibc 2.39), git/curl/python3/build tools, released CLI + Bundle (`MARQDO_BIN`/`MARQDO_STDLIB_DIR` preset) | standard library, extension, conformance and reconcile lanes |
|
||
| `git.cflmy.cn/cflmy/marqdo-ci-rust:3.0.0-rc.5` | shell image + pinned Rust 1.100 toolchain (rustfmt/clippy) + warm cargo cache | Design/Preview and Rust tool lanes |
|
||
| `git.cflmy.cn/cflmy/marqdo-ci-web:3.0.0-rc.5` (digest `0cccda995d77...`) | Ubuntu 24.04 + Node/Playwright Chromium(npmmirror 二进制源)+ released CLI/Bundle + packaged preview web Tool | Web domain browser acceptance |
|
||
|
||
Rules:
|
||
|
||
- Tags are immutable and tied to one released CLI version; do not move a tag.
|
||
A new CLI release publishes new tags; consumers update in reviewed PRs.
|
||
- Images are public for anonymous pull; CI never needs registry push credentials.
|
||
- Component lanes contain only their own `scripts/*` entry command. No per-repo
|
||
image variance, apt installs, Rust toolchain downloads or CLI rebuilds.
|
||
- Core CLI keeps its specialized Rust/Windows-cross gates; the root ecosystem
|
||
candidate keeps its Playwright/rustup image because it must build consumers and
|
||
run Docker archive checks. These two exceptions are documented in the
|
||
repository conventions, not copied per component.
|
||
- The images are CI infrastructure, not product releases; their provenance is
|
||
recorded here and in `docs/evidence/`.
|
||
|
||
## Platforms
|
||
|
||
- Default / current consumer matrix: `linux/amd64` only.
|
||
- `ci/images/build.sh` accepts `MARQDO_CI_PLATFORMS` (buildx). Adding
|
||
`linux/arm64` requires a verified aarch64 CLI archive via
|
||
`MARQDO_CLI_ARCHIVE_ARM64` + `MARQDO_CLI_ARCHIVE_ARM64_SHA256`. Without that
|
||
input, arm64 image publication is refused (no fake multi-arch).
|
||
- CI workflow pins remain the immutable version tag; runners without arm64 are
|
||
not claimed as PASS for arm64.
|
||
|
||
## Scanning
|
||
|
||
- `ci/images/scan.sh` records registry digests/platforms, optional Trivy CVE
|
||
reports, and a pin check that rejects floating tags in Woodpecker workflows.
|
||
|
||
## Runner pull-through cache
|
||
|
||
Woodpecker agents must treat `git.cflmy.cn/cflmy/marqdo-ci-*` as the only CI
|
||
runtime image source (no Docker Hub rebuilds of the same toolchain). Required
|
||
agent configuration:
|
||
|
||
1. Persist the engine image store across jobs (Docker/`containerd` data root on
|
||
durable disk, not ephemeral scratch).
|
||
2. Prefer the local Gitea Container Registry; do not introduce a second public
|
||
mirror that can serve different digests for the same tag.
|
||
3. Warm the three pinned tags after each CI image publish so the first job after
|
||
publish pays the pull cost once.
|
||
4. Cache hit is never evidence of a test PASS; workflows still run the component
|
||
entry command against the pinned digest/tag.
|