Remove the trailing slash from the component FQDN
What does this MR do and why?
When calculating the component FQDN, we used to add a trailing slash at the end of the host+port.
When calling a component from a CI config, we check if the call has
a proper FQDN as a prefix. Now, we want to provide the flexibility of
using a variable as the FQDN part of the include:component
. And we
don't want users to use ${VAR}components
because the ${VAR}
would
have a trailing slash already. So, we are removing it in this MR first.
The main goal of this MR is to be able to use this;
include:
- component: ${CI_COMPONENT_FQDN}/components/sast/sast@<VERSION>
instead of this;
include:
- component: ${CI_COMPONENT_FQDN}components/sast/sast@<VERSION>
- Related to #434260 (closed)
- Related to #415638
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Furkan Ayhan