Summary
Add Gitea as a source control provider in Ploi Cloud, alongside GitHub, GitLab (Cloud + self-hosted) and BitBucket. This should cover both Gitea Cloud and self-hosted Gitea instances on a custom domain.
Why
Gitea is a widely used lightweight, self-hosted Git platform, particularly popular with agencies, freelancers and companies that want to keep their source code on their own infrastructure (for example for privacy, compliance or data sovereignty reasons, such as EU hosting). These teams currently cannot connect their repositories to Ploi Cloud without mirroring them to another provider first, which adds complexity and an extra point of failure.
Proposed functionality
- Connect a Gitea account via OAuth2 or a personal access token
- Support for self-hosted instances by entering a custom base URL (similar to the existing self-hosted GitLab flow)
- List and select repositories and branches when creating an application
- Automatic deployments on push via webhooks (with secret verification)
- Deploy key management for repository access
Technical notes
Gitea provides a REST API (/api/v1) with OAuth2 application support, webhooks and deploy keys, so the integration should map closely to the existing GitLab implementation.
Acceptance criteria
- A user can connect a Gitea Cloud account and a self-hosted Gitea instance
- Repositories and branches from Gitea can be selected when creating or editing an application
- A push to the configured branch triggers a deployment
- Disconnecting the provider removes stored credentials and webhooks
-
Gregory Van der Steen moved item to project Services
2 weeks ago -
Gregory Van der Steen created the item
2 weeks ago