YunoHost-Apps / mastodon_ynh

Free, open-source social network for YunoHost
https://joinmastodon.org/
GNU Affero General Public License v3.0
84 stars 33 forks source link

Call tootctl self-destruct when the app is remove with purge #359

Closed yalh76 closed 9 months ago

yalh76 commented 1 year ago

Problem

Solution

PR Status

Automatic tests

Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

yalh76 commented 1 year ago

!testme

yunohost-bot commented 1 year ago

:rocket: Test Badge

yalh76 commented 1 year ago

!testme

yunohost-bot commented 1 year ago

:carousel_horse: Test Badge

yunohost-bot commented 1 year ago

:v: Test Badge

yalh76 commented 1 year ago

!testme

yunohost-bot commented 1 year ago

:carousel_horse: Test Badge

yalh76 commented 1 year ago

!testme

yunohost-bot commented 1 year ago

:sunflower: Test Badge

lapineige commented 1 year ago

Timed out but all went fine until backup and restore. Which means remove works. Restarting.

yalh76 commented 1 year ago

!testme

yunohost-bot commented 1 year ago

Fingers crossed! Test Badge

lapineige commented 1 year ago

I'm not able to judge that PR, sorry, it looks good but I have no idea.

yalh76 commented 1 year ago

!testme

yunohost-bot commented 1 year ago

May the CI gods be with you! Test Badge

lapineige commented 1 year ago

Let's merge ?

Tagadda commented 1 year ago

This feature needs documentation somewhere I guess... in the ADMIN.md ?

lapineige commented 1 year ago

Yes clearly.

Tagadda commented 9 months ago

We can't run self-destruct and remove everything right away.

A running Sidekiq process is required, so do not shut down the server until the queues are fully cleared.

https://docs.joinmastodon.org/admin/tootctl/#self-destruct