crosvm/infra/recipes
Dennis Kempin b597678ad4 dev_container: Fix reuse logic and add testing
Some recent changes introduced a bug that breaks reusage of
containers. Instead of trying to restart a stopped container,
we delete it instead and start a fresh one.

The code was refactored to allow for testing. The tests run
against the real docker service and are run as part of the health
checks in kokoro / luci.

This CL also gets rid of the custon command line parsing since
luci can now run it with argh available.

BUG=b:234402839
TEST=./tools/dev_containes --self-test [--podman]

Change-Id: Id5eaf0ea83ff07433f8f57cb652b5c393dcb9da3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3681399
Reviewed-by: Anton Romanov <romanton@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
2022-05-31 21:54:23 +00:00
..
build_chromeos.expected infra: Set git name/email on all builders 2022-05-28 01:04:01 +00:00
build_linux.expected infra: Small process improvements 2022-05-27 20:59:12 +00:00
health_check.expected infra: Small process improvements 2022-05-27 20:59:12 +00:00
push_to_github.expected infra: Add push-to-github builder 2022-05-31 21:26:19 +00:00
push_to_github.resources infra: Add push-to-github builder 2022-05-31 21:26:19 +00:00
build_chromeos.proto infra: Add ChromeOS post-submit builder 2022-05-26 22:03:51 +00:00
build_chromeos.py infra: Fix typo in chromeos builder 2022-05-31 21:21:30 +00:00
build_linux.proto infra: Initial setup of linux pre/post-submit builders 2022-05-24 23:13:13 +00:00
build_linux.py infra: Small process improvements 2022-05-27 20:59:12 +00:00
health_check.py dev_container: Fix reuse logic and add testing 2022-05-31 21:54:23 +00:00
push_to_github.py infra: Add push-to-github builder 2022-05-31 21:26:19 +00:00