Skip to content

Conversation

@Oduig
Copy link

@Oduig Oduig commented Jul 29, 2019

Solves #2
I managed to extract a common interface and finish an implementation with BitBucket support.

It's quite a big change due to SCM-specific code having to be separated. It is fully backwards compatible with one exception, I thought it better to rename the GITHUB_SERVER variable to SERVER rather than making separate versions for each SCM. I have the image up on jodiug/drone-tree-config, if anyone in the community would like to test it that would be very helpful.

The following environment variables need to be passed drone-tree-config to add BitBucket support:

AUTH_SERVER: https://bitbucket.org
SERVER: https://api.bitbucket.org
BITBUCKET_CLIENT: client_id
BITBUCKET_SECRET: client_secret

You can use the same client credentials as you use for drone-master.

@Oduig Oduig mentioned this pull request Jul 29, 2019
@Oduig Oduig changed the title #2 Add support for BitBucket repositories Add support for BitBucket repositories Jul 29, 2019
@foosinn foosinn merged commit 3ca1827 into bitsbeats:master Aug 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants