Skip to content

v0.5.2

Choose a tag to compare

@github-actions github-actions released this 09 Nov 22:45
· 71 commits to main since this release
Immutable release. Only release title and notes can be modified.

Changes

Upgrade notes

  • From 0.5.1, helm upgrade in place. The controller, the web and the
    routers restart once for the new image, and the main runner's pod once
    for gitlab-runner 19.5.1 (the official chart 0.94.1); the daemons, the
    control plane's store and the cache stay as they are.
  • The fixed step count (see Fixed) applies to builds stored from now on,
    and to those of the last two hours or so, which the controller reads
    again from the daemons when it restarts. Older builds keep the count
    they were stored with: one whose only executed steps were git sources
    fetched again still reads "Unclear: 1 step ran".

Fixed

  • Rebuild reasons, found on moby/moby's own Dockerfile:
    • a build whose only executed steps were git or HTTP sources resolved
      again (BuildKit does that in every build) counted them as steps run
      and read "Unclear: 1 step ran; nothing to compare with". It built
      nothing: the lists, the build page and the reasons now leave such
      sources out, as they leave out base images;
    • a COPY --link line that did not change read "Dockerfile changed: LINK
      COPY ... -> COPY ...": BuildKit records it as two operations under one
      step, and a build lists one of them, not always the same one. The
      previous build's step is now the operation of the same kind.

Added

  • The console API has a contract: docs/api/openapi.yaml
    (OpenAPI 3.0.3) describes GET /api/v1/builds. Within v1 no field is
    removed or renamed and no type changes; new fields and values may
    appear. The project's checks hold the responses to it and compare it
    with the last release's (ADR-0059).
  • The ci-accelerator image carries an SPDX SBOM for each platform, next
    to its provenance; the release checks it before signing. Read it with
    docker buildx imagetools inspect ghcr.io/hoobiboobi/ci-accelerator:<tag> --format '{{json .SBOM}}'
    (ADR-0060).

Changed

  • The README is short: what it is, how to try and install it, the first
    limitations and a map of the documentation. Its details moved, word for
    word, to docs/install.md (what gets installed,
    requirements, options, where the cache lives),
    docs/console.md (the console, its levels, sign-in,
    logs, OTLP), docs/limitations.md and
    docs/testing.md; the repository map is in
    CONTRIBUTING.md. Links to the README's old sections point there.

  • Checks: golangci-lint (govet, staticcheck, unused, ineffassign) over the
    Go code, actionlint and zizmor over the workflows, the API contract, and
    one e2e run per kind cluster at a time. zizmor found that the release
    job restored a cache that pull requests write: the release no longer
    uses one. Nothing changes for a user.

  • The ci-accelerator image is built on a newer digest of its distroless base
    (static-debian13:nonroot). Nothing changes for a user.

  • CI: actions/upload-artifact v7.0.2 (retries when the artifact service
    rate-limits). Nothing changes for a user.

  • The box's runner is gitlab-runner 19.5.1 with the official chart 0.94.1
    (was 19.4.2 with 0.93.0): 19.5.3 fixes nothing the box runs into and is
    taken once it is two weeks old.

  • Dependabot no longer scans test/hints/cases: those are test fixtures
    with versions pinned on purpose, never shipped. It still raises security
    updates for the rest; version updates stay with Renovate. Nothing changes
    for a user.

Security

  • The control plane is built with github.com/klauspost/compress v1.20.2
    (was v1.19.2): it fixes a panic on crafted zstd frames (GO-2026-6865,
    GHSA-fpmh-frq8-7rj8), which govulncheck reports reachable through the
    store of step output. The store only decodes what it compressed itself.
  • CVE-2026-78661 in golang.org/x/net/html v0.61.0 (in the image; govulncheck
    finds no call path) is accepted until 2026-11-24: v0.62.0 with the fix
    is taken once it is two weeks old.
  • The default BuildKit v0.34.2 and gitlab-runner alpine-v19.5.1 images
    carry CVE-2026-123158 (openssh), CVE-2026-113351 and CVE-2026-115506
    (libexpat) and CVE-2026-78661 (golang.org/x/net/html), with no release of
    either that fixes them yet (gitlab-runner alpine-v19.5.3 has the same):
    accepted until 2026-12-01 and looked at again then.

Install

helm install ci-accelerator oci://ghcr.io/hoobiboobi/charts/ci-accelerator --version 0.5.2 ...

The control plane (the console's controller and web) is on by default and needs a default StorageClass (or control-plane.controller.persistence.storageClass); --set control-plane.enabled=false --set global.router.enabled=false leaves it out (the build router is part of it).

To try it on one clean Linux machine (k3s, cert-manager and the box with its console):

curl -fsSLO https://github.com/hoobiboobi/ci-accelerator/releases/download/v0.5.2/quickstart.sh
curl -fsSL https://github.com/hoobiboobi/ci-accelerator/releases/download/v0.5.2/SHA256SUMS | grep quickstart.sh | sha256sum -c -
sudo bash quickstart.sh --gitlab-url https://gitlab.example.com/   # asks for the runner's token

The GitLab CI component (a job that builds and pushes on the build farm; ci/gitlab/README.md):

include:
  - remote: https://raw.githubusercontent.com/hoobiboobi/ci-accelerator/v0.5.2/ci/gitlab/build.yml
    integrity: sha256-Th5CoYA2g9uRP3gWvlve0s/5hmho1UK04sDgK23i8rc=
    inputs:
      runner-tags: [your-runner-tag]

The daemons alone: oci://ghcr.io/hoobiboobi/charts/buildkit --version 0.5.2.
The control plane alone: oci://ghcr.io/hoobiboobi/charts/control-plane --version 0.5.2, image ghcr.io/hoobiboobi/ci-accelerator:v0.5.2.

Verify

Needs cosign 2.6 or newer (the signatures are Sigstore bundles). Every artifact of this release:

for ref in ghcr.io/hoobiboobi/charts/buildkit:0.5.2 ghcr.io/hoobiboobi/charts/control-plane:0.5.2 ghcr.io/hoobiboobi/charts/ci-accelerator:0.5.2 ghcr.io/hoobiboobi/ci-accelerator:v0.5.2; do
  cosign verify $ref \
    --certificate-identity https://github.com/hoobiboobi/ci-accelerator/.github/workflows/release.yml@refs/tags/v0.5.2 \
    --certificate-oidc-issuer https://token.actions.githubusercontent.com
done

The release's files (quickstart.sh, the charts' archives) through their signed checksums:

cosign verify-blob SHA256SUMS --bundle SHA256SUMS.sigstore.json \
  --certificate-identity https://github.com/hoobiboobi/ci-accelerator/.github/workflows/release.yml@refs/tags/v0.5.2 \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com
sha256sum -c --ignore-missing SHA256SUMS

Full changelog: v0.5.1...v0.5.2

Digests

ghcr.io/hoobiboobi/ci-accelerator@sha256:5071488b282537162b5e5025e8b6e4748e8273e91188afd88e0a67bf8a18239b
ghcr.io/hoobiboobi/charts/buildkit@sha256:6692b6aa8ff745513cf0d4c81ec8e8bc24fc1e751a11efc655829d6ad0c5a7f1
ghcr.io/hoobiboobi/charts/ci-accelerator@sha256:7f93df8ea04e63daff33cf6dcf3b327f36a74ff83efa3a516b464d45b3ffb6e8
ghcr.io/hoobiboobi/charts/control-plane@sha256:ea0eebac06f01d18afe2dc9a5b0c2ef27ac9dccb58664003e709938dc41ab83e

To pin the box's images by digest (README, "Install"): --set control-plane.image.digest=sha256:5071488b282537162b5e5025e8b6e4748e8273e91188afd88e0a67bf8a18239b (ci-accelerator:v0.5.2) and, for the disk probe next to each daemon (ci-accelerator:v0.3.3), --set buildkit.diskProbe.image.digest=sha256:8103f17d6512ed305f445fc436dfe19cf9669d57745ae95f2cc98756f39b1204. The daemons' BuildKit image is pinned by digest already.