ci: complete component release propagation for issue #10
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>
This commit is contained in:
1 parent
068f91cd31
commit
a61f3442bc
39 files changed
+2130
-111
No files matched your search
@@ -0,0 +1,21 @@
|
||||
# Component release helpers (authoritative copy)
|
||||
|
||||
This directory is the **single authoritative implementation** of the thin
|
||||
component release helpers required by [marqdo#10](https://git.cflmy.cn/cflmy/marqdo/issues/10)
|
||||
§4 (immutable release identity) and §6 (notify after publish).
|
||||
|
||||
Active component repositories vendor an identical copy under `scripts/release/`
|
||||
and run only that local copy. CI must never download these scripts from the
|
||||
parent repository at runtime. When the helpers change, update this directory
|
||||
first, re-run the root unit tests, then copy the same bytes into each consumer
|
||||
and record the content hashes in that consumer's `scripts/release/README.md`.
|
||||
|
||||
| Module | Role |
|
||||
| --- | --- |
|
||||
| `package_source.py` | Deterministic source archive + `.sha256` from an allowlist |
|
||||
| `write_evidence.py` | Emit `release-evidence.json` (external index; no self-hash) |
|
||||
| `publish_gitea.py` | Draft → upload assets (index last) → undraft; never overwrite public assets |
|
||||
| `notify_root.py` | Bounded retry trigger of the root `reconcile` Woodpecker workflow |
|
||||
|
||||
Secrets stay out of package/evidence scripts. Publish workflows hold
|
||||
`gitea_publish_token`; notify workflows hold `woodpecker_notify_token`.
|
||||
Reference in new issue
Block a user