Skip to content

v0.1.0-beta.2

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Dec 14:04
· 8 commits to main since this release
e55da2c

First beta of Shipkeep, and the one to install. It replaces v0.1.0-alpha.8. v0.1.0-beta.1 stopped before its control plane was published and must not be installed: this is the same code, with the release's image scan fixed (#616). Download shipkeep-control-plane_0.1.0-beta.2.tar.gz below and follow docs/INSTALL.md.

Since alpha.8:

  • Release commands. A deployment's page shows the output of its release command live, next to its build output (#584, #595).
  • Backups:
    • A restore checks the restored database against the migration its archive names, and records which archive it came from (#588).
    • backup.sh create ARCHIVE adds the time and a random part to the name it is given, and prints the path it wrote. No archive name is ever written twice, so a kept copy of an older archive can no longer pass for a newer one (#594).
  • Single machine:
    • A single machine installed before builds gets its builder with the control plane installer's --migrate yes (#593).
    • A new single machine sizes its builds' filesystem with --build-disk, and the installer checks the room before changing anything (#576).
  • Fixes:
    • The registry's nightly collection leaves alone a registry nothing was pushed to (#577).
    • PostgreSQL ends the sessions a stopped control plane leaves half-open, within two minutes (#564).
    • The agent's log shipper stops cleanly with its caller (#586).
    • The scheduler's domain can put each reason for refusing a placement into words, for the messages that will show them (#574, a first contribution).
  • Security:
    • ws 8.23.0, and the day's advisories in development tooling (#592).
    • The image scans accept a few findings that cannot apply to how Shipkeep runs, each with its reason and an expiry date (#583, #616). See Known issues.

Upgrading from alpha.8 follows Upgrade:

  1. Copy the bundle's compose.yml, Caddyfile, registry.yml, backup.sh and registry-gc.sh into the installation directory, then set the new SHIPKEEP_IMAGE.
  2. Take a backup with the new backup.sh, then run docker compose up -d.
  3. Upgrade the agents from Servers.

Two things changed:

  • Backup rotations. A rotation that deletes daily-Mon.age by name must now delete by age, since each archive gets its own name. INSTALL.md gives a find … -mtime line.
  • Single machines without a builder. A single machine upgraded from alpha.7 or earlier, which never got its builder, gets it now with sudo bash shipkeep-control-plane/install.sh --dir /opt/shipkeep --migrate yes.

Verified before release. These checks ran in the lab, on Ubuntu 24.04 machines in containers, with the artifacts attached here:

  • Signatures. The bundle's signature, checksums.txt's signature and the agent archives' checksums all check out against this tag's release workflow, as do an agent archive's own signature, the image's signature, and the build provenance of the bundle and the agents.
  • Upgrade from alpha.8, on a control plane with a separate server running an application, following docs/INSTALL.md:
    • the bundle's signature was checked on the machine;
    • the new backup.sh took a backup under its new name, before-upgrade-20261202-141939-f27c32a7.age, printed on standard output;
    • the control plane came up on beta.2 with all its services;
    • Upgrade agents took both agents to beta.2, keeping the previous binary;
    • the application answered before, during and after.
  • A new single machine installed from this bundle with --build-disk 5 started its agent, Caddy, egress proxy and builder. An application deployed on it answers through its Caddy.

A .test name gets no public certificate, so the lab's Caddy used its internal CA. That was the only change made by hand.

Known issues:

  • Archives of version 1 (made by alpha.7 and earlier) carry no name and still restore, with a warning (#581). When that acceptance ends is still to be decided.
  • The image scans accept these findings until the dates given, after which they fail again. None applies to how Shipkeep runs:
    • cross-spawn 7.0.6 in the control plane image (CVE-2026-137199, Windows only), until 2026-12-07. The fix clears pnpm's 7-day minimum age on 2026-12-06.
    • OpenSSL and busybox advisories in the Alpine bases of the pinned Caddy, registry and VictoriaMetrics images, until 2026-12-08 and 2026-12-09. Their services are static Go binaries that neither load OpenSSL nor run busybox's httpd, and the rebuilt upstream images are not out yet.
  • The registry image still carries a go-jose release affected by a pre-authentication JWK parsing issue. Caddy refuses tokens unsafe to parse before they reach it (#543).
  • Deploying from GitHub was tested against a stand-in for GitHub's API and webhooks, not against github.com yet.
  • The private network between servers (WireGuard, #224) is not in this release. It passed its lab test and is in review.

Changelog

  • e55da2c: fix(ci): the release scan takes the dated exceptions, and today's Alpine advisories get theirs (#616) (@samuelmbabhazi)

Control plane

Install it with shipkeep-control-plane_0.1.0-beta.2.tar.gz, attached to this release: docs/INSTALL.md says how. It runs this image:

SHIPKEEP_IMAGE=ghcr.io/shipkeepdev/shipkeep:0.1.0-beta.2@sha256:0670f0c5526df1b5b19b8e1781a287ec1070afe025bdc634ce273180740fea2b