forgejo/handlers
meaz 4690ef208e improve upgrade and update to 7.0.5 (#49)
See Disroot/Disroot-Project#920

@muppeth I've just have a question about why you restart forgejo with:

```
- name: '[UPGRADE] - Restart forgejo'
  systemd:
    name: forgejo
    state: restarted
  when:
    - forgejo_is_installed.rc == 0
    - forgejo_health is defined and forgejo_health.rc is defined and forgejo_health.rc == 0

- name: '[UPGRADE] - Wait for forgejo to be back online'
  pause:
    seconds: 10
  when:
    - forgejo_is_installed.rc == 0
    - forgejo_health is defined and forgejo_health.rc is defined and forgejo_health.rc == 0
```

does forgejo need to be up to run `forgejo manager flush-queues` ?  I'm asking coz we stop forgejo just after flush.

Reviewed-on: #49
Reviewed-by: muppeth <muppeth@no-reply@disroot.org>
Co-authored-by: meaz <meaz@disroot.org>
Co-committed-by: meaz <meaz@disroot.org>
2024-07-15 18:36:23 +02:00
..
main.yml improve upgrade and update to 7.0.5 (#49) 2024-07-15 18:36:23 +02:00