From 42297e49b5bd12100f3acee9d88192174ca286f2 Mon Sep 17 00:00:00 2001 From: fortishield <161459699+FortiShield@users.noreply.github.com> Date: Sat, 16 Nov 2024 09:28:31 +0600 Subject: [PATCH] Update gitlab.md Signed-off-by: fortishield <161459699+FortiShield@users.noreply.github.com> --- docs/docs/installation/gitlab.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/installation/gitlab.md b/docs/docs/installation/gitlab.md index 27aab0b9..85c1506a 100644 --- a/docs/docs/installation/gitlab.md +++ b/docs/docs/installation/gitlab.md @@ -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 @@ -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]:///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 \ No newline at end of file +boxes