daytonaio / daytona

The Open Source Dev Environment Manager.
https://daytona.io
Apache License 2.0
8.11k stars 763 forks source link

Webhook event support for GitLab / GitLab self-managed prebuilds #993

Closed idagelic closed 2 weeks ago

idagelic commented 3 weeks ago

Is your feature request related to a problem? Please describe. We should support registering webhooks to GitLab/GitLab self-managed which will allow us to parse their Git events and use prebuilds.

Describe the solution you'd like An approach similar to the way GitHub webhooks are implemented should be used. The final solution should be properly tested and include screenshots of the Daytona CLI calls working correctly and the webhook being present in the dashboard of the Git provider.

Additional context This includes a webhook get, register and unregister method as well as methods for comparing commit ranges and parsing event data. The implementation should be done in the pkg/gitprovider directory and use the same endpoint as the GitHub provider.

Tpuljak commented 3 weeks ago

/bounty $80

algora-pbc[bot] commented 3 weeks ago

💎 $80 bounty • Daytona

Steps to solve:

  1. Start working: Comment /attempt #993 with your implementation plan
  2. Submit work: Create a pull request including /claim #993 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

If no one is assigned to the issue, feel free to tackle it, without confirmation from us, after registering your attempt. In the event that multiple PRs are made from different people, we will generally accept those with the cleanest code.

Please respect others by working on PRs that you are allowed to submit attempts to.

e.g. If you reached the limit of active attempts, please wait for the ability to do so before submitting a new PR.

If you can not submit an attempt, you will not receive your payout.

Thank you for contributing to daytonaio/daytona!

Add a bounty • Share on socials

Attempt Started (GMT+0) Solution
🟢 @unsuman Aug 29, 2024, 1:32:35 PM #1026
unsuman commented 3 weeks ago

/attempt #993

algora-pbc[bot] commented 3 weeks ago

💡 @unsuman submitted a pull request that claims the bounty. You can visit your bounty board to reward.

algora-pbc[bot] commented 2 weeks ago

🎉🎈 @unsuman has been awarded $80! 🎈🎊