Received: from eggs.gnu.org ([2001:4830:134:3::10]:58690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPPe8-00087d-IB for qemu-devel@nongnu.org; Tue, 19 Jul 2016 03:40:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPPe5-0008N4-Fi for qemu-devel@nongnu.org; Tue, 19 Jul 2016 03:40:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPPe5-0008Mx-A7 for qemu-devel@nongnu.org; Tue, 19 Jul 2016 03:40:49 -0400 Date: Tue, 19 Jul 2016 15:40:47 +0800 From: Fam Zheng Message-ID: <20160719074047.GJ18103@ad.usersys.redhat.com> References: <1468335639-24582-1-git-send-email-alex.bennee@linaro.org> <87shv7ndlo.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <87shv7ndlo.fsf@linaro.org> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v5 0/7] docker: Support building qemu-user powered docker test images List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex =?iso-8859-1?Q?Benn=E9e?= Cc: qemu-devel@nongnu.org, riku.voipio@linaro.org On Mon, 07/18 16:57, Alex Benn=E9e wrote: > > So any ideas about that? Hi Alex, Sorry for the late reply. >=20 > Any thoughts on that Fam? Can we merge it without the final step on the > grounds it makes for useful testing? Yes, we can, though I'd like to make sure we don't break existing docker = tests. Specifically we need to skip building and spawning the debian-bootstrap i= mage if its dependencies are not met. To do that we can define a magic exit co= de for .pre scripts, and catch it in docker.py. What do you think? Fam >=20 > > > > Alex Benn=E9e (5): > > tests/docker/docker.py: docker_dir outside build > > tests/docker/docker.py: support --include-executable > > tests/docker/docker.py: check and run .pre script > > tests/docker/dockerfiles: new debian-bootstrap.docker > > tests/docker/docker.py: add update operation > > > > Fam Zheng (2): > > docker: More sensible run script > > docker: Fix exit code if $CMD failed > > > > tests/docker/Makefile.include | 4 +- > > tests/docker/docker.py | 144 +++++++++++++= ++++++++-- > > tests/docker/dockerfiles/debian-bootstrap.docker | 21 ++++ > > tests/docker/dockerfiles/debian-bootstrap.pre | 82 +++++++++++++ > > tests/docker/run | 16 ++- > > 5 files changed, 252 insertions(+), 15 deletions(-) > > create mode 100644 tests/docker/dockerfiles/debian-bootstrap.docker > > create mode 100755 tests/docker/dockerfiles/debian-bootstrap.pre >=20 >=20 > -- > Alex Benn=E9e >=20