Drone

Digital Ocean Runner Builds Fail on Ubuntu

I normally use the Docker runner, but I’m using the DigitalOcean runner for this project (first time).

I’ve selected the slug ‘ubuntu-20-04-x64’ . With every build, I am getting an error along the lines of ‘default: dial tcp XXX.XXX.XXX.XXX:22: connect: connection refused’. It seems to me that although the droplet has reached the point of receiving pings, the SSH server has not yet started.

There are a pair of pull requests attempting to fix this, but I’m hoping that clearly explaining the issue here will help too. If anyone does have a fix and I’ve misunderstood the error, it’d be greatly appreciated.

I’ve added some comments to the newer pull request and suggested improvements: