diff options
| author | Luke Hoersten <[email protected]> | 2026-07-26 16:31:56 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2026-07-26 16:31:56 -0500 |
| commit | 28c1fc8ea39f0fdb244f08f386ed81a2c68c0f5c (patch) | |
| tree | 4b935824a70027dfde715d52e6acee4a4f21f2f6 | |
| parent | 9ee6ba2824ab46690865869da805b68d7e46b0e5 (diff) | |
build roles: force real tarballs for single-file artifacts
community.general.archive (>=10) compresses a lone file into a bare .gz instead
of a tarball, so the mattertimesync/bin/nostr artifacts failed the server-side
unarchive. Set force_archive: true so the archive module emits a real
single-member .tar.gz, consistent with the multi-file dendrite/pleroma builds.
| -rw-r--r-- | bin/build/tasks/main.yaml | 3 | ||||
| -rw-r--r-- | mattertimesync/build/tasks/main.yaml | 3 | ||||
| -rw-r--r-- | nostr/build/tasks/main.yaml | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/bin/build/tasks/main.yaml b/bin/build/tasks/main.yaml index b29b23e..2a29635 100644 --- a/bin/build/tasks/main.yaml +++ b/bin/build/tasks/main.yaml @@ -35,4 +35,7 @@ path: "{{bin_build_dir}}/target/release/bin" dest: "{{bin_srv_dir}}/bin-{{bin_version}}.tar.gz" format: "gz" + # force a real tar for the single binary; the module otherwise gzips a lone + # file into a bare .gz that the server's unarchive can't extract. + force_archive: true when: not build_file.stat.exists diff --git a/mattertimesync/build/tasks/main.yaml b/mattertimesync/build/tasks/main.yaml index f9c0341..e846f9c 100644 --- a/mattertimesync/build/tasks/main.yaml +++ b/mattertimesync/build/tasks/main.yaml @@ -38,4 +38,7 @@ path: "{{mattertimesync_build_dir}}/mattertimesync.mjs" dest: "{{mattertimesync_srv_dir}}/mattertimesync-{{mattertimesync_version}}.tar.gz" format: "gz" + # force a real tar for the single-file bundle; the module otherwise gzips a + # lone file into a bare .gz that the server's unarchive can't extract. + force_archive: true when: not build_file.stat.exists diff --git a/nostr/build/tasks/main.yaml b/nostr/build/tasks/main.yaml index e526412..1b0d9a4 100644 --- a/nostr/build/tasks/main.yaml +++ b/nostr/build/tasks/main.yaml @@ -82,4 +82,7 @@ path: "{{relayer_build_dir}}/relayer" dest: "{{relayer_srv_dir}}/nostr-relayer-whitelisted-{{relayer_version}}.tar.gz" format: "gz" + # force a real tar for the single binary; the module otherwise gzips a lone + # file into a bare .gz that the server's unarchive can't extract. + force_archive: true when: not build_file.stat.exists |
