Commit Graph

13 Commits

Author SHA1 Message Date
Joel Elkins ca5f956ef2
Complete linting for whole project 2022-08-17 10:21:46 -05:00
Joel Elkins b91eb62c34
Huge amount of linting
Linting
2022-08-17 02:25:12 -05:00
Joel Elkins 4caabc0327
Execute: probable bikeshedding 2022-08-16 00:57:27 -05:00
Joel Elkins f09272d4a3
Misc cleanup 2022-08-13 23:10:33 -05:00
Joel Elkins 71f830887e
Abort a bad idea 2022-08-13 22:52:31 -05:00
Joel Elkins 50cb8543f7
WIP - broken compile 2022-08-13 16:53:57 -05:00
Joel Elkins 94892c3604
import alias 2022-08-13 13:09:48 -05:00
Joel Elkins 288dc71490
execute: use goroutines + mutex to more efficiently serialize non-async cases 2022-08-13 12:52:28 -05:00
Joel Elkins 74bbc9dad8
Implement rudimentary dependency model with start_order
Any container definitions in ccl.toml can be given a `start_order` tag
(integer). It is recommended to not put a start_order unless a container
depends on another one (e.g. synapse needs postgres), in which case all
dependents and dependees should be given a `start_order`, with dependees
having a lower number than their dependents. It is guaranteed that the
dependees will be started first, although the container startup
procedure is outside of our control. Containers without a `start_order`
will have their operations applied asynchronously, but those with
a start order are started, well, in order from lowest to highest. "Stop"
operations are applied in the reverse order.
2022-08-12 21:16:55 -05:00
Joel Elkins e56d2c12d2
Rename getAndExecute -> execForEach 2022-07-31 00:57:18 -05:00
Joel Elkins 0fbb9fdec1
Improve logging and output formatting with CommandSet 2022-07-30 14:26:23 -05:00
Joel Elkins 4f78efe42c Multithread all libpod actions 2022-07-29 23:07:19 -05:00
Joel Elkins 04e108100a
Refactor command execution 2022-07-29 19:42:46 -05:00