From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPQD6-0002oA-1G for qemu-devel@nongnu.org; Tue, 19 Jul 2016 04:17:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPQD0-0007mQ-Tg for qemu-devel@nongnu.org; Tue, 19 Jul 2016 04:16:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45980) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPQD0-0007mL-O5 for qemu-devel@nongnu.org; Tue, 19 Jul 2016 04:16:54 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 55D00C0467E6 for ; Tue, 19 Jul 2016 08:16:54 +0000 (UTC) Received: from ad.usersys.redhat.com (dhcp-14-122.nay.redhat.com [10.66.14.122]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u6J8Gqt0015076 for ; Tue, 19 Jul 2016 04:16:53 -0400 From: Fam Zheng Date: Tue, 19 Jul 2016 16:16:40 +0800 Message-Id: <1468916208-18668-1-git-send-email-famz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v6 0/8] docker: Support building qemu-user powered docker test images List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org v6: A few tweaks to make this more mergable. Including: - Add and catch magic pre script exit code "3" to allow skipping imag= e. - Tweak debian-bootstrap.pre to return '3' when appropriate (It shoul= d still return 1 for debootstrap command failure). - Fix "realpath" to "readlink -e" to be compatible with centos6. - Add the last patch to skip test if the image is skipped by .pre. Alex, if this looks good to you, I can send a pull req today. Alex Benn=C3=A9e (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 (3): docker: More sensible run script docker: Fix exit code if $CMD failed docker: Don't start a container that doesn't exist tests/docker/Makefile.include | 9 +- tests/docker/docker.py | 150 +++++++++++++++++= ++++-- tests/docker/dockerfiles/debian-bootstrap.docker | 21 ++++ tests/docker/dockerfiles/debian-bootstrap.pre | 87 +++++++++++++ tests/docker/run | 16 ++- 5 files changed, 267 insertions(+), 16 deletions(-) create mode 100644 tests/docker/dockerfiles/debian-bootstrap.docker create mode 100755 tests/docker/dockerfiles/debian-bootstrap.pre --=20 2.7.4