Open
Description
We can schedule a maintenance window in case we perform maintenance tasks that requires taking offline Gitea instance (such as upgrading Gitea, migrating data, scaling hardware resources, and troubleshooting system issues).
Feature:
- Maintenance mode can be scheduled at least certain times ahead (30 minutes, 2 hours, etc.), or absolute date & time (e.g. at June 1 23:00). The window can also be scheduled now.
- When an instance is in maintenance mode, all HTTP and Git requests should return
503 Service Unavailable
error code. - Upon maintenance, all users would see a banner notifying about upcoming scheduled maintenance.
- Visiting the instance's site should return maintenance landing page.