-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Merge request from GitLab self-hosted don't use the proper origin #9464
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
Comments
Hi, this is because you are using a self-hosted version of GitLab, so RTD isn't able to format the origin properly readthedocs.org/readthedocs/vcs_support/backends/git.py Lines 162 to 172 in 46fa804
We could try to fall back to guess from the integration type if the project is from a gitlab-like server, but even with that we won't be able to report the status back, only build the MR. |
In the context of open-source project hosted at In the current setup, despite of being self-hosted, we were able to add a Considering this, attempt to guess would not be needed because by definition, the merge request event are expected to be coming from the GitLab instance associated with the configured To move forward, as pointed out by @stsewd , we would need to update: readthedocs.org/readthedocs/vcs_support/backends/git.py Lines 164 to 172 in 524c24c
.. to check for the type of Integration setup in the project. Questions
Example of integration / https://docs.vtk.org
|
Answering my own question Step 1Since a given project can have multiple integration, we would need to know which integration was responsible for triggering a specific build. This would allow to at least successfully trigger the build. On the merge request side, it would then already be an improvement to have a (soon to be valid) preview URL available. Step 2In addition of knowing the integration type triggering a specific build, in the context of the GitLab integration, we could also pass down the value associated with |
Hello everyone, Since we are affected by this as well, I wanted to ask whether there is any idea of how this issue could be resolved? Would an option like #10397 rebased onto the current main be acceptable or is another solution desired? |
Details
Expected Result
Build should succeed
Actual Result
Build fails
The problem is in the command
which should instead be
for this to work. These instruction should in principle be build based on what is specified on the webhook, but I can't find a way to configure it correctly.
The text was updated successfully, but these errors were encountered: