Skip to content

Releases

v1.0.0-alpha.1

v1.0.0-alpha.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Nov 20:09
Immutable release. Only release title and notes can be modified.

Changes

An alpha pre-release: it brings the fleet hub (experimental) and the
fixes of a full audit, for trying out before 1.0.0. 0.6.0 stays the latest
stable release (--version 0.6.0) and keeps receiving fixes. It upgrades
in place from 0.6.0 and rolls back to it.

Upgrade notes

  • The console's store gains a column (builds.order_ms) on its first
    start; a rollback to 0.6.0 keeps working on the same store. A box that
    does not set fleet.role renders as before.
  • A box's GitLab token is now read from its Secret at every use; a Secret
    emptied while the box runs stops its GitLab reads at once. An empty
    token file at start still starts the box with a warning, as in 0.6.0.
  • A box that joins a fleet as a member stops serving its own web and
    read-only JSON API (/api/v1/builds); the hub shows its
    pages under /m/<name>/ but not the JSON API, and the sessions of its
    own sign-in end at its first start as a member. Upgrade a fleet's hub
    before its members: a member newer than its hub is refused until the
    hub is upgraded.
  • The controller, the web and the routers restart once for the new
    image, and the main runner's pod once for its new pod security context
    (RuntimeDefault seccomp); the daemons and their disk probe stay, and so
    do the store and the cache. A router restart lets its open builds finish
    for control-plane.router.drainSeconds (300 s) and then cuts them.
  • The controller's API now refuses a TokenReview that does not confirm
    its audience: a cluster whose token authenticator does not report
    audiences refuses the web and the routers after the upgrade.
    Kubernetes' own ServiceAccount authenticator reports them.
  • The store records the last day its daily figures were summed (a row in
    its meta table) and when the runners' S3 cache was last listed (a
    column); a rollback to 0.6.0 ignores both. A step whose stored operation
    holds a secret may once show a different reason after the upgrade.
  • A controller started without sign-in (and not in a fleet) deletes the
    sessions and sealed GitLab tokens an earlier sign-in left. The grants
    stay valid at GitLab until they expire: revoke them there.
  • If you scrape the main runner's metrics, list the scraper in
    gitlab-runner.metrics.from: the runner's pod now has a NetworkPolicy
    that admits nothing else.
  • GET /api/v1/builds lists one image name per images item. A client
    that split the items on commas keeps working; one that matched an item
    against the joined string must match single names now.
  • GitLab CI component: a later job that read IMAGE or IMAGE_DIGEST
    from a push: false job got empty values; it now gets none.
    timeout-minutes: 0 now fails the job instead of cancelling the build
    at once. The include's integrity changes (the release notes print the
    new one).
  • quickstart.sh: --runner-token-file now wins over RUNNER_TOKEN when
    both are given (as its help always said); a --build-dir that is not
    an absolute path without spaces is refused.
  • integrations/gitlab-runner: the fragment now runs gitlab-runner
    alpine-v19.5.1; install it with chart 0.94.1.
  • control-plane: the new value retention.storeShare (default 70) bounds
    the controller's database to that percent of
    controller.persistence.size. A store already above it loses its
    oldest builds at the first hourly retention after the upgrade (the
    images' daily figures stay); set retention.storeShare: 0 to keep the
    old behaviour.
  • Hub: scripts that post the hub's page forms (not the API) now send
    confirm=yes to revoke an API token, change or take away a role, or
    replace an unused join token, and name=<cluster> to remove a cluster;
    without them the hub answers with its confirmation page and changes
    nothing. The management API is unchanged.

Security

  • With sign-in and several GitLabs, a person's GitLab token is only ever
    sent to the GitLab that issued it. Before, opening a build or a job of
    another GitLab (including a link printed in a job log) could send it
    there, and an admin's pages of another GitLab did too; those pages now
    show the stored data, and no token is renewed because of the other
    GitLab's refusal.
  • The controller's API checks that Kubernetes confirmed its audience in
    each TokenReview, and bounds the reviews of unknown tokens per caller
    address and overall (a 503 asking to try again past the bound); refused
    calls are logged once a minute per route.
  • A job the console has no record of redirects to its build only for
    someone who may see that build.
  • The sign-in check judges /static/ and /auth/ addresses as sent, so
    an encoded slash no longer reaches the not-found page without sign-in.
    A sign-in return address with a dot segment ending under /auth/ is
    refused.
  • Sign-in: the login cookie answers one callback only; a replayed
    callback is refused without asking GitLab's token endpoint.
  • With sign-in at an https, non-loopback address, the console sends
    Strict-Transport-Security (one year).
  • With sign-in, the Nodes pages show running targets, cache-mount names
    and base-image names to admins only.
  • Secret masking covers more formats: Authorization headers of any
    scheme, PRIVATE-TOKEN/JOB-TOKEN headers, options and assignments
    named like a secret, secret query parameters, JWTs, registry JSON
    credentials, npm, PyPI, Stripe, Google and Vault tokens, runner
    registration tokens and Slack webhooks; secret build arguments also
    URL-encoded, base64 and JSON-escaped. A long log or line cut where
    masking shortened it no longer shows the remainder of a secret.
  • Build-argument values are masked for known token formats and passwords
    in URLs whatever the argument's name, when a build is stored and when it
    is read. A token in a value, or a secret argument's value repeated in
    another argument, no longer stops the console from naming that argument
    as the change between two builds.
  • Stored build operations and the build context option no longer keep
    secret values in clear (keyed hashes, as for secret-named variables);
    "fetched from the network" paths hide secret build arguments.
  • Order hint: the fragment and the "the step also runs" text are built
    from the step name, which is masked, not from the raw command (a token
    in an installer's RUN line appeared in clear there and in
    /api/v1/builds order[].fragment and order[].others).
  • The console's database and step-output files are created readable by
    their owner only (0600), and existing ones are tightened on start.
  • The build router refuses connections above 4096 open in all or 256
    from one address (-max-conns, -max-conns-per-source) and closes a
    connection that sends nothing within 10 s before dialing a daemon: a CI
    job can no longer exhaust the router's memory.
  • The daemons' NetworkPolicy and the jobs namespace's also block
    168.63.129.16 (Azure WireServer), 100.100.100.200 (Alibaba) and
    fd20:ce::254 (GCP IPv6) by default
    (buildkit.networkPolicy.egress.blockedCIDRs).
  • The console's NetworkPolicy also keeps out router.clientNamespaces,
    the daemons' namespace and pods labelled
    ci-accelerator.io/component=ci-job
    (control-plane.networkPolicy.deniedComponents, default
    [buildkit, ci-job]).
  • The box issues the jobs' client certificate for 72 hours
    (buildkit.tls.client.duration, new); the daemons' certificate keeps
    8760h. A copied job certificate stops working sooner.
  • The main runner's pod gets a NetworkPolicy (nothing reaches it;
    gitlab-runner.metrics.from lets a scraper reach :9252: its listener
    also serves the URL of every job it runs) and RuntimeDefault seccomp.
  • golang.org/x/net v0.62.0 (CVE-2026-78661 in x/net/html; govulncheck
    found no call path).

