crosvm/ci/kokoro
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
..
windows ci: disable chocolatey progress output on Windows 2022-05-20 22:37:12 +00:00
build-aarch64.sh dev_container: Preserve container between calls 2021-11-19 20:09:39 +00:00
build-armhf.sh Enable some tests for armhf builds 2021-12-14 18:11:32 +00:00
build-chromeos.sh build-chromeos.sh: Clean up cros repo after build 2022-04-28 18:01:47 +00:00
build-merge-into-chromeos.sh merge bot: Skip installing python version if it exists already 2022-04-14 22:23:43 +00:00
build-push-to-github.sh ci: kokoro: push-to-github: Use git push --all instead of --mirror 2021-10-20 16:06:04 +00:00
build-x86_64.sh dev_container: Fix reuse logic and add testing 2022-05-31 21:54:23 +00:00
common.cfg Kokoro: Extensive polishing and bugfixing 2021-02-10 22:04:43 +00:00
common.sh ci/kokoro: improve error checking 2022-03-25 00:33:06 +00:00
continuous-aarch64.cfg Add Kokoro for ci/builders 2021-02-05 03:01:55 +00:00
continuous-armhf.cfg Add continuous and presubmit-cr armhf job configs for kokoro 2021-12-14 19:45:21 +00:00
continuous-chromeos.cfg Kokoro: Increase build timeout for ChromeOS builder 2022-04-26 15:54:32 +00:00
continuous-x86_64.cfg Add Kokoro for ci/builders 2021-02-05 03:01:55 +00:00
merge-into-chromeos.cfg kokoro: Various fixes to merge-into-chromeos job 2021-12-07 20:50:29 +00:00
presubmit-cq-aarch64.cfg Make Kokoro v2 happy with new config 2021-02-06 05:26:04 +00:00
presubmit-cq-armhf.cfg Enable some tests for armhf builds 2021-12-14 18:11:32 +00:00
presubmit-cq-x86_64.cfg Make Kokoro v2 happy with new config 2021-02-06 05:26:04 +00:00
presubmit-cr-aarch64.cfg Make Kokoro v2 happy with new config 2021-02-06 05:26:04 +00:00
presubmit-cr-armhf.cfg Add continuous and presubmit-cr armhf job configs for kokoro 2021-12-14 19:45:21 +00:00
presubmit-cr-x86_64.cfg Make Kokoro v2 happy with new config 2021-02-06 05:26:04 +00:00
push-to-github.cfg Add push-to-github kokoro config and script 2021-10-18 21:37:58 +00:00
simulate.py Add python presubmit checks 2022-04-15 19:22:53 +00:00