We have a few organizations built in Gitea, it seems drone trusts only one organization right now, for others the pipline shows the following on the clone step:
Host key verification failed. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
The organization that works is called “Org1”. The organization that does not work is called “Org2”. If we try to use Org1 with the branches that were in Org2, drone works fine and is able to clone the branches in Or1. If Org2 is used, it seems drone does not trust the interaction and fails as above shows.
I think we narrowed this down to building more orgsecrets with the drone cli utility, however I keep getting the following error with the tool (Using add, ls, info, etc all give the same error):
$ ./drone --server 10.10.10.10 --token longadmintoken orgsecret ls
$ Get 10.104.8.28/api/secrets: unsupported protocol scheme “”
It seems that the drone utility requires me to specify a server and admin token, is this right? The documentation does not mention this at all (Maybe I am using this utility wrong?)
Gitea, drone, drone-runner, and database all live in docker containers brought up with docker-compose file.
Can anyone help?