-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
GitLab: Error when generating URL for Commit Status #1979
Comments
Yeah it's likely because the repo field is "PROJECT/infra" and URL generation fails here: We should probably sanitize the repo name and replace the "/" with "-". similar to what we do for directories with no project names. |
The linked MR does not fix the problem. I have upgraded to 0.18.2 and still have same error originally described by @syphernl |
Hi @Delorien84 @syphernl , |
I've tested #2021 locally and it now indeed generates a valid URL which gets attached to a GitLab Pipeline status. |
Community Note
Overview of the Issue
Since 0.18.0 (added in #1937) Atlantis attaches an URL to the PR for viewing the real-time status.
However, when using GitLab this results in an error likely due to the fact that the repo's can have a nested names (
org/project/repo
or evenorg/project/subproject/subproject/repo
rather thanorg/repo
on GitHub) which is not expected.Reproduction Steps
Logs
Logs
Environment details
If not already included, please provide the following:
The text was updated successfully, but these errors were encountered: