From 6a8cb5f10557733f1521035d57a191b12832d634 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sat, 25 Apr 2026 19:54:49 -0500 Subject: Build all roles from source with versioned artifacts - Add pleroma/build role to compile from source (OTP binaries no longer published) - Install Elixir 1.18.3 manually on Ubuntu Noble (ships 1.14, needs 1.15+) - Standardize all build roles to produce versioned .tar.gz artifacts - Add version defaults to all server roles (bin, dendrite, nostr/relayer) - Switch server roles from get_url to unarchive for .tar.gz installs - Add build_srv_dir variable to all build roles - Deploy pleroma styles.json so custom FE themes appear in picker - Fix pleroma OTP install: version check, root ownership, auto-cleanup old releases - Fix pleroma config: log level :warn -> :warning, remove availableStyles - Add wait_for grafana readiness before dashboard install - Set minecraft ops changed_when: false --- bin/build/tasks/main.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'bin/build/tasks') diff --git a/bin/build/tasks/main.yaml b/bin/build/tasks/main.yaml index 44c722e..f340cb5 100644 --- a/bin/build/tasks/main.yaml +++ b/bin/build/tasks/main.yaml @@ -13,7 +13,7 @@ - name: check if bin build exists stat: - path: "{{bin_build_dir}}/target/release/bin" + path: "{{bin_srv_dir}}/bin-{{bin_version}}.tar.gz" register: build_file - name: build bin @@ -29,9 +29,10 @@ mode: "0755" state: "directory" -- name: copy bin to build server dir +- name: create gz archive of bin become: yes - copy: - remote_src: yes - src: "{{bin_build_dir}}/target/release/bin" - dest: "{{bin_srv_dir}}/bin" + archive: + path: "{{bin_build_dir}}/target/release/bin" + dest: "{{bin_srv_dir}}/bin-{{bin_version}}.tar.gz" + format: "gz" + when: not build_file.stat.exists -- cgit v1.2.3