无人机CI在无人机主页中有这个存储库,但是,gogs的webhook请求reponse 400无法找到存储库
Gogs-webhook发出POST/hook请求。
{
"ref": "refs/heads/master",
"before": "ae25bc66898ec377b5e94c39a4e9511a3640336a",
"after": "ae25bc66898ec377b5e94c39a4e9511a3640336a",
"compare_url": "",
"commits": [
{
"id": "ae25bc66898ec377b5e94c39a4e9511a3640336a",
"message": "[feat]: add ci drone.ymln",
"url": "http://gogs.site.com/root/Alertmanager-feishu-webhook/commit/ae25bc66898ec377b5e94c39a4e9511a3640336a",
"author": {
"name": "Bowser",
"email": "bowser1704@icloud.com",
"username": ""
},
响应为:
{"message":"Cannot find repository"}
日志为:
{"arch":"amd64","kernel":"","kind":"pipeline","level":"debug","msg":"manager: context canceled","os":"linux","time":"2020-09-27T03:15:10Z","type":"docker","variant":""}
{"arch":"amd64","kernel":"","kind":"pipeline","level":"debug","msg":"manager: context canceled","os":"linux","time":"2020-09-27T03:15:10Z","type":"docker","variant":""}
{"arch":"amd64","kernel":"","kind":"pipeline","level":"debug","msg":"manager: request queue item","os":"linux","time":"2020-09-27T03:15:20Z","type":"docker","variant":""}
{"arch":"amd64","kernel":"","kind":"pipeline","level":"debug","msg":"manager: request queue item","os":"linux","time":"2020-09-27T03:15:20Z","type":"docker","variant":""}
我通过在专用实例上安装Drone来修复它。这似乎是一个模糊的网络问题。
无人机文档
请注意,我们强烈建议在专用实例上安装Drone。由于网络复杂性,我们不建议使用docker compose在同一个实例上安装Drone和Gitea。