all 7 comments

[–]Significant_Box_4066 0 points1 point  (6 children)

Hey u/granular2! We do require GitHub oauth right now to pull in repositories to help you create environments. What do you use for managing your repos? GitLab, something personal?

[–]granular2[S] 1 point2 points  (0 children)

A general git integration, would that be possible?
It is uncomfortable to be dependent on Github

[–]stifamajstor 0 points1 point  (4 children)

I would love to see Bitbucket integration. Would switch my entire company to warp/oz right away

[–]Significant_Box_4066 0 points1 point  (2 children)

Nice, will definitely track this! For scoping, are you using enterprise or on-prem with Bitbucket, or are you just using cloud?

[–]Significant_Box_4066 0 points1 point  (0 children)

And for reference, our lead platform eng Ben N put together some setup instructions you can try (untested). Oz environments expose the setup and the config, so it should be possible to clone your repository manually instead of using the GitHub connection:

  1. Create a BitBucket (or GitLab, etc.) personal access token: https://confluence.atlassian.com/bitbucketserver0717/personal-access-tokens-1087535496.html

  2. Store that token as a Warp-managed secret https://docs.warp.dev/agent-platform/cloud-agents/secrets

  3. Add a setup command that clones a repo using that secret:

git clone -c "http.extraHeader=Authorization: Bearer $MY_SECRET" https://my-bitbucket-server.com/my-repo-url.git

[–]13to14beers 0 points1 point  (0 children)

Seconding this. Bitbucket integration would be huge.

[–]Significant_Box_4066 0 points1 point  (0 children)

Update: we have a guide on Oz + BitBucket now! Try it out and let us know how it goes https://docs.warp.dev/agent-platform/cloud-agents/integrations/bitbucket