Staging environment for custom apps
Feature Requests
1
Posts
1
Posters
8
Views
1
Watching
-
When I want to update a custom app but make sure there's no deployment-related issue, I have too choices on Cloudron:
- Update my app, hope for the best and revert immediately using backup (easy, but causes 1-2 minutes of downtime)
- Create a second app for staging only, test it there, and if needed, push again to production
Suggestion: Introduce a staging environment for custom apps
- Under the hood, this is another custom app in cloudron, but the UI treats it differently
- I install it using cloudron update --staging for my app
- I can reach it under a staging domain
- If I am happy, I can push a button (or run Cloudron CLI) to direct traffic to the new app instead of the previous one. Ideally, staging becomes production and old production gets deleted to reduce downtime, but I haven't thought this through.
Benefits of this approach over the current one:
- I don't have to create two apps for the same thing, because logically, this is one app in different states
- Hopefully, this approach could reduce downtime