From fc4f9071124241a302c443bfb2369e4ffe1e9dad Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Wed, 19 Oct 2022 19:08:43 -0700 Subject: [PATCH] add docker-compose logs --- certbot-ci/certbot_integration_tests/utils/acme_server.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/certbot-ci/certbot_integration_tests/utils/acme_server.py b/certbot-ci/certbot_integration_tests/utils/acme_server.py index c685c3aec..c21d1bd21 100755 --- a/certbot-ci/certbot_integration_tests/utils/acme_server.py +++ b/certbot-ci/certbot_integration_tests/utils/acme_server.py @@ -210,6 +210,8 @@ class ACMEServer: '--force-recreate'], cwd=instance_path) process.wait(MAX_SUBPROCESS_WAIT) + if self._stdout == sys.stdout: + self._launch_process(['docker-compose', 'logs', '-f'], cwd=instance_path) # Wait for the ACME CA server to be up. print('=> Waiting for boulder instance to respond...')