Skip to content

Commit 0abbc62

Browse files
committed
Provide details around GitLab comments for Workers Builds.
1 parent 23c6705 commit 0abbc62

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed
150 KB
Loading

src/content/docs/workers/ci-cd/builds/git-integration/gitlab-integration.mdx

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,18 @@ Cloudflare supports connecting your GitLab repository to your Cloudflare Worker,
1111
## Features
1212

1313
Beyond automatic builds and deployments, the Cloudflare GitLab integration lets you monitor builds directly in GitLab, keeping you informed without leaving your workflow.
14-
:::note[Upcoming features]
15-
While you can still [enable builds for non-production branches](/workers/ci-cd/builds/build-branches/#configure-non-production-branch-builds), when using GitLab, we don't currently create PR comments.
1614

17-
This feature will be available soon.
15+
### Merge request comment
16+
17+
If a commit is on a merge request, Cloudflare will automatically post a comment on the merge request with the status of the build.
18+
19+
![GitLab merge request comment](~/assets/images/workers/platform/ci-cd/gitlab-pull-request-comment.png)
20+
21+
A [preview URL](/workers/configuration/previews/) will be provided for any builds which perform `wrangler versions upload`. This is particularly useful when reviewing your pull request, as it allows you to compare the code changes alongside an updated version of your Worker.
22+
23+
:::note[Enabling GitLab Merge Request events for existing connections]
24+
New GitLab connections will automatically be configured to receive merge request events, which power the commenting functionality. Existing connections, however, will need to manually enable `Merge request events` in `Settings --> Webhook` for their project.
25+
1826
:::
1927

2028
### Commit Status

0 commit comments

Comments
 (0)