When using the Kubernetes runner, it seems that if you use exit code 78 to exit a pipeline early (as described here), the pipeline doesn’t actually stop running and exit early at all. Here’s some screenshots with timings:
~11 minutes is the normal time for this pipeline to run when steps aren’t being skipped. It seems that the total time for the pipeline to complete is exactly the same, regardless of whether the pipeline exits early with exit code 78 or whether steps run to completion.
My expectation would be that using exit code 78 to exit early would exit the pipeline with success immediately and prevent any future steps from being executed.
My reason for using it here is to make the CI process quicker by not running expensive tests if no changes have been made to the code which require them to run - unfortunately this doesn’t seem to currently be achievable with Drone. This looks like a bug.