Added

  • A fleet (experimental: its values, API and protocol may change between
    releases): several boxes under one console. A hub is a release of the
    control-plane chart with fleet.role: hub; a box joins it with
    fleet.role: member, its controller keeping one outgoing connection to
    the hub's console address (no inbound address, works behind NAT), keys
    pinned both ways. The hub shows each cluster's console under
    /m/<name>/ with a cluster switcher, lists the clusters on Members,
    opens a pipeline whose jobs ran in several clusters grouped by cluster,
    and sends the job links printed in job logs to the cluster that ran the
    job. While a cluster is away the hub shows the pages each person opened
    before, dated (for at most a day). Clusters join by name and public key
    or with a join token, through the console or the hub's management API
    (/api/v1/fleet/). The hub never sends a person's session to a member,
    bounds a member's answers to 64 MiB, and writes nothing into a member's
    history; the controller API states its version (Config.API) and its
    setup digest. docs/fleet.md, ADR-0063.
  • Fleet administration (experimental): roles viewer / operator / owner kept
    in the hub (the values' signIn.gitlab[].owners are locked owners), API
    tokens with an expiry chosen at issue, the Access and Audit pages; "Add a
    cluster" in the console with a short list of settings, generated values
    and install commands and a one-time join token (fleet.join); the
    runner's token and S3 keys sealed at the hub (fleet.secretsKey) and
    delivered to the cluster over its link; ci-accelerator hub backup,
    hub restore (voids every API and join token it holds) and hub grant
    in the hub's pod. docs/fleet.md, ADR-0064.
  • A fleet member trades its join token again until the hub answers (no
    restart needed), sends it only over https (http to localhost or a
    cluster Service), follows no redirect with it, and starts without
    waiting for the hub; fleet-keygen refuses to write over an existing
    file; a delivery sets only the keys the hub keeps.
  • The image's /licenses/README lists the linked Go modules with their
    versions and where their source is; `github.c...
Read more

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 10:53
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.

v0.5.2

Choose a tag to compare

@github-actions github-actions released this 09 Nov 22:45
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.

v0.5.1

Choose a tag to compare

@github-actions github-actions released this 04 Nov 19:52
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.

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 04 Nov 19:01
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.

v0.4.1

Choose a tag to compare

@github-actions github-actions released this 03 Nov 19:31
Immutable release. Only release title and notes can be modified.

Changes

Upgrade notes

  • From 0.4.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.
  • One-machine installs: run 0.4.1's quickstart.sh the same way as the
    first time (docs/upgrading.md).
    A GitLab token that a second run of an earlier script added is kept
    from now on, as long as the running release still uses it; if a later
    run already dropped it, pass --gitlab-token-file once more.

Changed

  • quickstart.sh, run again to upgrade: it stops on a 0.2.x install
    before it changes anything on the machine (it upgraded cert-manager and
    rewrote the runner's Secret first); it keeps using a GitLab token that
    the running release uses, also when values.yaml does not name it (a
    later run dropped it), and leaves out one the release no longer uses; it says that k3s stays as installed instead of
    naming the version it would install; the command it prints for applying
    values.yaml waits up to 15 minutes.
  • Upgrading has a page of its own, docs/upgrading.md:
    Helm, the one-machine install (what a second run of the new release's
    quickstart.sh changes and what it leaves alone), GitOps, checks,
    rollbacks and the moves from 0.2.x and 0.1.0.
  • Documentation brought up to 0.4.0: git contexts in the architecture,
    troubleshooting and the network policies, the e2e against GitLab CE,
    the disk probe's load figures in the buildkit chart's README.

Install

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

Full changelog: v0.4.0...v0.4.1

Digests

ghcr.io/hoobiboobi/ci-accelerator@sha256:08e0b22c5eba8544d6a104d42c9ce7e5f57d8901d21dffa7f289842f570ae256
ghcr.io/hoobiboobi/charts/buildkit@sha256:a0e41b5f00dbc9cb7e1994620e9b12566a235b635ef4347bac688d06c83da95f
ghcr.io/hoobiboobi/charts/ci-accelerator@sha256:50ef0d97ebceacfd7364864e2dbea3e4c24fb700c3c67daece7c9dadee5e8bd2
ghcr.io/hoobiboobi/charts/control-plane@sha256:df78d1909c6cf64fec8932ba322018e23e21df37358226f4430411c71c678c56

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

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 03 Nov 17:32
Immutable release. Only release title and notes can be modified.

Changes

Upgrade notes

  • From 0.3.11, helm upgrade in place. The controller, the web and the
    routers restart once for the new image; the main runner stays as it is.
    The store gets two more columns, which 0.3.11 ignores: a rollback keeps
    working on the same store.
  • The daemons restart once for BuildKit v0.34.2 (a security release,
    see below), one node at a time: the builds running on a node finish
    first (up to terminationGracePeriodSeconds). With the default
    emptyDir storage the restarted daemons start with an empty cache; with
    hostPath they keep it.
  • The component's include changes with the release (its integrity hash
    is in the release notes and the box's NOTES); jobs that keep the old
    include keep working.
  • The component's job now extends a template of its own
    (.cia-checkout-local or .cia-checkout-git). With the default
    local it sets nothing: an extends: you add to the job replaces it
    without changing anything.

Added

  • The CI component builds from a git context with
    context-source: git: the build job checks nothing out, and the build
    node fetches the pipeline's commit itself (only that commit, into a copy
    of the repository it keeps), with the job token as a BuildKit secret.
    Other jobs of the pipeline keep their checkout. Meant for repositories
    with a large history; see the component's README for what a git context
    leaves out (.dockerignore, CI artifacts, Git LFS, private submodules)
    and ADR-0057.
  • The console reads a git context's commit as the build context: a new
    commit is "your change" or not by comparing the commits (which holds in
    full for a git context), and a rebuild of the same commit is the build
    farm's.

Security

  • BuildKit v0.34.2 for the daemons, the CI component's client image and
    the image build, at once under the security-patch rule
    (ADR-0041): it fixes a
    daemon panic when a build resolves the same git source twice
    (GHSA-2fqp-xg6f-v7gj, which git contexts make reachable) and a client of
    the control API setting extended attributes on files outside the state
    directory (GHSA-w26x-xg27-7qjc).

Changed

  • GitLab's comparison of two commits now tells a submodule's new commit
    from a file: it counts for everything the build copies from inside the
    submodule, and for a context folder inside it. Comparisons stored by
    earlier releases are asked again when a git context's rebuild needs
    them.
  • The CI component no longer fails a job after a good build when BuildKit
    prints a step twice (its summary used head under pipefail), and
    refuses a timeout-minutes that is not a whole number before the build.
  • The console's project switch builds its redirect from the checked
    parts of the address it returns to (a CodeQL finding; it could not lead
    elsewhere before either).
  • Renovate has no schedule of its own; the workflow's weekly run decides
    (a run GitHub started late fell outside the old window).

Install

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

Full changelog: v0.3.11...v0.4.0

Digests

ghcr.io/hoobiboobi/ci-accelerator@sha256:5641f71e255c36f46db112df9b29cf9e470ead0d10f46676c3a4ad8947c97333
ghcr.io/hoobiboobi/charts/buildkit@sha256:91a322d7ee4005b3161035d5892402c7a6ac0e990d8b7f088c13008fc600b4f3
ghcr.io/hoobiboobi/charts/ci-accelerator@sha256:e1123b550b71604be1dabf3b376ba4db78df9ad443dd98850fdcbea4f9efd2d5
ghcr.io/hoobiboobi/charts/control-plane@sha256:e77b8b8fff47a4d52d154bb0d8587a1bd174d1970d5aaf4f625a4d0d58ff5942

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

v0.3.11

Choose a tag to compare

@github-actions github-actions released this 01 Nov 22:51

Changes

Upgrade notes

  • From 0.3.10, 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. A router's restart, like every
    release's, cuts the builds it still carries after
    control-plane.router.drainSeconds (300 s by default; production with
    long builds: 1200-1800 s, with a longer --timeout).
  • Rebuilds the console called "build farm" because GitLab showed no
    change in the repository become "unclear"
    when the controller starts:
    the comparison cannot see CI artifacts or generated files in a build
    context. Set control-plane.reasons.trustGitComparison=true to keep the
    old reading if your build contexts hold repository files alone (it can
    be switched either way later; GitLab is not asked again). Insights'
    figures change accordingly for the last 30 days.
  • The jobs namespace gets a NetworkPolicy (jobsNamespace.networkPolicy,
    on): nothing connects into a job pod, and job pods reach everything but
    cloud instance metadata (buildkit.networkPolicy.egress.blockedCIDRs).
    It is created also when the namespace is not the release's
    (jobsNamespace.create=false). Turn it off with
    jobsNamespace.networkPolicy.enabled=false.
  • Runner tier pods get a NetworkPolicy without ingress: their
    :9252 (health, metrics and an unauthenticated job list and pprof) is
    reachable only by the kubelet's probes. A scraper of their metrics needs
    runnerTiers.<tier>.manager.metricsFrom.
  • The console answers only its own host names when it knows its address
    (global.console.url, without sign-in): localhost, IP addresses and
    *.svc names still work. If people reach it under another name, set
    global.console.url to that name.
  • The CI component no longer marks its job interruptible by default
    (cancelling a build whose steps another build shares can fail that build,
    moby/buildkit#7268); interruptible: true brings it back. It passes the
    context folder to BuildKit (--opt ci-accelerator.io/context, ignored by
    the Dockerfile frontend, no cache key changes), so its integrity hash
    changes: update an include with integrity.

Changed

  • "Build farm" only when it is proven
    (ADR-0056). No change in
    the repository is no longer taken for no change in the build context: such
    a rebuild is unclear, and its page says what GitLab's comparison showed
    and what it cannot see. A witness from the same pipeline counts only when
    it read the same context folder (or is a build of the same image), and a
    verdict the settling made itself is never a witness. Builds with
    --no-cache count as the job's own choice, and a step behind a download
    without a checksum (ADD https://..., a git branch) as unclear, naming the
    source without its credentials.
  • A change in a stage shared with another job is named: a build that
    received the changed stage from a parallel job said "this step changed"
    with the same text on both sides; it now names the build argument or
    the line that changed.
  • One Dockerfile for several images with one target (--target app
    for each service): each build is compared with its own repository's
    previous build, not with the other service's.

Fixed

  • A pipeline search or the home page held the controller's database for
    seconds at a few hundred thousand jobs: the store now keeps the query
    planner's statistics, and the pipeline queries name their index.
  • A build's Dockerfile line ranges are kept within the file: ranges from a
    client's source map could make one page view walk billions of lines.
  • Ids beyond GitLab's range and times in the future from job variables
    (CI_PIPELINE_ID, CI_PIPELINE_CREATED_AT, CI_JOB_STARTED_AT) are not
    stored (a pipeline id of 2^63 made the project's Pipelines page fail),
    and a project's name comes from the job's URL, which the job cannot set.
  • A job's second build no longer shows the first build's time as
    "checkout and the job's script"; the waterfall shows the runner's wait
    once per job.
  • The build page found the router's decision for a job only among its
    first 50 connections.
  • After one failed connection to the only daemon of a node or zone, the
    router turned jobs away for 30 s; it now tries that daemon again.
  • The web and the routers notice a controller that stopped answering
    within about 20 s (HTTP/2 pings), not at each call's timeout.
  • After a top cache hit, a build restored from the store read every
    changed step as new.
  • The CI component no longer exports the digest of an earlier job's
    build-metadata.json when push: false or the build fails, and names
    IMAGE only for an image it pushed.
  • quickstart.sh --uninstall removes only what the script installed: it
    refuses without its install's marker, and keeps a --build-dir that
    existed before the install.

Added

  • The published image carries the licences and notices of every module
    linked into it (/licenses) and the org.opencontainers.image.licenses
    label.
  • A release is built only from a commit on main or a release branch, and
    its SHA256SUMS is signed (SHA256SUMS.sigstore.json, cosign verify-blob).
  • A weekly scan of the third-party images the charts run by default
    (BuildKit, gitlab-runner), with dated grants for findings that have no
    release to move to (make third-party-scan).
  • Renovate keeps the pins current (docs/dependencies.md): a weekly
    run from the repository's own workflow, as a GitHub App, opens one pull
    request per subject (the Go toolchain, BuildKit, the gitlab-runner chart
    with its image, cert-manager, k3s, Helm, kind and kubectl, the test
    tools, Node, the Go modules, the GitHub Actions) for versions at least
    two weeks old, with the checksums next to the versions recomputed from
    where each project publishes them (scripts/update-pins.sh, also for
    bumps by hand). make renovate-check shows every pin is found, make pins-check compares every sum with upstream's. The CI component's
    build.yml gained one comment line, so its integrity hash changes with
    the next release.

Install

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

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

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

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

Full changelog: v0.3.10...v0.3.11

Digests

ghcr.io/hoobiboobi/ci-accelerator@sha256:1abe877553716bbec50cb0a261603a4ef05ab1d7158721348760ceb810f7dfe7
ghcr.io/hoobiboobi/charts/buildkit@sha256:4a446d3c0ff1ce2e3cd5162202398a74e2bf66ba96c6525a6130310e0e6940c8
ghcr.io/hoobiboobi/charts/ci-accelerator@sha256:d0bcb8d600b0fe62f193ba0f91266d22cbde7f25d5c227457bcb7b6db69ef988
ghcr.io/hoobiboobi/charts/control-plane@sha256:136355a6fa2dcf59c9c01d4c60180ad2dd2e9aa20398e01ed18998d74cdbe09d

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

v0.3.10

Choose a tag to compare

@github-actions github-actions released this 31 Oct 09:58

Changes

Upgrade notes

  • From 0.3.9, helm upgrade in place. The controller, the web and the
    routers restart once for the new image; the daemons, their disk probe
    and the runner stay as they are.

Changed

  • The console compresses its responses (gzip or zstd, whichever the
    browser accepts) for pages, JSON, text, the search index and its
    stylesheet and script: a pipeline's page goes as 8.7 KB instead of
    87 KB, the home page as 7 KB instead of 46 KB. That counts wherever the
    console is reached through a tunnel, a VPN or a slow proxy; the live
    updates' event stream, images and responses under 1 KB go as they are.

Install

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

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.3.10/quickstart.sh
curl -fsSL https://github.com/hoobiboobi/ci-accelerator/releases/download/v0.3.10/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.3.10/ci/gitlab/build.yml
    integrity: sha256-7I/g5w4qW2YFMX1EOXY/3ghzXq9/gMypBX4hYncjdzo=
    inputs:
      runner-tags: [your-runner-tag]

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

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

Full changelog: v0.3.9...v0.3.10

Digests

ghcr.io/hoobiboobi/ci-accelerator@sha256:0bf21ef3f30bf49a3f9220091aea4b2e037ec486a0a236a78ae77d4538e48711
ghcr.io/hoobiboobi/charts/buildkit@sha256:b5899ea3109fae91ea5a4884190cb4d03b7d6c58baff4ac33a2f934aa7222c0c
ghcr.io/hoobiboobi/charts/ci-accelerator@sha256:5542c7678e7cf2c2d02f980a2a47cfa8d6c8cd751c5a3875ef6a3c68cf5a9d73
ghcr.io/hoobiboobi/charts/control-plane@sha256:d8aacb82662807f95b6366cfaf919611f3699b52b1895507c948d0d1fe67c9b5

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

v0.3.9

Choose a tag to compare

@github-actions github-actions released this 31 Oct 09:12

Changes

Upgrade notes

  • From 0.3.8, helm upgrade in place. The controller, the web and the
    routers restart once for the new image; the routers' DaemonSet now rolls with
    maxSurge: 1, maxUnavailable: 0 (no pod restarts for that alone). The
    controller adds an index of executed steps at its first start (no
    schema change: a rollback keeps working).
  • Refused now, with a message saying what to change: the standalone
    control-plane chart with gitlab.token and more than one gitlab.urls
    (the token was sent to each GitLab: use sign-in or one URL); in the box,
    runner tiers named gitlab or caches, and another
    buildkit.service.port without the router.
  • The CI component's integrity hash changes (see the release notes).

Fixed

  • Live tail: a progress bar that redraws its line no longer freezes at
    an early percentage, and a cut drawing can no longer show the first part
    of a secret; secret build arguments of several lines and armored PGP
    private keys are masked (PGP keys also in stored output).
  • Router: a daemon still listed but not reachable (a lost node) no
    longer fails the jobs routed to it: the router tries the next choice and
    passes that daemon over for 30 seconds. A rollout starts each node's new
    router before the old one drains.
  • Sign-in: two tabs signing in at once both completed nothing; the
    second completes now. Behind an ended session the pages' scripts no
    longer start sign-ins at GitLab every few seconds: the page stops
    updating and says so.
  • Control plane: the installation's GitLab token is refused for more
    than one GitLab; in the box, the controller's certificates use the
    global issuer's kind and group, not only its name.
  • Console: pipelines created in the same second at a page's edge are
    no longer skipped; a job that built twice is drawn by its newest build;
    steps received from another job carry no CPU or memory of their own and
    wait for their own stage only; pick mode hears of the pinned project;
    projects of several GitLabs are told apart; huge numbers in an address
    are 404, not 500; with sign-in a reader's refused commit comparison is
    not stored for everyone.
  • Store: saving a build no longer walks every cached run of each step
    under the write lock (1.4 s per save at 60,000 builds); a read cut short
    reports its error.
  • Box and component: clashing tier names and another daemon port are
    refused instead of rendering broken objects; the component no longer
    fails a job after a successful build whose log has no context-transfer
    line, and trims indented build-args and secrets lines;
    scripts/buildkit-certs.sh names a missing option value and keeps
    wildcard SANs as written.

Install

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

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.3.9/quickstart.sh
curl -fsSL https://github.com/hoobiboobi/ci-accelerator/releases/download/v0.3.9/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.3.9/ci/gitlab/build.yml
    integrity: sha256-7I/g5w4qW2YFMX1EOXY/3ghzXq9/gMypBX4hYncjdzo=
    inputs:
      runner-tags: [your-runner-tag]

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

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

Full changelog: v0.3.8...v0.3.9

Digests

ghcr.io/hoobiboobi/ci-accelerator@sha256:32fe2e553556eabfbf877d5e7e78d2fb887a0adb6f3b70475cda16d9766f7f75
ghcr.io/hoobiboobi/charts/buildkit@sha256:16bf61e16ca095be8962eb9c7bb66d2de802389bc5fdb6a07a3cf244497a2e06
ghcr.io/hoobiboobi/charts/ci-accelerator@sha256:2e9819131ba28911d0d8c9878c61640928f703e905799996a0346de3934d7748
ghcr.io/hoobiboobi/charts/control-plane@sha256:6032856d79d95178e453121ad0479e05878070a98f010912177c37028c1d6bdf

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