Repository navigation
v0.3.9
Changes
Upgrade notes
- From 0.3.8,
helm upgradein 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 withgitlab.tokenand more than onegitlab.urls
(the token was sent to each GitLab: use sign-in or one URL); in the box,
runner tiers namedgitlaborcaches, and another
buildkit.service.portwithout 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.shnames 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 tokenThe 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
doneFull 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.