src.nth.io/

summaryrefslogtreecommitdiff
path: root/dendrite
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-07-26 16:05:40 -0500
committerLuke Hoersten <[email protected]>2026-07-26 16:05:40 -0500
commita173d5c8f149b4dde505fd4ab5257fb4cbc6911e (patch)
tree7e30b8ead4b75c609a87b5c4d93aa18e49179176 /dendrite
parent1566ed593907c829827237aad924c3f527723218 (diff)
build roles: stage checkouts + artifacts under build_work_dir
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.
Diffstat (limited to 'dendrite')
-rw-r--r--dendrite/build/defaults/main.yaml2
-rw-r--r--dendrite/build/tasks/main.yaml2
2 files changed, 2 insertions, 2 deletions
diff --git a/dendrite/build/defaults/main.yaml b/dendrite/build/defaults/main.yaml
index 317204b..06e38e1 100644
--- a/dendrite/build/defaults/main.yaml
+++ b/dendrite/build/defaults/main.yaml
@@ -3,5 +3,5 @@
dendrite_version: "0.15.2"
# https://github.com/element-hq/dendrite/releases
dendrite_tar: "https://github.com/element-hq/dendrite/archive/refs/tags/v{{dendrite_version}}.tar.gz"
-dendrite_build_dir: "/tmp/dendrite-{{dendrite_version}}"
+dendrite_build_dir: "{{build_work_dir}}/dendrite-{{dendrite_version}}"
dendrite_srv_dir: "{{build_srv_dir}}"
diff --git a/dendrite/build/tasks/main.yaml b/dendrite/build/tasks/main.yaml
index 96c3eab..dff7bdb 100644
--- a/dendrite/build/tasks/main.yaml
+++ b/dendrite/build/tasks/main.yaml
@@ -16,7 +16,7 @@
unarchive:
remote_src: yes
src: "{{dendrite_tar}}"
- dest: "/tmp/"
+ dest: "{{build_work_dir}}/"
creates: "{{dendrite_build_dir}}"
- name: create build dir