Commit graph

13 commits

Author SHA1 Message Date
rinpatch 38a803a1f8 Add a systemd service for OTP releases 2019-06-22 05:00:41 +03:00
rinpatch e3e8a7dc0e Disable rpc for instance gen 2019-06-20 18:28:56 +03:00
rinpatch 0e31d195af Apply suggestion to rel/files/bin/pleroma_ctl 2019-06-20 08:12:56 +00:00
rinpatch 2571e07fba pleroma_ctl: Rename arch to flavour because it also includes the libc 2019-06-19 14:59:18 +03:00
rinpatch 66f2cdcdb0 pleroma_ctl: add an update command
Closes #988 and #1004
2019-06-19 14:53:16 +03:00
rinpatch a0a1361888 Refactor pleroma_ctl copying to a generic function for copying files into the release dir 2019-06-19 03:52:03 +03:00
rinpatch 448d739b25 pleroma_ctl: Run mix tasks using rpc instead of eval
This patch changes pleroma_ctl to call into a running instance instead of spinning up
a new one for mix task execution. This significantly decreases the time needed
for mix task execution (on my machine for `pleroma_ctl user set rin --no-admin`
the difference is 0.2s vs 4.2s) and allows mix tasks to affect the
instance context, for example, this allows to clear the cache after user
deletion
2019-06-18 00:22:58 +03:00
rinpatch 0876ac05ba pleroma_ctl: fix == instead of = and double quote the path to prevent globing 2019-06-13 22:16:57 +03:00
lain dbe4c2b7c8 Update pleroma_ctl 2019-06-10 11:47:22 +00:00
rinpatch bf391569cf specify that a version is needed for rollback 2019-06-09 13:34:58 +03:00
rinpatch 2a659b35f1 Add migrate/rollback to release tasks 2019-06-09 13:33:44 +03:00
rinpatch d7ec0898e5 Make mix tasks work in a release 2019-06-08 17:40:40 +03:00
rinpatch 3d374bf7df Basic release skeleton 2019-06-08 17:16:15 +03:00