Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Site
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software/vole.git

Self-hosted forge that lives in your Git repo.

Simplify stable installation

1b1571bb64dc9bec50d6ec1bfbd15ad418927ba4 · Keenan Nemetz · 13d ago · parent fbdb3818

Simplify stable installation

Lead with the stable apt, dnf, and pacman repositories, use stable release URLs for manual downloads, and link the README to the deployed documentation. Keep signing and pinning details in the package reference. Make the packaged configuration readable by the vole service account so post-install initialization succeeds, with a deployment-check regression assertion.

scripts/check-deploy.py +13

@@ -352,6 +352,18 @@ def check_front_door_flavour(lists):
352 352 return bad
353 353
354 354
355 def check_package_config():
356 """The unprivileged postinstall and service must be able to read the config."""
357 where = "packaging/nfpm.yaml"
358 entry = re.search(
359 r"(?ms)^ - src: packaging/vole\.toml\n(.*?)(?=^ - |\Z)",
360 read(where),
361 )
362 if not entry or "mode: 0644" not in entry.group(1):
363 return fail("/etc/vole/vole.toml must have file_info mode 0644", where)
364 return 0
365
366
355 367 def check_front_door_package():
356 368 """The package ships the front door and does not install it.
357 369
@@ -453,6 +465,7 @@ def main():
453 465 bad |= check_runner_template(lists["runner.yaml"])
454 466
455 467 bad |= check_front_door_flavour(lists)
468 bad |= check_package_config()
456 469 bad |= check_front_door_package()
457 470 bad |= check_scripts()
458 471 return 1 if bad else 0