Skip to content

Commit

Permalink
Update gitlab.md
Browse files Browse the repository at this point in the history
Signed-off-by: fortishield <161459699+FortiShield@users.noreply.github.com>
  • Loading branch information
FortiShield authored Nov 16, 2024
1 parent 420c5bb commit 42297e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/installation/gitlab.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ You can also modify the `script` section to run different PR-Insight commands, o

Note that if your base branches are not protected, don't set the variables as `protected`, since the pipeline will not have access to them.


> **Note**: The `$CI_SERVER_FQDN` variable is available starting from GitLab version 16.10. If you're using an earlier version, this variable will not be available. However, you can combine `$CI_SERVER_HOST` and `$CI_SERVER_PORT` to achieve the same result. Please ensure you're using a compatible version or adjust your configuration.

## Run a GitLab webhook server

Expand Down Expand Up @@ -74,4 +74,4 @@ docker push khulnasoft/pr-insight:gitlab_webhook # Push to your Docker reposito
6. Create a webhook in GitLab. Set the URL to ```http[s]://<PR_INSIGHT_HOSTNAME>/webhook```, the secret token to the generated secret from step 2, and enable the triggers `push`, `comments` and `merge request events`.

7. Test your installation by opening a merge request or commenting on a merge request using one of KhulnaSoft's commands.
boxes
boxes

0 comments on commit 42297e4

Please sign in to comment.