gameplane / docs
DEVELOP

CI, releases, and signing

Understand the gates from pull request through edge images, tagged releases, Helm publication, and Cosign verification.

Testing & Releasev0.417 MIN
Edge channel is beta software

The rolling :edge channel is test software; production installs should pin a tagged chart and immutable image digests.

Continuous integration

CI covers Go modules, envtest, web build/coverage, browser tests, Helm rendering, and disjoint Kind E2E buckets.

The flowchart below shows how a pull request moves from its push to merge, and which CI jobs run.

flowchart TD
    A["Push branch and open PR"] --> B["auto-label: adds missing type: and area: labels (every 15 min)"]
    A --> C["ci workflow: detect changes job (hack/ci_scope.py)"]
    C --> D{"Selection error, unmapped path or ci: full-run label?"}
    D -- yes --> E["Every CI job runs"]
    D -- no --> F["Only the jobs the change affects run"]
    E --> G["ci report job (needs the CI jobs)"]
    F --> G
    G --> H["CodeRabbit advisory review"]
    H --> I["Human approval (master ruleset)"]
    I --> J["Merge; a push to master runs the full suite"]
Matrix testsEvery Go module and required build tag is tested.
Coverage gatesCoverage is merged and enforced per component.
E2E completenessHelm and bucket-coverage checks protect generated and E2E completeness.

Edge channel

Changes on master publish rolling :edge images and immutable sha-<short> tags for all released components.

Multi-architectureImages are multi-architecture and optionally signed by digest.
Immutable pinningCommit-based sha tags provide immutable commit pinning.
Docs/design-onlyDocs and design-only changes require direct review because code CI may skip them.

Tagged release

A v tag builds and signs images, packages the OCI chart, creates release notes, and publishes official modules.

The flowchart below shows the jobs that a release tag starts and the order of the image and chart steps.

flowchart TD
    T["Tag v* pushed"] --> IM["images: one leg per component (12)"]
    T --> MO["modules: push and sign official bundles"]
    IM --> P["Push image by digest"]
    P --> S["Trivy scan, then cosign sign (keyed)"]
    S --> V["Verify signature; check signing/cosign.pub matches the key"]
    V --> TG["oras tag: attach release tags"]
    TG --> CH["chart: helm push, cosign sign, verify"]
    CH --> Q["consumer: qualify-release.yaml as anonymous pull"]
    Q --> GR["github-release: CHANGELOG section as notes"]
RELEASE PATH
01   go build ./... && npx tsc --noEmit # Lightweight local compile checks
02   git tag vX.Y.Z && git push origin vX.Y.Z
03   cosign verify --key signing/cosign.pub ghcr.io/gameplanepanel/gameplane/<image>@<digest>

Release images carry Cosign signatures recorded in the public Sigstore Rekor transparency log. Verify any released or edge image with the signing/cosign.pub key. Pre-rotation releases (v0.2.0-beta.7 and earlier) used the retired Ed25519 key and require signing/2026-07-24-cosign-legacy.pub with the --insecure-ignore-tlog=true flag (see Key Rotation for trust continuity).

The flowchart below shows how the retired legacy key and the current key vouch for releases.

flowchart LR
  Legacy["Retired Ed25519 key<br/>signing/2026-07-24-cosign-legacy.pub"]
  Current["Current ECDSA P-256 key<br/>signing/cosign.pub"]
  Legacy -->|"cross-signature over cosign.pub<br/>cosign.pub.legacy-sig"| Current
  Legacy -->|"verifies releases before rotation"| Old["Pre-rotation artifacts (keyed, unlogged)"]
  Current -->|"verifies releases from rotation onward"| New["Post-rotation artifacts (recorded in Rekor)"]

Signing is mandatory and fail-closed: without COSIGN_PRIVATE_KEY the release job fails before anything is pushed. Every signing job (release.yaml, publish-edge.yaml, images.yaml and republish-modules.yaml) runs in the release-signing environment, whose deployment policy admits only master and v* tags, so a run on any other ref never receives the key. Images are pushed by digest, signed and verified, and only then tagged, so a published tag always names a signed image.


Next guide

Extension services