getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
37.48k stars 4.03k forks source link

GitLab Integration Problem #72765

Open fejan-malek opened 2 weeks ago

fejan-malek commented 2 weeks ago

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Create a project in the group in GitLab
  2. The project will be private type not public.
  3. Follow the setup wizard from the add installation button from sentry to integrate GitLab

Expected Result

Gitlab will be configured with sentry.

Actual Result

Screenshot 2024-06-14 at 4 14 05 PM

Product Area

Other

Link

No response

DSN

https://ukvi-compliance.sentry.io/

Version

No response

getsantry[bot] commented 2 weeks ago

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] commented 1 week ago

Routing to @getsentry/product-owners-settings-integrations for triage ⏲️

cathteng commented 1 week ago

Could you please share your organization slug and GitLab project slug? You're welcome to open a support ticket if necessary. I see logs where an error is happening during the last step of the installation pipeline but we need more information to debug.

fejan-malek commented 1 week ago

Sure.

Organization slug. https://ukvi-compliance.sentry.io/

Gitlab Repo slug. https://gitlab.com/ukvi-stable/ukvi-website-portal

cathteng commented 1 week ago

I see the error on our side as The requested GitLab group ukvi-stable/ukvi-website-portal could not be found. which is coming from GitLab. Is the group path ukvi-stable or ukvi-stable/ukvi-website-portal? The documentation asks for the group path (step 4 in https://docs.sentry.io/organization/integrations/source-code-mgmt/gitlab/)

fejan-malek commented 1 week ago

This is my group with url

https://gitlab.com/ukvi-stable

Here is the repo URL which needs to integrate with sentry https://gitlab.com/ukvi-stable/ukvi-website-portal

cathteng commented 1 week ago

The docs are asking for the group URL

Find the GitLab Group Path in your group’s GitLab page. Groups might contain subgroups and projects. You should not specify the URL to any specific project, just to a group or subgroup.

You need to setup the integration with the group URL, and then add the repositories you want afterwards.

fejan-malek commented 6 days ago

So should I enter the full group URL or only the name of the group?

Can you please give an example? Thanks

cathteng commented 6 days ago

It should be the group path, please take a look at step 4 of the integration setup instructions.

For example, if your group can be found at https://gitlab.com/my-group/my-subgroup, enter my-group/my-subgroup.

https://docs.sentry.io/organization/integrations/source-code-mgmt/gitlab/