-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Bitbucket Self-Hosted URL (#118)
* feat: creates new config to set a BitbucketSelfHostedUrl * feat: creates new plugin method to get the bitbucket baseURL and replaces the locations where the url is used * chore: renaming and refactoring regarding PR review * feat: adding docker-compose setting up bitbucket server * feat: adding support for Apple M1 in the build * feat: adds the API Self-Hosted URL * feat: adds the code to check for the Bitbucket API Self Hosted URL * feat: refactor of the plugin to be less repetitive on getting the configuration * feat: refactor to get back to the shortcut string parameters * test: adding tests for the new methods * add gitpod files * feat: adding a verification for the bitbucket URL if it's valid * feat: adding conditionals to initialize oauth based on bitbucket server configs * feat: PR review * fix: fix lint --------- Co-authored-by: Michael Kochell <[email protected]>
- Loading branch information
1 parent
84a4030
commit 3be0785
Showing
17 changed files
with
263 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
docker compose up |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
docker compose pull |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: '3.7' | ||
|
||
services: | ||
bitbucket: | ||
container_name: mattermost-bitbucket | ||
image: atlassian/bitbucket:latest # It is recommended to use the bitbucket image instead of bitbucket-server since it's deprecated | ||
ports: | ||
- "7990:7990" | ||
- "7999:7999" | ||
volumes: | ||
- bitbucket-data:/var/atlassian/application-data/bitbucket | ||
|
||
volumes: | ||
bitbucket-data: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.