Skip to content
Open Source

Releases and the API

Read the catalog from its static API, pin a Zeabur Catalog version and verify its Sigstore signature, or build the release files from a specific commit.

Pushing a vX.Y.Z tag builds bundle.tar.gz, api-v1.tar.gz, and SHA256SUMS with its Sigstore signature bundle, and creates a draft release with them. A maintainer publishes the draft. Each published release that isn't a pre-release also publishes its API at https://oss-catalog.zeabur.com/v1/. The Zeabur Catalog version numbers the releases of this repository. Before 1.0, a minor release can change bundle.tar.gz and the files in this repository, but the API on v1/ changes only as The API describes, so a reader of v1 reads every release on it.

FileContents
api-v1.tar.gzThe API of this release, under v1/.
bundle.tar.gzA bundle containing cross-check data, components, templates, schemas, conformance cases and related files.

SHA256SUMS lists the checksum of every other file and has a cosign keyless Sigstore signature bundle, SHA256SUMS.sigstore.json. Every file also has a GitHub build provenance attestation.

The release.yml workflow of zeabur-oss/catalog signs each release from v0.5.2 on. A signature names that workflow and the tag.

The API is static JSON files. It holds facts: what each component declares, what it renders, what e2e measured, and each template as written. It doesn't hold values worked out from them, such as totals or the distributions a component passed on. A reader works those out, as How installers choose and install components describes.

PathContentsSchema
v1/catalog.jsonThe release's version and commit, the profiles, the Kubernetes versions, the pinned distributions and the id and sourceDigest of each component and each template.catalog.schema.json
v1/components/<id>.jsonOne component: its id and sourceDigest, its declaration, its render, its measurements and the locales of its readmes.component-file.schema.json
v1/templates/<id>.jsonOne template: its id and sourceDigest, its template, its manifests, its measurements and the locales of its readmes.template-file.schema.json
v1/components/<id>/README.md, v1/templates/<id>/README.mdThe README of a component or template, with the same name as in the repository: README.md for en, README.<locale>.md for another locale in readmes.
v1/schema/The schemas above, component.schema.json, the schema of a declaration, and template.schema.json, the schema of template.

The schemas are the contract, and the Rust types of crates/zeabur-catalog-format generate them, with the TypeScript types of types/v1/catalog.ts. Each file of a release passes its schema.

  • declaration is the component file as written, as JSON.
  • sourceDigest is the digest of the component's directory without its READMEs, which is component.yaml. A measurement with the same sourceDigest measured this file.
  • render is what helm template renders for each profile the component supports, at kubernetesVersion, the newest Kubernetes version the catalog tests. For each profile, workloads lists each Deployment, StatefulSet and DaemonSet with its release, namespace, name, kind, replicas, and the requests and limits of its containers and initContainers. A StatefulSet also has the storage of its volumeClaimTemplates. A DaemonSet has no replicas; it runs one pod on each node. persistentVolumeClaims lists the claims the component renders with their storage.
  • measurements lists each environment where e2e ran the component.
  • template is template.yaml as written, as JSON. See Template format.
  • manifests is the text of manifests.yaml as written, as one string. It has {{ .Namespace }} fields, so it isn't YAML until the installer expands it, and a JSON object couldn't keep its comments or those fields.
  • A template's sourceDigest is the digest of its directory, template.yaml and manifests.yaml together. The READMEs and e2e.yaml are left out, so editing a README keeps the digest.

https://oss-catalog.zeabur.com/v1/ always holds the latest release of API major version 1, whatever the Zeabur Catalog version. A change inside v1 only adds, such as a field, a value or a file. It never removes a field, changes a field's type or makes a field required. A change that would do so comes with v2, at its own path, and v1 then keeps the last release that had it. CI checks every file of a new release against the schemas of the latest published release, and against its own, and fails when one does not pass. A new field or value passes the published schemas, because a reader ignores a field it doesn't know and handles a value it doesn't know. A reader depends on the data, so the data is what must keep passing; the text of a schema may change. The first release whose schemas come from the Rust types is the new baseline: its schemas rename their $defs, write enums as oneOf and take a quantity only as a string, and every component and template of the catalog passes both them and the schemas before them. A reader ignores a field it doesn't know, and handles a value it doesn't know as follows:

FieldA value the reader doesn't know
defaults.<profile>Treat it as unsupported.
releases[].type, security.podSecurityDon't offer the component.
inputs[].generate.typeDon't fill in the input. A component or template that needs the input can't be installed.
distributions, detection.addons[].distribution, a measurement's distribution, a workload's kind in renderIgnore the entry.
A measurement's resultThe run didn't pass.

Each measurement names its environment with distribution (kind, k3s, rke2 or kubesolo), profile, platform, kubernetesVersion and distributionVersion, the release of a distribution on the host. result is passed or failed, and sourceDigest is the digest of the component file that the run installed, and dependencies the sourceDigest of each component that the run installed before it, by ID. addOns gives the pinned release of each add-on that the run installed on the host, by name. versions gives the version of each release that the run installed.

"measurements": [
{
"distribution": "kind",
"profile": "single-node",
"platform": {"os": "linux", "architecture": "amd64"},
"kubernetesVersion": "v1.37.0",
"result": "passed",
"sourceDigest": "h1:4RtmKjCcpt+eWwv4Imw1vsdJNJMTxzw/PJ1fBh0+Fzg=",
"pods": [{"workload": "traefik", "kind": "Deployment", "memory": "22Mi", "cpu": "3m"}],
"versions": [{"release": "traefik", "version": "41.7.1"}],
"measuredAt": "2026-11-03"
}
]

A passing run has pods, one row for each workload: its workload name, its kind, and the idle memory and cpu of one pod of it. Both are Kubernetes quantities such as 22Mi and 3m, rounded to whole MiB and millicores. A workload is a Deployment, StatefulSet, DaemonSet, or bare Pod, or the controller of a Job. The rows cover the pods in the component's own namespaces as the cluster ran them, including pods that an operator creates. To get a total, multiply each row by the workload's replicas in render and add them up. The scheduler places pods by requests, so an installer compares the sum of the memory requests in render with a node's allocatable memory.

A reader that reads the API trusts the HTTPS origin, oss-catalog.zeabur.com. The files aren't signed one by one. A mirror is a different origin, so a reader trusts it only when its configuration says so. To trust a release instead of an origin, verify SHA256SUMS, which covers api-v1.tar.gz, as below describes.

The tool first pins the version to use, then verifies the file. The following commands verify the signature of SHA256SUMS, then the files it lists. Download the files into a new private directory first:

tag=vX.Y.Z
cosign verify-blob SHA256SUMS --bundle SHA256SUMS.sigstore.json \
--certificate-identity "https://github.com/zeabur-oss/catalog/.github/workflows/release.yml@refs/tags/$tag" \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
sha256sum --check --ignore-missing SHA256SUMS

To check the attestation instead, run gh attestation verify api-v1.tar.gz --repo zeabur-oss/catalog --signer-workflow zeabur-oss/catalog/.github/workflows/release.yml.

Releases up to v0.5.1 were signed by release.yml of zeabur-oss/.github; for those, use --certificate-identity-regexp '^https://github\.com/zeabur-oss/\.github/\.github/workflows/release\.yml@' with --certificate-github-workflow-repository zeabur-oss/catalog and --certificate-github-workflow-ref "refs/tags/$tag", and --signer-workflow zeabur-oss/.github/.github/workflows/release.yml.

Read the release and generate installation content

Section titled “Read the release and generate installation content”

After verification, the tool unpacks api-v1.tar.gz and reads it as the API.

When installing components, the tool runs detection, offers the components enabled by default (recommended) for the cluster's profile, and collects each component's inputs from the user. It then generates installation content according to the install order and merges contributes into the corresponding targets. How installers choose and install components gives the rules for choosing them.

When deploying a template, the tool checks that the cluster meets all requirements listed in requires, collects template inputs from the user, and writes the remaining automatically generated values to a Secret. It then renders and applies manifests.yaml for the project's Namespace.

For deployment instructions, see Deploy a template.

Run these commands at any commit:

nix build .#release
cargo run -p zeabur-catalog -- api --version X.Y.Z

nix build .#release builds bundle.tar.gz, which contains:

  • crosscheck.json
  • components/
  • templates/
  • schema/
  • config/
  • conformance/
  • measurements/
  • LICENSE
  • README.md

zeabur-catalog api writes the API to out/api/v1/ and checks each file against its schema. It renders the charts, so it needs helm and the network. scripts/ci/release.sh <version> <dir> packs it into api-v1.tar.gz the same way a release does.

These commands build files that are byte-for-byte identical to the release files. Tools can build from an unreleased commit, then compare the files with the signed release after that commit is released.