Skip to content

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 04 Nov 19:01
· 104 commits to main since this release
Immutable release. Only release title and notes can be modified.

Changes

Upgrade notes

  • From 0.4.1, helm upgrade in place. The controller, the web and the
    routers restart once for the new image; the daemons, their disk probe
    and the main runner stay as they are. Nothing changes in the store:
    the hints are worked out from what it already keeps, also for builds
    stored before the upgrade.

Added

  • Cache-mount hints in the console (ADR-0058):
    a build step that runs a package manager without a cache mount, or
    with one that cannot work, gets a ready fragment to put in the
    Dockerfile. The page shows how often the step ran in the last 30 days,
    how long that took in all, and the median. Covers about thirty
    managers, among them apt, apk, dnf, zypper, pip, uv, Poetry, conda,
    npm, Yarn, pnpm, Bun, Go, Cargo, Maven, Gradle, NuGet, Composer,
    Bundler, pub, Hex and Deno.
    The hints are shown:
    • in a Speed-ups card on the build page;
    • as a marker on the step;
    • on the Dockerfile tab;
    • on a Speed-up tab in the step's panel;
    • as hints in GET /api/v1/builds.
  • docs/dockerfile-guide.md: cache mounts for
    non-root steps (uid/mode), on every later step that uses the
    packages, empty under --no-cache, and the common mounts that do
    nothing.

Install

helm install ci-accelerator oci://ghcr.io/hoobiboobi/charts/ci-accelerator --version 0.5.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.5.0/quickstart.sh
curl -fsSL https://github.com/hoobiboobi/ci-accelerator/releases/download/v0.5.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.5.0/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.0.
The control plane alone: oci://ghcr.io/hoobiboobi/charts/control-plane --version 0.5.0, image ghcr.io/hoobiboobi/ci-accelerator:v0.5.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.5.0 ghcr.io/hoobiboobi/charts/control-plane:0.5.0 ghcr.io/hoobiboobi/charts/ci-accelerator:0.5.0 ghcr.io/hoobiboobi/ci-accelerator:v0.5.0; do
  cosign verify $ref \
    --certificate-identity https://github.com/hoobiboobi/ci-accelerator/.github/workflows/release.yml@refs/tags/v0.5.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.5.0 \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com
sha256sum -c --ignore-missing SHA256SUMS

Full changelog: v0.4.1...v0.5.0

Digests

ghcr.io/hoobiboobi/ci-accelerator@sha256:a3041d81a259b8b598e953ef05c103c9df7844fb7ef8f0ddfb82afaf87bbe6e4
ghcr.io/hoobiboobi/charts/buildkit@sha256:621737dcda7bd5d26ae1fef02c28602865e5cc7914a38a787d2f4205632121e0
ghcr.io/hoobiboobi/charts/ci-accelerator@sha256:e4801656615339b96a976830ee4634d2f33828db8a50af6403457b2241b9f2a7
ghcr.io/hoobiboobi/charts/control-plane@sha256:7cfb44ad57dcc33580f504a1c9936e3650a4d321023cbf320720575f2dc7b755

To pin the box's images by digest (README, "Install"): --set control-plane.image.digest=sha256:a3041d81a259b8b598e953ef05c103c9df7844fb7ef8f0ddfb82afaf87bbe6e4 (ci-accelerator:v0.5.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.