Publish components through Gitea packages
Modular container CI / release-build (push) Failing after 17m56s

This commit is contained in:
faumaray committed 2026-07-29 23:45:09 +03:00
1 parent 0650d837d3
commit 2c8164584b
5 files changed
+136 -63

No files matched your search

+21 -16
View File
@@ -11,22 +11,26 @@ Every runtime component publishes the same verified package to two places:
1. A release in the component's own Gitea repository. This is the provenance
and maintainer-facing release after that repository becomes private.
2. An immutable object-storage key exposed through the permanent distribution
gateway:
2. An immutable public distribution key. The default deployment uses the
public `Void` organization Generic Package Registry:
```text
<distribution-base>/<ComponentId>/<version>/<artifact>
https://git.faumaray.ru/api/packages/Void/generic/<ComponentId>/<version>/<artifact>
```
The signed public feed refers only to the distribution URL. It never contains
Gitea credentials, object-storage credentials, presigned URLs, or private clone
URLs. Private Gitea repositories do not have independently public release
units, so public delivery must remain a separate distribution concern.
Gitea packages belong to the organization rather than a repository, so they
remain anonymously downloadable while component repositories and their
native releases are private.
The object origin should be private from its first deployment. The gateway may
allow anonymous `GET` requests initially; a future entitlement check can return
`401` or `403` at the same permanent URL without rewriting signed immutable
feed documents.
The signed public feed refers only to the distribution URL. It never contains
Gitea credentials, storage credentials, presigned URLs, or private clone URLs.
Private Gitea repositories do not have independently public release units, so
public delivery remains a separate distribution concern.
The organization registry is the no-infrastructure public backend. A future
paid distribution gateway should use a separate permanent origin from its
first published version; immutable feed documents must not have their URLs
rewritten after signing.
## Release transaction
@@ -62,13 +66,14 @@ exact value.
The following Gitea Actions variables are required:
- `ECHOION_RELEASE_TOOLS_REF`
- `ECHOION_DISTRIBUTION_BACKEND`, currently `gitea-generic`
- `ECHOION_DISTRIBUTION_BASE_URL`
- `ECHOION_FEED_BASE_URL`
- `ECHOION_FEED_SIGNING_KEY_ID`
- `COMPONENT_OBJECT_STORAGE_BUCKET`
- `COMPONENT_OBJECT_STORAGE_BUCKET` only for the optional `s3` backend
- `COMPONENT_OBJECT_STORAGE_ENDPOINT` when using a non-AWS S3 service
- `COMPONENT_OBJECT_STORAGE_PREFIX`, normally `components`
- `COMPONENT_OBJECT_STORAGE_REGION`
- `COMPONENT_OBJECT_STORAGE_PREFIX`, normally `components`, for S3
- `COMPONENT_OBJECT_STORAGE_REGION` for S3
The following secrets are required in each component repository:
@@ -79,8 +84,8 @@ The following secrets are required in each component repository:
- `RELEASE_BOT_TOKEN`
- `RELEASE_FEED_ED25519_PRIVATE_KEY`
- `RELEASE_FEED_GIT_SIGNING_KEY`
- `COMPONENT_OBJECT_STORAGE_ACCESS_KEY`
- `COMPONENT_OBJECT_STORAGE_SECRET_KEY`
- `COMPONENT_OBJECT_STORAGE_ACCESS_KEY` only for S3
- `COMPONENT_OBJECT_STORAGE_SECRET_KEY` only for S3
The Echoion product repository needs only
`RELEASE_FEED_ED25519_PUBLIC_KEY` for feed verification. It must not receive