orderrun-resume¶
Shortcut: orr
Help option
~ $ dk orderrun-resume --help
Current context is: default
Usage: dk orderrun-resume [OPTIONS] ORDERRUN_ID
Resumes an OrderRun that was stopped manually or due to the failure
of an implemented test.
Options:
-k, --kitchen Kitchen name
-y, --yes Force yes
-p, --params Variable overrides passed as parameters
-s, --skip-failed-nodes Skip the nodes that failed and run what is
downstream of them, instead of retrying them
--help Show this message and exit.
Resume an order with contextual options
~/Kitchens/Dev_Sprint $ dk orderrun-resume 3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80
Current context is: default
Are you sure you want to resume the OrderRun:
Kitchen: Feature_Sprint
Recipe: Recipe1
Variation: Variation1[yes/No]yes
OrderRun: 3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80
YYYY-MM-DD HH:MM:SS - Resuming OrderRun:
Kitchen: Feature_Sprint
Recipe: Recipe1
Variation: Variation1[yes/No]yes
OrderRun: 3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80
Resume order with explicit options, shortcuts, and force
~ $ dk orr -k Feature_Sprint 3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80 -y
Current context is: default
YYYY-MM-DD HH:MM:SS - Resuming OrderRun:
Kitchen: Feature_Sprint
Recipe: Recipe1
Variation: Variation1[yes/No]yes
OrderRun: 3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80
Resume with a variable override
The override applies to this run only. Values that nodes set during the failed attempt are carried over; every other variable is read fresh from the recipe, the variation and the kitchen overrides.
Resume without retrying the nodes that failed
The nodes that failed are left alone and the nodes after them run. A downstream node may fail in turn if it needs data a skipped node produces.