Repository navigation
v0.4.1
Changes
Upgrade notes
- From 0.4.0,
helm upgradein 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.shthe 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-fileonce 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 whenvalues.yamldoes 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.yamlwaits 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.shchanges 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 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.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
doneThe 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 SHA256SUMSFull 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.