Drone

Builds can be promoted before they are finished

It’s possible to promote a build before it has been finished - with my current setup, I have a build pipeline create some artefacts, and a promote pipeline that deploys said artefacts, but it’s currently possible to promote the build before it has finished, making the deploy/promote pipeline fail in odd ways, because they expect the artefacts to exist.

In the same vein, it’s possible to promote failed builds, which has similar issues to the above.

Am I using promote in an unintended way, or is this unintended behaviour?

Drone does not place any restrictions on if / when a build can be promoted. You can make a separate API call to determine if the build is complete before promoting, if desired.