From 98827773a14180af5ce8d94dff83b663c03c8122 Mon Sep 17 00:00:00 2001 From: Cathy Teng Date: Fri, 6 Jun 2025 13:52:50 -0700 Subject: [PATCH 1/3] recommend using service account and using group application when installing --- .../templates/sentry/integrations/gitlab-config.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/sentry/templates/sentry/integrations/gitlab-config.html b/src/sentry/templates/sentry/integrations/gitlab-config.html index 4e8efe51c0754d..1a933a19f13b22 100644 --- a/src/sentry/templates/sentry/integrations/gitlab-config.html +++ b/src/sentry/templates/sentry/integrations/gitlab-config.html @@ -29,6 +29,7 @@ {% if form %}

{% trans "Step 2: Connect Sentry with your App" %}

{% trans "Add your GitLab App credentials to Sentry." %}

+

{% trans "We recommend using a service account on Gitlab to install the integration." %}

{% csrf_token %} @@ -51,9 +52,9 @@

{% trans "Step 1: Create a Sentry App in GitLab" %}

{% trans "To configure GitLab with Sentry, you will need to create a Sentry app in your GitLab instance." %}

{% trans "You'll also need to be a maintainer or owner in GitLab. Projects owned by users are not supported." %}

    -
  1. {% trans "Navigate to the User Settings section of your GitLab instance." %}
  2. -
  3. {% trans "In the sidebar, select 'Applications'.
    Or go to the /-/profile/applications path in your GitLab instance." %}
  4. -
  5. {% trans "In the resulting form, enter the following information:" %} +
  6. {% trans "Navigate to the Settings section of your GitLab group instance." %}
  7. +
  8. {% trans "In the sidebar, select 'Applications'.
    Or go to the /-/settings/applications path in your GitLab instance." %}
  9. +
  10. {% trans "In the resulting form, enter the following information to create a group application:" %}
      {% for val in setup_values %}
    • {{ val.label }}: {{ val.value }}
    • From e5eb504e67e11f5b3e9794c8e8aea79d858a369d Mon Sep 17 00:00:00 2001 From: Cathy Teng Date: Fri, 6 Jun 2025 14:07:16 -0700 Subject: [PATCH 2/3] link to docs --- src/sentry/templates/sentry/integrations/gitlab-config.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sentry/templates/sentry/integrations/gitlab-config.html b/src/sentry/templates/sentry/integrations/gitlab-config.html index 1a933a19f13b22..f1a801b3c80f18 100644 --- a/src/sentry/templates/sentry/integrations/gitlab-config.html +++ b/src/sentry/templates/sentry/integrations/gitlab-config.html @@ -29,7 +29,7 @@ {% if form %}

      {% trans "Step 2: Connect Sentry with your App" %}

      {% trans "Add your GitLab App credentials to Sentry." %}

      -

      {% trans "We recommend using a service account on Gitlab to install the integration." %}

      +

      {% trans "We recommend using a service account on Gitlab to install the integration. See the docs." %}

      {% csrf_token %} From 5934e1ce09f2ec2d23bd8f0ed3818af7f1e620cd Mon Sep 17 00:00:00 2001 From: Cathy Teng Date: Fri, 6 Jun 2025 14:18:40 -0700 Subject: [PATCH 3/3] lol i messed up --- src/sentry/templates/sentry/integrations/gitlab-config.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sentry/templates/sentry/integrations/gitlab-config.html b/src/sentry/templates/sentry/integrations/gitlab-config.html index f1a801b3c80f18..056e160c44acd2 100644 --- a/src/sentry/templates/sentry/integrations/gitlab-config.html +++ b/src/sentry/templates/sentry/integrations/gitlab-config.html @@ -29,7 +29,7 @@ {% if form %}

      {% trans "Step 2: Connect Sentry with your App" %}

      {% trans "Add your GitLab App credentials to Sentry." %}

      -

      {% trans "We recommend using a service account on Gitlab to install the integration. See the docs." %}

      +

      {% trans "We recommend using a service account on Gitlab to install the integration. See the" %} {% trans "docs" %}.

      {% csrf_token %}