70 Commits

Author SHA1 Message Date
288dc71490
execute: use goroutines + mutex to more efficiently serialize non-async cases 2022-08-13 12:52:28 -05:00
46ad4e6d87
Release version v1.2.1 v1.2.1 2022-08-13 02:32:42 -05:00
54b9bae673
Fix container.Reorder 2022-08-13 02:32:31 -05:00
7cd28a38a2
Release version v1.2.0 v1.2.0 2022-08-12 21:24:16 -05:00
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
12b7438b25
Release version v1.1.13 v1.1.13 2022-08-01 00:06:17 -05:00
38099a8f2d
Supress making netns symlinks when using host networking 2022-08-01 00:06:06 -05:00
fa8c732599
Release version v1.1.12 v1.1.12 2022-07-31 18:59:32 -05:00
be88a1700b
Add port mapping and netns container fields 2022-07-31 18:59:22 -05:00
793e87043c
Release version v1.1.11 v1.1.11 2022-07-31 13:37:19 -05:00
07492e04b1
Add Expose{Tcp,Udp} to container def 2022-07-31 13:37:05 -05:00
e56d2c12d2
Rename getAndExecute -> execForEach 2022-07-31 00:57:18 -05:00
c347bd9311
Release version v1.1.10 v1.1.10 2022-07-31 00:21:31 -05:00
158e4353f4
Rename the special 'disabled' category to '.' 2022-07-31 00:21:17 -05:00
c3044b02ae
Release version v1.1.9 v1.1.9 2022-07-30 14:27:03 -05:00
0fbb9fdec1
Improve logging and output formatting with CommandSet 2022-07-30 14:26:23 -05:00
e2bec45a90 Release version v1.1.8 v1.1.8 2022-07-29 23:07:35 -05:00
4f78efe42c Multithread all libpod actions 2022-07-29 23:07:19 -05:00
515929fd8f Fix container.Update 2022-07-29 23:06:31 -05:00
82aa749928 Release version v1.1.7 v1.1.7 2022-07-29 22:13:21 -05:00
10bb8b9d68 show does not need connection 2022-07-29 22:13:01 -05:00
d58402ab6f Allow for connection failures for some commands 2022-07-29 22:10:12 -05:00
dd7adc00e1 Logging: show abbreviated id 2022-07-29 22:09:51 -05:00
6b2dd74edc
version: output to stdout 2022-07-29 19:53:28 -05:00
29d32e4740
Release version v1.1.6 v1.1.6 2022-07-29 19:47:37 -05:00
1a0c00cb27
Move connection opening to PersistentPreRun, and only attempt when needed 2022-07-29 19:43:35 -05:00
04e108100a
Refactor command execution 2022-07-29 19:42:46 -05:00
fc40b5c4a3
Remove "STRFUNC" command type 2022-07-29 18:58:52 -05:00
2f79041162 Release version v1.1.5 v1.1.5 2022-07-28 01:33:31 -05:00
ac59a50f06 Logging 2022-07-28 01:33:03 -05:00
fcbfc50be0 Juice up show command 2022-07-28 01:32:53 -05:00
1b6dcabf5d Release version v1.1.4 v1.1.4 2022-07-27 22:16:54 -05:00
a1f4e8e8d9 Use unicode ✔ for ls Running and Created columns 2022-07-27 22:10:04 -05:00
f1bc92cd46 Remove unsed type 2022-07-27 22:02:16 -05:00
43df4e42be
Update README to describe the disabled category 2022-07-27 21:56:57 -05:00
6efca69f66
Release version v1.1.3 v1.1.3 2022-07-27 21:49:41 -05:00
a501fb0308
Clean up show toml format 2022-07-27 21:49:30 -05:00
ddd391c8b0
Mask disabled category from action by default 2022-07-27 21:48:47 -05:00
98ec553778
Release version v1.1.2 v1.1.2 2022-07-27 01:02:10 -05:00
74e9edefdc
Add some meat onto README.md 2022-07-27 01:01:47 -05:00
84c431c8d4
Pull images if necessary before creating. Add pull command. 2022-07-27 01:01:24 -05:00
787c06e4d1 Release version v1.1.1 v1.1.1 2022-07-26 15:22:55 -05:00
c5dc8ba3ed Clean up error handling, logging, and completion 2022-07-26 15:22:38 -05:00
16cf7fdf41 Add show subcommand 2022-07-26 15:22:06 -05:00
aa5eeaddb2 Release version v1.1.0 v1.1.0 2022-07-25 10:19:41 -05:00
25297fc604 Add rm command 2022-07-25 10:19:08 -05:00
53272b0da9 ls: add CREATED and RUNNING columns 2022-07-25 10:18:58 -05:00
b758f04a50 Migrate to podman API rather than cli
Large change greatly expanding the linked footprint of this little
utility, but it is much faster and adds a couple of very nice features:

- set container sysctl settings to disable router advertisements as part
  of container definition. this means we no longer need to do this via
  `ip netns exec <container> sysctl -w ...` (followed by
  `ip netns exec ip -6 a flush...`). Major win.
- able to very quickly ascertain creation and run state of defined
  containers.
2022-07-25 10:13:36 -05:00
c2ae18fed9 Release version v1.0.9 v1.0.9 2022-07-21 17:18:58 -05:00
959ffec79b Add RUNNING column to ls output v1.0.8 2022-07-21 17:17:26 -05:00