drone 0.6 is not officially released yet and we haven’t documented the install process or the new settings. For this reason I would probably advise waiting for the official release, so that we have the appropriate documentation in place given the number or breaking changes.
But with that being said, you need to set the following environment variable in order for Drone to properly set the status DRONE_SERVER_HOST=http://your.drone.hostname.com
Just out of curiosity, did DRONE_SERVER_HOST replace DRONE_SERVER or is there another reason to that ?
I guess you’re right, but the upgrade was a mistake : the latest tag on the docker images leads to drone 0.6 … Tus, my periodic docker pull of all my images got drone upgraded to 0.6 (and cause a heck of trouble !)
the DRONE_SERVER variable is provided to the agent to connect to the drone server. The DRONE_SERVER_HOST variable is provided to the server so that it knows its own address. Previous versions of the drone server were able to reliably determine its own url when creating the GitHub status. With 0.6 this can no longer be done reliably and therefore needs to be specified with an environment variable.
yea sorry about that. latest is now going to be updated on every push to master. The project will start using semver and creating immutable tags more frequently. Note the latest tag is currently pinned to 0.6-rc.1 which is what I’m running at beta.drone.io. It is pretty stable for a release candidate, so I honestly wouldn’t recommend downgrading at this point. The only reason I haven’t announced the release yet is lack of updated documentation.