I’m trying to connect drone with our gitlab.
When I make a merge-request, drone get it and launch the pipeline fine… But It can’t update pipeline status on gitlab…
In my logs I have this always this error…
{"commit":"<my commit sha>","error":"404 References for commit Not Found","event":"pull_request","level":"warning","msg":"trigger: cannot create status","ref":"refs/merge-requests/651/head","repo":"<my repo>","time":"2019-10-01T10:51:30Z"}
{"build.id":5,"build.number":5,"error":"404 References for commit Not Found","level":"warning","msg":"manager: cannot publish status","repo.id":85,"stage.id":5,"time":"2019-10-01T10:51:31Z"}
{"build.id":5,"build.number":5,"error":"404 References for commit Not Found","level":"warning","msg":"manager: cannot publish status","repo.id":85,"stage.id":5,"time":"2019-10-01T10:51:51Z"}
I recommend looking at your gitlab server logs to understand why the commit is not found in gitlab. If the commit is not found in gitlab, why did gitlab send the commit sha to Drone in the first place?