You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/bitbucket-installation.md
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,16 +5,16 @@ description: Install gitStream to your Bitbucket workspace.
5
5
# How to Setup gitStream with Bitbucket Cloud
6
6
7
7
!!! info "gitStream for Bitbucket Cloud is currently in **beta**"
8
-
9
-
To start automating your Bitbucket pull requests and enhancing your development workflow, please [contact our product team](mailto:[email protected]) to request access and receive setup instructions.
10
-
We’d love to hear your feedback and collaborate to improve this integration during the beta phase. Thank you for your interest!
8
+
9
+
To start automating your Bitbucket pull requests and enhancing your development workflow, please [contact our product team](mailto:[email protected]) to request access and receive setup instructions.
10
+
We’d love to hear your feedback and collaborate to improve this integration during the beta phase. Thank you for your interest!
11
11
12
12
!!! info "Prerequisites"
13
13
14
14
1. Bitbucket Cloud account
15
15
2. Bitbucket Pipelines enabled
16
16
3. <a href="https://app.linearb.io/login" target="_blank">Login</a>, or <a href="https://app.linearb.io/sign-up" target="_blank">create a free account</a> on the LinearB app, and follow the steps to connect gitStream using a Bitbucket integration.
17
-
4. A dedicated user for gitStream, whose name includes the term **"gitstream"**.
17
+
4. A dedicated user for gitStream, whose name includes the term **"gitstream"**.
18
18
5. Allowed network connection between the runners and the following IPs:
19
19
- 13.56.203.235
20
20
- 54.151.81.98
@@ -40,7 +40,7 @@ Create a `cm` repository in your Bitbucket workspace. This repository must resid
40
40
!!! info "Configuration File Locations"
41
41
Group-level rules require your `.cm` files to be placed in the `cm` repository's root directory.
42
42
You can also define specific repo-level rules under the `.cm` folder in each of the connected repositories
43
-
43
+
44
44
!!! example "Example Configuration"
45
45
```yaml
46
46
--8<-- "docs/downloads/gitstream-bb.cm"
@@ -54,9 +54,12 @@ Once your gitStream configuration file is set up, you need a Bitbucket Pipelines
54
54
--8<-- "docs/downloads/bitbucket-pipelines.yml"
55
55
```
56
56
57
-
!!! warning "Note"
57
+
!!! warning "Labels are not supported"
58
58
The `add-label` action is not supported in Bitbucket as Bitbucket does not have a native labeling feature.
59
59
60
+
!!! warning "Explicit triggers are not supported"
61
+
The `triggers` and `on` functionality are not currently supported in Bitbucket. If you include them in your CM automation files, gitStream will skip the automations entirely.
62
+
60
63
## Install the gitStream Service
61
64
62
65
To complete the setup, install the gitStream service in your Bitbucket workspace. Follow the instructions provided in the LinearB app to connect your Bitbucket account and repositories to gitStream.
@@ -81,6 +84,6 @@ The required permissions are:
81
84
|`pullrequest: read, write`| Read and modify pull requests. |
82
85
|`webhook: read, write`| Read and manage webhooks. |
83
86
|`pipeline: read, write`| Read and write pipelines. |
84
-
| `runner: read, write` | Read and manage runners.
87
+
| `runner: read, write` | Read and manage runners.
Copy file name to clipboardExpand all lines: docs/gitlab-installation.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,9 @@ Create a `cm` project (repository) in your GitLab group. This repository must be
40
40
!!! example "Example Configuration"
41
41
--8<-- "docs/downloads/gitStream-gl.cm"
42
42
43
+
!!! warning "Explicit triggers are not supported"
44
+
The `triggers` and `on` functionality are not currently supported in GitLab. If you include them in your CM automation files, gitStream will skip the automations entirely.
45
+
43
46
## Create a GitLab Pipeline
44
47
45
48
Once your gitStream configuration file is set up, you need a GitLab CI configuration file to trigger gitStream automations. Create a `cm` project (repository) in your GitLab group if you haven't already. It should be created in the same group or a parent group of the target repositories. Create a `.gitlab-ci.yml` file in your new `cm` repository's default branch (usually `master` or `main`) and add the following configuration:
0 commit comments