Description of problem: Custom Git repositories are not validated during git import flows unless the repo URL is from `github`, `gitlab` or `bitbucket`. Version-Release number of selected component (if applicable): 4.5.0-0.ci-2020-05-26-143043 How reproducible: Steps to Reproduce: 1. Go to dev perspective -> Import from Git 2. Enter git URL `https://version.helsinki.fi/tommi.tuura/public-project` 3. Select Git Type `GitLab` Actual results: Error `Git repository is not reachable`. Expected results: Once the Git Type is entered correctly, the validation should re-run. Additional info:
After the git type is selected, validation should be re-run and if successful, the help text should reflect the successful validation. Furthermore, for the git import flow, the builder image detection should re-run after successfully connecting to the git repository using the git APIs.
Created attachment 1696428 [details] validate git url on selecting git type
Is there any backport planned for 4.5?
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:4196
No backport to 4.5?
Hi @sgarciam, A backport to 4.5 has been initialized and will be put up soon. Thank you for your patience.