krel release-notes with --create-website-pr errors with git ssh fingerprint #2420
Labels
area/release-eng
Issues or PRs related to the Release Engineering subproject
kind/bug
Categorizes issue or PR as related to a bug.
needs-priority
sig/release
Categorizes an issue or PR as relevant to SIG Release.
What happened:
Trying to generate the PRs to update the website https://kubernetes.io/releases/ with missing release notes for patch releases.
Running the command
Noticed I'm only using the flag
--create-website-pr
If you using both flags
--create-draft-pr
and--create-website-pr
it works because the git clone will be done with https (create-draft-pr) and the create-website function will skip the git clone using sshHere is the background on the problem go-git/go-git#411
I proposed we switch to https cloning since for k/k, this is consistence and it always works
What you expected to happen:
To not have errors and creates the PR
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
It errors with git ssh problems like this. Notice that is trying to git clone with ssh
git clone git@github.com/kubernetes/kubernetes
DEBU Using repository url "git@github.com:kubernetes/kubernetes" file="git/git.go:371
I have a private ssh key in
~/.ssh/id_rsa
And have the correct known_hosts
git clone git@github.com/kubernetes/kubernetes
$ ssh -T git@github.com
Hi mojotx! You've successfully authenticated, but GitHub does not provide shell access.
The text was updated successfully, but these errors were encountered: