Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarification of Documentation for Integration with a GitLab Webhook #1099

Closed
ascieux-soprasteria opened this issue Aug 7, 2024 · 3 comments

Comments

@ascieux-soprasteria
Copy link
Contributor

Hello,

I have deployed codium-ai/pr-agent in self-hosted mode on an Azure machine via Docker to use it with an on-premise corporate GitLab instance.

The GitLab webhooks were not working, returning a "405 Method not allowed" error similar to 456 and 812.

However, I was using the correct image codiumai/pr-agent:gitlab_webhook and the solution provided there is for GitHub.

The documentation for pr-agent GitLab integration mentions "Set the URL to the URL of your app's server", which results in the same HTTP error "405 Method not allowed".

Could you please update the documentation to specify that the URL to configure for GitLab should be http[s]://<PR_AGENT_IP>/webhook and not http[s]://<PR_AGENT_IP> as might be inferred from "URL of your app's server"?

@mrT23
Copy link
Collaborator

mrT23 commented Aug 7, 2024

you are welcome to open a PR updating this
https://github.com/Codium-ai/pr-agent/blob/main/docs/docs/installation/gitlab.md#run-a-gitlab-webhook-server
(or any other relevant doc)

@ascieux-soprasteria
Copy link
Contributor Author

Hi,
Thank you for the docs pointer, I have created PR 1100 accordingly.

@mrT23
Copy link
Collaborator

mrT23 commented Aug 8, 2024

merged 👍

@mrT23 mrT23 closed this as completed Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants