Repository navigation
v0.1.0-alpha.8
Pre-release
Pre-release
·
26 commits
to main
since this release
Eighth prerelease of Shipkeep, and the one to install. It replaces v0.1.0-alpha.7. Download shipkeep-control-plane_0.1.0-alpha.8.tar.gz below and follow docs/INSTALL.md.
Since alpha.7:
- Deploy from GitHub.
- Connect a GitHub App to an organization, then create an application from one of its repositories (#526, #528).
- Each push to the application's branch deploys its commit (#527).
- The application's
shipkeep.ymlis shown with its drift from what runs. A change made in the web UI goes back to the repository as a pull request or a commit (#557, #558, #559, #560).
- Builds.
- How a build runs:
- Where images go:
- Security:
- A restore accepts an archive only under the name it was created with. It reads the whole archive before it stops anything (#565). Before, someone who could write where backups are kept could swap in an older genuine archive. Archives made by alpha.7 and earlier still restore, with a warning, since they carry no name.
- A Dockerfile can run only the official Dockerfile frontend and Railpack's (#551).
- A build's Git token is revoked once the build has ended (#549).
- Re-adoption adopts only the certificate the administrator reviewed (#556).
- Every refused exec join counts against its client's budget (#555).
- Caddy refuses registry tokens that are unsafe to parse (#550).
- The egress proxy logs the address it connected to, or the addresses it refused (#535).
- The control plane image takes Debian's security fixes (#525).
- After a restore:
- Fixes:
- A failed route switch restores the previous hostnames (#506, #524).
- A deployment whose runs keep failing is tried again (#508).
- An action left unfinished past its deadline is undone (#513).
- Each exec session gets exactly one recorded closing (#511, #562).
--migratebrings servers of earlier releases to the current layout (#514, #516).- A running action reports to the stream that delivered it last (#507).
- Log and metric reads hold no lock while the store answers (#509).
- Application pages drop late answers and reload when idle (#510, #512).
Upgrading from alpha.7 follows Upgrade, with three steps that are new for this release:
- Copy the bundle's
backup.shandregistry-gc.shinto the installation directory, withregistry.yml. - Add the timer of the registry's collection: the page gives the two unit files.
- On each server that will build Git applications, run the server installer with
--migrate yes. Upgrading the agent does not install the builder. Add--build-disk <GiB>when the server's disk has less room than a fifth of it for the builds, and 5 GiB more.
Verified before release. These checks ran in the lab, on Ubuntu 24.04 machines in containers, with the artifacts attached here:
- The bundle's signature, its checksums, its build provenance and the image's signature all check out against this tag's release workflow.
- Upgrade from alpha.7 with a separate server, following docs/INSTALL.md:
- a backup first, then the control plane with its registry, the collection's timer and the agent;
--migrate yes --build-disk 20then gave the server its builder and a 20 GiB builds filesystem;- the application kept answering.
- A new single machine runs into #572 (below) on a disk with less free space than the default builds filesystem needs. This release's control plane installer cannot pass another size yet. Given a 20 GiB size, this release's server installer finished the machine, and its builder runs.
Known issues:
- A single machine (the control plane and its applications on one machine) upgraded from alpha.7 cannot get the builder. Images still deploy, but builds from Git do not (#569). A new installation of alpha.8 has it.
- A new single machine whose
/var/libhas less free space than a fifth of its size plus 5 GiB stops at its last step, and--resume yescannot finish it (#572).- Free that space before installing.
- If an installation already stopped there: free the space, remove the server part as Starting over says, then run
--resume yes. - A separate server only needs
--build-disk <GiB>on its installation command.
- The nightly registry collection fails until a first build pushes an image (#573), and
systemctl --failedshows it. Nothing is lost: there is nothing to collect yet. - Deploying from GitHub was tested against a stand-in for GitHub's API and webhooks, not against github.com 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).
Changelog
- 83119ef: fix(agent): a running action reports to the stream that delivered it last (closes #483) (#507) (@samuelmbabhazi)
- 3c9f1b3: fix(api): a deployment whose runs keep failing is tried again, never left without a job (closes #486) (#508) (@samuelmbabhazi)
- d1a08b3: fix(api): log and metrics reads hold no account lock or transaction while the store answers (closes #488) (#509) (@samuelmbabhazi)
- b425efe: fix(web): an application page drops late answers for the one it showed before (closes #491) (#510) (@samuelmbabhazi)
- f59d778: fix(api): a failed route switch restores the previous release's hostnames, not the new ones (part of #485) (#506) (@samuelmbabhazi)
- 661f966: fix(api): every exec session gets exactly one recorded closing (closes #489) (#511) (@samuelmbabhazi)
- 01017d6: test(api): the browser suite is not held to the API's read quota (#515) (@samuelmbabhazi)
- f777e27: feat(agent): adopt-routes records the routes older agents left unrecorded (part of #490) (#514) (@samuelmbabhazi)
- 83a2d76: fix(web): an idle application page reloads every minute and when its stream reopens (closes #492) (#512) (@samuelmbabhazi)
- 3399cca: fix(deploy): --migrate brings an earlier server to the guarded layout (closes #490) (#516) (@samuelmbabhazi)
- 53eb186: feat(fleet): a server a restore rolled back is re-adopted on an administrator's confirmation (part of #487) (#518) (@samuelmbabhazi)
- 7a4d85e: test(agent): the certificate budget test no longer depends on the clock's nanoseconds (#520) (@samuelmbabhazi)
- 3b7df65: fix: an action left unfinished past its deadline is undone and its end recorded (closes #484) (#513) (@samuelmbabhazi)
- 7feedf0: feat(api): a server's untracked containers are listed and removed on a typed name (part of #501) (#521) (@samuelmbabhazi)
- 159eb1b: feat(web): Servers lists the servers to re-adopt and re-adopts one on a password (closes #487) (#519) (@samuelmbabhazi)
- 67c09b0: feat(web): a server's page lists its untracked containers and removes one on its name (closes #501) (#522) (@samuelmbabhazi)
- 53f58eb: feat(landing): a container ship as the hero's watermark (#523) (@samuelmbabhazi)
- 9422707: fix(deploy): apply Debian security fixes in the control plane image (#525) (@samuelmbabhazi)
- cab0fdd: test(agent): a restored route matches its previous hostnames in Caddy (closes #485) (#524) (@samuelmbabhazi)
- 15c0840: feat(api): create an application from a GitHub repository (part of #213) (#526) (@samuelmbabhazi)
- 720aed0: feat(web): connect GitHub and create an application from a repository (part of #213) (#528) (@samuelmbabhazi)
- 5579d3e: feat(api): a verified push deploys its commit (closes #213) (#527) (@samuelmbabhazi)
- e824b1b: feat(api): the installation registry's token endpoint and grants (part of #215) (#529) (@samuelmbabhazi)
- fbd24a2: feat(deploy): the installation registry in the control plane's Compose project (part of #215) (#530) (@samuelmbabhazi)
- 56e1cdb: feat(agent): builds get a lane of their own in the journal (part of #215) (#532) (@samuelmbabhazi)
- 2ac8bc7: feat(agent): the egress proxy logs the address it connected to, or refused (#535) (@samuelmbabhazi)
- 79412a3: feat(agent): BuildImage builds a repository at its commit with rootless BuildKit (part of #215) (#533) (@samuelmbabhazi)
- 51ee778: feat: build output travels on the log stream, labelled with its deployment (part of #215) (#534) (@samuelmbabhazi)
- 8da06ea: fix(api): the wrong-secret case of the registry token test is always wrong (#538) (@samuelmbabhazi)
- 09c9fc7: feat(api): the pipeline builds a Git application with its Dockerfile, then deploys the image (part of #215) (#537) (@samuelmbabhazi)
- 258cb8b: feat(deploy): servers get a rootless BuildKit behind a network rule of its own (part of #215) (#536) (@samuelmbabhazi)
- deff5f6: feat(agent): BuildImage builds with Railpack and Nixpacks (part of #215) (#540) (@samuelmbabhazi)
- 817f6ac: feat: the deployment page shows its build output, live (part of #265) (#539) (@samuelmbabhazi)
- 13fa432: feat(api): Git applications build with Railpack or Nixpacks (part of #215) (#541) (@samuelmbabhazi)
- e992ed7: feat(api): a build's Git token is revoked once the build has ended, retried, never left unused (closes #547) (#549) (@samuelmbabhazi)
- 213932f: feat(api): the registry keeps the images a rollback can reach, and drops the rest (part of #215) (#552) (@samuelmbabhazi)
- b2dfda0: feat(api): the GitHub client writes a configuration change: branch, commit, pull request (part of #214) (#557) (@samuelmbabhazi)
- e47bb32: fix(agent): keyed cache namespaces, failures in the output, bounded Nixpacks script (part of #215) (#542) (@samuelmbabhazi)
- dd9ea92: feat(deploy): builds have a filesystem of their own (closes #548) (#554) (@samuelmbabhazi)
- c37848c: fix(api): an instance backup is restored only under the name it was created with (closes #439) (#565) (@samuelmbabhazi)
- 24be353: feat(api): a Git application's file, its drift, and the preview of a change (part of #214) (#558) (@samuelmbabhazi)
- 69b21f2: feat(api): a Git application's file change goes to GitHub as a pull request or a commit (part of #214) (#559) (@samuelmbabhazi)
- 5b1ee46: feat(web): edit a Git application's shipkeep.yml and send it to its repository (closes #214) (#560) (@samuelmbabhazi)
- ecf221b: feat(web): show CLI identifiers and token link on environment page (closes #433) (#567) (@shravansumanthanan)
- af6fe94: fix: re-adoption adopts only the certificate the administrator reviewed (closes #545) (#556) (@samuelmbabhazi)
- c967832: fix(deploy): Caddy refuses registry tokens unsafe to parse, and the registry image is scanned (part of #543) (#550) (@samuelmbabhazi)
- f7a792f: feat(deploy): builds run only the official Dockerfile frontend and Railpack's (closes #544) (#551) (@samuelmbabhazi)
- c540f19: feat(deploy): the registry frees unused layers every night, read-only meanwhile (part of #215) (#553) (@samuelmbabhazi)
- d5161f4: test(agent): builds in Python, Go and PHP, and Dockerfiles that reach for the host (part of #215) (#561) (@samuelmbabhazi)
- 7ad3e6b: fix(api): every refused exec join counts against its network's budget (closes #546) (#555) (@samuelmbabhazi)
- 2e450bd: fix(api): an exec session's closing is decided under a lock on the session (closes #489) (#562) (@samuelmbabhazi)
Control plane
Install it with shipkeep-control-plane_0.1.0-alpha.8.tar.gz, attached to this release: docs/INSTALL.md says how. It runs this image:
SHIPKEEP_IMAGE=ghcr.io/shipkeepdev/shipkeep:0.1.0-alpha.8@sha256:3d8f724df2779a577bd3455c111f1d0c5ee4b0bf52ab481b050c7e0491d83eae