What does this MR do?
$CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX is currently broken for groups containing uppercase letters, as docker does not allow uppercase characters in the image path, but GitLab allows them in the group name, which is used in the dependency proxy's image prefix.
The proxy already works with lowercased group names, the only thing needed is to make sure we pass the correct prefix to the CI and to the web page user.
Screenshots (strongly suggested)
Taking my current employer as an example, our group name is
Datapred with an uppercase initial.
Notice the change in the URL shown.
The same change is also applied to the
$CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX CI variable.
Does this MR meet the acceptance criteria?
Availability and Testing
I haven't done this in this MR (yet), but it would probably be good to add tests using group names containing all the characters allowed by GitLab, to make sure that those are all handled correctly by Docker.
add tests showing this bug, and that this MR fixes it
maybe: mention in the doc that this variable cannot be used in groups containing uppercase letters until GitLab 13.10
Closes #296171 (closed)
/cc PM @trizzi