Skip to content

v0.6.0

Latest

Choose a tag to compare

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

Changes

Upgrade notes

  • The daemons restart once, for their new pod template (the open-files
    limit, buildkit.openFilesLimit, and the drain before SIGTERM). A
    running build ends with them; start the upgrade when no build runs, as
    for any daemon change. A rollback to 0.5.2 works; the console's store
    is unchanged.
  • Pipelines that include the CI component with integrity: need the new
    value from the release notes (the component's job script changed).

Added

  • The CI component notes in the job's log when the checkout's .git is
    in the build context (no .dockerignore line keeps it out): every
    job's checkout writes its own, so a step that copies the whole context
    runs again in every pipeline. In a lab run of popular open-source
    projects, a quarter lost their warm builds this way. The component's
    integrity changes: take the new one from the release notes.

Fixed

  • A RUN with yum on CentOS 7 (ventoy in the lab run) hung for the job's
    hour on the box while it took four minutes with docker build: the
    daemons and every RUN step inherited the node's open-files limit, 2^31
    on a node whose containerd runs with LimitNOFILE=infinity, and the
    tool closes every possible descriptor. The daemons now cap it at
    openFilesLimit (default 1048576, 0 keeps the node's).
  • A build whose provenance maps other digests than its progress reports
    (seen with older frontend images: # syntax=docker/dockerfile:1.4,
    1.7-labs) said "Nothing was rebuilt: every step came from a build
    running at the same time" although it built them all (grafana and pake
    in the lab run, in every build). Its steps are now its own; their Dockerfile lines and usage are
    not shown for such a build.
  • A Dockerfile with ten steps or more without stage names lost its steps
    1 to 9 on every page: BuildKit names them "[ 1/10]" to "[ 9/10]" (the
    number padded to the count's width), which the console did not read as
    steps (rustdesk's build in the lab run showed none of its 9 steps).
    Stage names no longer keep the padding either ("dev-base " in the
    Resources table).
  • A rebuild of a step that copies the whole build context, when the
    context holds the job's .git (no .dockerignore entry for it), was
    "unclear" for the same commit and "Dockerfile changed" (or another
    file) after a commit even when .dockerignore keeps that file out. The
    console now keeps what the context held (its .dockerignore patterns
    and the paths the frontend asked for, from the build's provenance),
    never counts a file the context did not hold, and names the job's
    .git with what to do about it. Builds stored before the upgrade keep
    their verdicts.
  • A build of another pipeline that ran at the same time (a merge
    request's pipeline next to its branch's, same commit) counted as the
    image's previous build: the rebuild was compared with a build that left
    it no cache, and its reason became "same commit, unclear". The previous
    build is now one that ended before this one started.
  • A project's runner cache on the Nodes page warned about every S3
    folder (no lifecycle rule, a failed listing), also those of other
    runner tiers that hold none of its caches; it now shows the state of
    the folders that hold them (all folders when none does).

Changed

  • The ci-accelerator image is built with Go 1.27.4, which fixes
    GO-2026-6859 (an HTTP/1 server crash in net/http, reached by the
    console's web server). The patch is two days old: a security fix of
    the pinned minor line is taken at once
    (ADR-0041).
  • A stopping daemon now finishes its running builds before it receives
    SIGTERM (its preStop waits while buildctl debug histories lists a
    running build, then 15 s more), and the console's controller keeps
    reading a daemon whose address left the Service until it closes the
    stream (up to 35 minutes). Before, a daemon deleted in the middle of a
    build let the build finish, but with the default emptyDir storage
    the console never stored it: every rollout lost the builds that were
    still running (ADR-0061).
  • The upgrade test starts from 0.5.2, and the release notes point to
    docs/production.md for pinning the images by digest. Nothing changes
    for a user.
  • Documentation: the install is one procedure per starting point, each
    step with its check and what it prints: docs/install.md (a cluster),
    docs/install-existing-cluster.md (a cluster that already runs
    cert-manager, a runner or admission policies), docs/quickstart.md (one
    machine), docs/first-build.md (the first CI job), docs/production.md
    (the cache disk, daemon sizes, digests, zones, OTLP, mirrors);
    docs/upgrading.md, docs/console.md and docs/runner-cache.md are
    procedures too. The README keeps the short form. Every procedure was
    run as written on fresh clusters and machines.

Install

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

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.6.0/quickstart.sh
curl -fsSL https://github.com/hoobiboobi/ci-accelerator/releases/download/v0.6.0/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.6.0/ci/gitlab/build.yml
    integrity: sha256-Hp1o0lc/x3VdadiYVMbcFywe2DL8YkGSGr2K/KpQ8w8=
    inputs:
      runner-tags: [your-runner-tag]

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

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.6.0 ghcr.io/hoobiboobi/charts/control-plane:0.6.0 ghcr.io/hoobiboobi/charts/ci-accelerator:0.6.0 ghcr.io/hoobiboobi/ci-accelerator:v0.6.0; do
  cosign verify $ref \
    --certificate-identity https://github.com/hoobiboobi/ci-accelerator/.github/workflows/release.yml@refs/tags/v0.6.0 \
    --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.6.0 \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com
sha256sum -c --ignore-missing SHA256SUMS

Full changelog: v0.5.2...v0.6.0

Digests

ghcr.io/hoobiboobi/ci-accelerator@sha256:59f96add6a35ad0583a4e2f72c39e93efcba9f67d12aaa25be264a1f5c2d3cdd
ghcr.io/hoobiboobi/charts/buildkit@sha256:1f849e89c794d25d8bba1b853b54ea34d05ec4fb2ccbbf362399f2215dc270e6
ghcr.io/hoobiboobi/charts/ci-accelerator@sha256:29059ddc9cdfb8f69a6ef142f8415040314fe1474b1b49c17e2733c7b2d43c74
ghcr.io/hoobiboobi/charts/control-plane@sha256:5f5a03662eefa8a236324926f253326ca453f227ba38424a101ea09b8d424b6f

To pin the box's images by digest (docs/production.md, "Images pinned by digest"): --set control-plane.image.digest=sha256:59f96add6a35ad0583a4e2f72c39e93efcba9f67d12aaa25be264a1f5c2d3cdd (ci-accelerator:v0.6.0) 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.