Publish components through Gitea packages
Modular container CI / release-build (push) Failing after 17m56s
Modular container CI / release-build (push) Failing after 17m56s
This commit is contained in:
5 files changed
+136
-63
No files matched your search
@@ -28,6 +28,18 @@ Billing authorization and update integrity are separate:
|
||||
No billing, account, license, device, or gateway authorization code is part of
|
||||
the current implementation.
|
||||
|
||||
## Current public baseline
|
||||
|
||||
Initial component artifacts are mirrored into the public `Void` organization
|
||||
Generic Package Registry. This keeps downloads public after component
|
||||
repositories become private and requires no additional storage service.
|
||||
|
||||
Gitea package URLs are permanently public while the organization is public;
|
||||
they cannot later become paywalled without breaking their original access
|
||||
contract. Introduce the entitlement gateway as the distribution base before
|
||||
publishing the first paid-only artifact. Existing public versions remain
|
||||
public, while new signed feed entries may point to the gateway.
|
||||
|
||||
## Provider options
|
||||
|
||||
### Stripe Billing
|
||||
@@ -83,4 +95,3 @@ binaries, automated updates, and paid support, but cannot prevent someone from
|
||||
building and running the public source. Stronger enforcement would require
|
||||
moving real product value into private components or a hosted service and is
|
||||
outside this decision.
|
||||
|
||||
+21
-16
@@ -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
|
||||
|
||||
Reference in new issue
Block a user