[tahoe-lafs-trac-stream] [Tahoe-LAFS] #4098: CircleCI is Broken
Tahoe-LAFS
trac at tahoe-lafs.org
Tue Aug 20 21:28:16 UTC 2024
#4098: CircleCI is Broken
-------------------------+-----------------------
Reporter: meejah | Owner:
Type: task | Status: new
Priority: normal | Milestone: undecided
Component: unknown | Version: n/a
Resolution: | Keywords:
Launchpad Bug: |
-------------------------+-----------------------
Comment (by sajith):
This appears to be the problem:
{{{
Warning: checkout key has zero length
Writing SSH key for checkout to "/tmp/nobody/.ssh/id_rsa"
Fetching into existing repository
Fetching from remote repository
Warning: Permanently added the ECDSA host key for IP address
'140.82.113.3' to the list of known hosts.
Load key "/tmp/nobody/.ssh/id_rsa": invalid format
git at github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
}}}
I am able to run a job with ssh. I did that, and it indeed is true that
`/tmp/nobody/.ssh/id_rsa` (which is the checkout key) is empty. Why?
According to https://circleci.com/docs/configuration-reference/#checkout,
"the checkout command automatically adds the required authenticity keys
for interacting with GitHub and Bitbucket over SSH". Also, under CircleCI
-> Project settings -> SSH keys, it says that "no checkout key is
currently configured! We won't be able to check out your project for
testing."
So that seems to be the problem. There's a button that says "add deploy
key" but that does not work (Firefox 129.0, Debian). I am going to try the
next button, which is under "user key" that says "authorize with GitHub"
(description: "A user key is a user-specific SSH key. GitHub has the
public key, and we store the private key. Possession of the private key
gives the ability to act as that user, for purposes of 'git' access to
projects.")
(Can CircleCI check out code over HTTPS? That should be helpful?)
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/4098#comment:4>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list