src.nth.io/

summaryrefslogtreecommitdiff
path: root/mattertimesync/build
AgeCommit message (Collapse)AuthorFilesLines
24 hoursbuild roles: stage checkouts + artifacts under build_work_dirLuke Hoersten2-2/+2
Move every build role's working dir off /tmp (the SD card) to {{build_work_dir}}, which the playbook points at the SSD on the build host. nostr and pleroma stage their artifacts inside their own build dirs so the shared work dir can't collide, while preserving the archive top-level names (relayer, release) that the server roles depend on.
28 hoursmattertimesync: add build + server rolesLuke Hoersten3-0/+54
Build role compiles the tagged source on the build host (npm ci + npm run bundle) into a versioned mattertimesync-<ver>.tar.gz in build_srv_dir. Server role installs the single bundled .mjs, creates the mattertimesync service user and a 0700 storage dir for the Matter fabric keys, templates config.json, and runs a hardened oneshot sync via a systemd timer. Both roles depend on the nodejs role for Node >=20.