-
-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure BitBucket (Cloud) Support #1047
Comments
We have to look at forges that are not Github, Gitlab and Gitea in general a bit more... |
Hej, had time to try to investigate bitbucket cloud a little more. Managed to build my own Woodpecker server so i could add some logging to identify where it fails (i'm not fluent in go but it is on my roadmap to learn it). The current behavior i have: Checks through cli: It seems i'm basically logged in but it can not retrieve my user info. Also i cannot get a repository list: It fails when accessing the https://api.bitbucket.org/2.0/teams/?pagelen=100&role=member endpoint. So it seems that what's currently broken in bitbucket is most or all related to some apis that have been deprecated and removed last year: https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/ I don't know how i can help more on the issue for now. The best solution is probably to go through the go-bitbucket module instead of re-implementing the whole api. |
Have a first hack to be able to retrieve the list of repositories of al workspaces a user has access: Still need to cleanup the commit and align the tests to pass again. User info/email still doesn't work but i managed to run my first 'hello world pipeline' with Woodpecker connected to bitbucket cloud. |
@MartinHerren if you like just open a pull and allow maintainers to edit stuff, so we can help out ;) PS: you will also then get official images with the pull as tag ;) |
Yes, just a last cleanup and a rebase and i'll open a PR asap |
Rebased to master and opened a WIP PR. Still need to align the tests. But already managed to run successfully a simple 'hello world' pipeline connected to bitbucket.org. User management still needs fixing (like retrieving user email for example). |
It would be nice If somebody could provide up to date webhook examples for:
|
Will take care of that. Haven't seen a trigger for 'Tagging', there is only one for 'Repository Updated'. To test if it triggers on tag. For Pull requests, there are triggers among others for
|
well would be interesting to see if they differ ... and how and Tagging = if you create a git tag and push it |
Hi, are you working on this one? Thanks |
Bitbucket should now mostly just work ... ... all other thibgs should be reported as normal bugs :) |
Summary
The text was updated successfully, but these errors were encountered: