i just started to dive in drone - but i have some issues with my gitea-server. I can authenticate without problems, fetching repo list, set webhooks and so on - everyything seems to work fine
but when i start a build, it fails on clone step:
+ git init
Initialized empty Git repository in /drone/src/username/repo/.git/
+ git remote add origin /username/repo.git
+ git fetch --no-tags origin +refs/heads/master:
fatal: '/username/repo.git' does not appear to be a git repository
fatal: Could not read from remote repository.
seems like the gitea server is lost?
also tried the gogs driver, but the issue is still there.
in the docker-compose.yaml i added DRONE_GITEA and DRONE_GITEA_URL as described in the docs.
i noticed that the contents of the webhook only contains the /user/repo.git as clone_url and http_url - i updated the gitea conf and set the ROOT_URL correctly - no the data in the webhool seems to be correct.
tested again - same results, url is missing, drone cannot clone.
luckily this was a fresh install of drone, so i just deleted the sqlite db and started again - aaand its working!
is it possible that drone saves or caches the clone_url from the first webhook request?