Git clone fail from gitea's public repo

Some times git clone fail from gitea’s public repo.(no user’s ssh public set in gitea)

May we need to generate a id_rsa to agola’s task image?

current i can see these:

+ mkdir /root/.ssh

+ chmod 700 /root/.ssh

+ touch /root/.ssh/id_rsa

+ chmod 600 /root/.ssh/id_rsa

+ touch /root/.ssh/known_hosts

+ chmod 600 /root/.ssh/known_hosts

@huapox Everything should already be setup or it’ll always fail. We never saw this random errors and there’re integration test that should catch this.

Can you provide the logs of the failed step and possibly a way to reproduce it?

Resolved, just because of my mess env(sometimes for test, the setting in gitea and agola are diff, by my err operate)

Now this works ok, I noticed that the ssh-key was added to the repo’s settings in gitea.

How to close the post?