Repository navigation
docs(install): upgrading from v0.1.0-alpha.7 adds the registry's collection timer, and builds - #570
Conversation
…ection timer, and builds - Upgrade replaces backup.sh and registry-gc.sh too, and copies the files an earlier release did not have: the new backup.sh is the one that binds an archive's name (#565). - From v0.1.0-alpha.7 or earlier, the timer of the registry's nightly collection, which only the installer writes, is added by hand. The installer test checks that the documented units are the installer's own. - An agent upgrade does not install the builder. A server installed before v0.1.0-alpha.8 builds once migrated; a single machine cannot be migrated yet (#569). Signed-off-by: samuel mbabhazi <[email protected]>
|
@coderabbitai review |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 21 minutes. View limit details
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Action not completed
|
Signed-off-by: samuel mbabhazi <[email protected]>
Signed-off-by: samuel mbabhazi <[email protected]>
What
docs/INSTALL.md, "Upgrade", now covers an upgrade fromv0.1.0-alpha.7to the next release, which adds builds and the installation registry.backup.shandregistry-gc.shalong with the compose files, and copies the files an earlier release did not have.v0.1.0-alpha.7or earlier, the timer of the nightly collection (feat(deploy): the registry frees unused layers every night, read-only meanwhile (part of #215) #553) is written by hand: two unit files, adaemon-reload, andenable --now. Only the installer writes this timer, and the installer does not upgrade.--migrate yes). The description of the migration now names the builder, which it already installs. A single machine cannot be migrated yet (A single machine upgraded from v0.1.0-alpha.7 cannot get the builder #569).Why
These are the steps the next release needs. Without them, an upgraded installation would run:
backup.sh, which does not bind an archive's name (fix(api): an instance backup is restored only under the name it was created with (closes #439) #565).Its servers would also fail every Git build with "The server's builder does not answer", without the docs saying why.
How it was tested
deploy/control-plane/install_test.shextracts the two documented units fromINSTALL.mdand compares them withregistry_gc_service /opt/shipkeepandregistry_gc_timerfrom the installer. It passes locally. Two edits of the documented units each make it fail: a differentOnCalendarand a differentExecStart.--migrate yesaccepts a server installed withv0.1.0-alpha.7:shipkeep-caddy.serviceis the currentcaddy_unit;agent_unitwithout the builder's exports path, a layoutagent_unit_layoutaccepts.v0.1.0-alpha.7to the next release's published artifacts, will be run in the lab once that release exists. "What has been tested" will be updated then.Security considerations
None new. The documented units are the installer's own, and the test keeps them equal.
Summary by CodeRabbit