Skip to content

v0.5.1

Choose a tag to compare

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

Changes

Upgrade notes

  • From 0.5.0, 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. Builds stored before the upgrade
    keep, as a rule, the reasons they were given; new builds get the
    corrected ones.

Fixed

  • Rebuild reasons, found on moby/moby's own Dockerfile:
    • a git or HTTP source (ADD https://…git) is fetched again in every
      build; the console took it for the first rebuilt step and said
      "Dockerfile changed: … this step changed" with the same text before
      and after. It now passes over such a source, as it does over a base
      image, and explains the step that used it;
    • a step that builds on the build context and on a source fetched
      from the network was "fed by a remote source" (unclear) even when
      GitLab's comparison of the commits showed a changed file it copies.
      The context now comes first, so the comparison can prove the change;
      with no change in the repository it stays unclear (never the build
      farm's, whatever trustGitComparison says);
    • a RUN step after a changed ENV line read "this step changed" between
      two equal texts. The page now says its environment changed and shows
      the two ENV lines.
  • quickstart.sh no longer ends by saying the console cannot read
    GitLab when a GitLab token was given (with --gitlab-token-file, or
    kept from an earlier run).

Install

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

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.1/quickstart.sh
curl -fsSL https://github.com/hoobiboobi/ci-accelerator/releases/download/v0.5.1/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.1/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.1.
The control plane alone: oci://ghcr.io/hoobiboobi/charts/control-plane --version 0.5.1, image ghcr.io/hoobiboobi/ci-accelerator:v0.5.1.

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

Full changelog: v0.5.0...v0.5.1

Digests

ghcr.io/hoobiboobi/ci-accelerator@sha256:b5637db74780e029519403f6a4cff1ff0332f54a221dd9266ee6a9d79aef8516
ghcr.io/hoobiboobi/charts/buildkit@sha256:1666eff3aa8b08a9c9f25a64a381812df62e8e22523ba920aa86faec0ddd003e
ghcr.io/hoobiboobi/charts/ci-accelerator@sha256:fe74c0238311cc955fdc4b4bfb7bbfc167ef2aec1be9546ef090d70ab2157e36
ghcr.io/hoobiboobi/charts/control-plane@sha256:92ce5e6827e7eb893148725f034506d254181c99d9ce940fc1d3ea96eb807bcf

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