-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Basic Bitbucket Server support (login and workspace start) #8086
Conversation
Codecov Report
@@ Coverage Diff @@
## main #8086 +/- ##
==========================================
- Coverage 12.31% 11.17% -1.14%
==========================================
Files 20 18 -2
Lines 1161 993 -168
==========================================
- Hits 143 111 -32
+ Misses 1014 880 -134
+ Partials 4 2 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
I'm taking over from here. Thanks @corneliusludmann ! |
cc4f2d0
to
69a780f
Compare
ad66981
to
ec47e6c
Compare
/werft run with-clean-slate-deployment 👍 started the job as gitpod-build-clu-bitbucket-server.9 |
I cannot start a workspace - tried lots of variations of |
That repo does exist |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't looked at the code - just tested
I can login, but I can't start a workspace.
@AlexTugarev it would be helpful if you could describe what BB Server context URL shapes are supported now. It looks like you got the following to work But this one does not work |
ec47e6c
to
a21a29a
Compare
/werft run 👍 started the job as gitpod-build-clu-bitbucket-server.11 |
Hi @AlexTugarev
|
7c2fd47
to
88ecf14
Compare
88ecf14
to
8b801f7
Compare
/werft run 👍 started the job as gitpod-build-clu-bitbucket-server.16 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @AlexTugarev
/LGTM
I am able to
- authenticate with my BBServer credentials
- start workspaces for repositories under /users and /projects
- NOT create projects for BB Server repos (expected)
- connect integrations for GitLab or GitHub
- create projects and run workspaces on for GitLab
Description
The most recent version of Bitbucket Server (7.20) supports OAuth2 for authentication, we're now able to connect Gitpod with.
This PR enables login and start of plain workspaces for a repository hosted on a Bitbucket Server (version 7.20).
Known limitations and things out of scope here:
/
context of the default branch by default, i.e. no issue/pr context supportedauthProviderConfigs
Related Issue(s)
Fixes #7957
How to test
Unfortunately, there is no way to set up the auth provider in the frontend. One needs to patch the
server-config
configmap in order to get this running in a Gitpod installation. To do so you need to edit the config map:and add such a configuration:
after that, you'd need to restart the server pods by running:
Release Notes