stacki icon indicating copy to clipboard operation
stacki copied to clipboard

Easier method to order cart execution

Open bsanders opened this issue 7 years ago • 1 comments

First, ordering carts is already possible and documented. See https://github.com/StackIQ/stacki/wiki/Setting-Cart-Order

Carts get enumerated according to the alphabetical sorting of the cart names.

To modify this order you must modify the order/edge tags in graph.xml files

It would be good to have an easier method to force an ordering. Perhaps a column in the database with an integer or something and some plumbing to set it.

bsanders avatar Apr 27 '17 22:04 bsanders

Each cart has a "provides" and "requires" fields.

If ordered, an entire cart runs before an entire other cart.

# stack add cart newcart requires="oldcart"

gregorybruno avatar May 02 '17 18:05 gregorybruno