mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 11:46:35 +00:00
In CI the workflow runs as the unprivileged `runner` user, so `scripts/install/package.sh`'s `apt-get update && apt-get install build-essential debhelper dpkg-dev rsync` aborted with `E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)` before the .deb was ever produced. Local act runs as root inside catthehacker/ubuntu so we never hit it. Detect non-root in 05_bootstrap_nodes.sh and prepend `sudo -E` to the build invocation. Inside the swarm-node containers package.sh still runs as root and never goes through sudo (those exec calls are unchanged). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Script Collection
This directory contains automation scripts used across the project.
-
system/ contains host and system-facing helpers.
-
container/ contains helpers that run inside the local container.
-
github/ contains GitHub workflow helper scripts.
-
For the canonical Make target index, see make.md.
-
🛠️ Organize operational helpers for development, CI, release, and maintenance
-
🧭 Separate responsibilities into focused subdirectories with clear scope
-
📚 Keep script-based workflows discoverable and easier to navigate
The scope of this folder is script organization at the repository level. Detailed responsibilities belong in the README files of the respective subdirectories.