Open Eve-ning opened 9 months ago
I wonder if running cml ci
first could solve this issue.
I wonder if running
cml ci
first could solve this issue.
$cml ci
error: URL parsing failed. {"subject_url":"git@github.com/FR-DC/FRDC-ML.git\n"}
Unfortunately, it throws the same error if the URL is configured with SSH
I've solved this already. I'm posting as a solution and also a problem, as its failure is not that clear
Problem
When I run
I get
Solution
The problem is that CML doesn't recognize the SSH URLs (starts with
git@
), instead only works with HTTPS URLs (starts withhttps
).To fix this, edit
.git/config
For example:
Change
url = ...
to the HTTPS variantReplicating
This usually happens when you clone using SSH. It happened to me as I configured the
gh-cli
to prefer SSH, and can be a silent failure for many