airshipit / airshipctl

A CLI for managing declarative infrastructure.
Apache License 2.0
43 stars 49 forks source link

Allow to resume phase plan execution from a certain phase #667

Closed raliev12 closed 2 years ago

raliev12 commented 2 years ago

Problem description (if applicable) It's a common scenario when airshipctl plan run command fails before finish. If desired, the user should be able to resume the execution of the plan from a certain phase.

Proposed change Introduce --resume-from <phase_name> CLI option for the plan run subcommand, which will skip all phases in the plan before the specified one.

Potential impacts None.

dinesh14nish commented 2 years ago

Can you please assign this to me.

raliev12 commented 2 years ago

I'm sorry, but I already prepared a solution for this one - https://review.opendev.org/c/airship/airshipctl/+/817361