Reputation: 134
I've seen the Drone documentation for installing Drone behind a proxy and I've followed the directions exactly, but it's still not working for me. What's happening now is that GitHub successfully sends events to Drone, Drone does its builds just fine, but GitHub never receives a response when the build finishes. As a result, GitHub thinks that every build is "in progress" forever.
Upvotes: 0
Views: 1556
Reputation: 2563
Drone does its builds just fine, but GitHub never receives a response when the build finishes
When you install and configure the Drone server you need to set the DRONE_HOST
environment variable [1]. This environment variable is used by Drone to determine its own public address so that it can post status updates to GitHub with the correct url.
DRONE_HOST=https://drone.yourcompnay.com
If this value is missing or is not properly configured Drone will fail to update the GitHub status, resulting in the following error logs:
level=error msg="error setting commit status for octocat/hello-world/244"
Please note that this issue is not related to nginx configuration.
[1] http://docs.drone.io/installation/
Upvotes: 3