drone / proposal

Drone Project Design Documents
13 stars 4 forks source link

[drone-ui] Restart from here #28

Open WillGibson opened 2 years ago

WillGibson commented 2 years ago

It would be lovely to have a “Restart from here” feature in the Drone UI.

I appreciate this probably sends tendrils into other places, not just the UI.

Example use case

Most of a pipeline is all green, but one of the integration tests failed due to a third party service outage. Would be great to be able to restart the pipeline from the integration test step so we don't have to restart the whole, sometimes lengthy, build to get the validation we need to move onto a production deployment.

MarieReRe commented 2 years ago

Hey 👋🏻 @WillGibson Thanks for submitting your proposal. We usually review PRs every Tuesday but I will keep you up to date if anything changes. 🎉

tphoney commented 2 years ago

Hi @WillGibson this is something that has been requested a lot, and although it seems like a trivial thing to add it has major implications with how Drone works. I have detailed this out here https://community.harness.io/t/i-want-to-rerun-a-step-instead-of-running-the-whole-build/11872 Hopefully this explains things a little.

julienduchesne commented 2 years ago

@tphoney. How about restarting a single pipeline in a build? Pipelines are self-contained so it should be possible. For example, I have a build with 10 pipelines. Only one of them fails and the build is red. I'd like to be able to restart that one pipeline (or all failed pipelines) without running all the other ones, and have the build turn green if it succeeds.

Is that possible?

tphoney commented 2 years ago

hmmm, not thought about that 👍 i'll have a think 🧠 and get back to you . Thanks again for opening up the discussion