From nobody Thu Nov 6 15:14:34 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1489130550459110.8644410190625; Thu, 9 Mar 2017 23:22:30 -0800 (PST) Received: from localhost ([::1]:37756 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmEsd-0000ag-6w for importer@patchew.org; Fri, 10 Mar 2017 02:22:27 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmErE-0008TJ-1w for qemu-devel@nongnu.org; Fri, 10 Mar 2017 02:21:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmErC-0005YR-1J for qemu-devel@nongnu.org; Fri, 10 Mar 2017 02:20:59 -0500 Received: from mx1.redhat.com ([209.132.183.28]:34440) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cmErB-0005Y8-HD for qemu-devel@nongnu.org; Fri, 10 Mar 2017 02:20:57 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (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 A47C93D959; Fri, 10 Mar 2017 07:20:57 +0000 (UTC) Received: from lemon.redhat.com (ovpn-8-30.pek2.redhat.com [10.72.8.30]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id v2A7KrM1010861; Fri, 10 Mar 2017 02:20:56 -0500 From: Fam Zheng To: qemu-devel@nongnu.org Date: Fri, 10 Mar 2017 15:20:50 +0800 Message-Id: <20170310072051.15704-2-famz@redhat.com> In-Reply-To: <20170310072051.15704-1-famz@redhat.com> References: <20170310072051.15704-1-famz@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Fri, 10 Mar 2017 07:20:57 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PULL 1/2] tests/docker: support proxy / corporate firewall X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: Philippe Mathieu-Daud=C3=A9 if ftp_proxy/http_proxy/https_proxy standard environment variables availabl= e, pass them to the docker daemon to build images. this is required when building behind corporate proxy/firewall, but also he= lp when using local cache server (ie: apt/yum). Signed-off-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20170306205520.32311-1-f4bug@amsat.org> Reviewed-by: Fam Zheng Signed-off-by: Fam Zheng --- tests/docker/docker.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/docker/docker.py b/tests/docker/docker.py index 9fd32ab..8747f6a 100755 --- a/tests/docker/docker.py +++ b/tests/docker/docker.py @@ -28,6 +28,9 @@ from shutil import copy, rmtree from pwd import getpwuid =20 =20 +FILTERED_ENV_NAMES =3D ['ftp_proxy', 'http_proxy', 'https_proxy'] + + DEVNULL =3D open(os.devnull, 'wb') =20 =20 @@ -272,6 +275,9 @@ class BuildCommand(SubCommand): _copy_binary_with_libs(args.include_executable, docker_dir) =20 + argv +=3D ["--build-arg=3D" + k.lower() + "=3D" + v + for k, v in os.environ.iteritems() + if k.lower() in FILTERED_ENV_NAMES] dkr.build_image(tag, docker_dir, dockerfile, quiet=3Dargs.quiet, user=3Dargs.user, argv=3Da= rgv) =20 --=20 2.9.3 From nobody Thu Nov 6 15:14:34 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1489130607532595.9848750519599; Thu, 9 Mar 2017 23:23:27 -0800 (PST) Received: from localhost ([::1]:37758 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmEta-0001AQ-65 for importer@patchew.org; Fri, 10 Mar 2017 02:23:26 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33275) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmErE-0008TK-Q0 for qemu-devel@nongnu.org; Fri, 10 Mar 2017 02:21:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmErD-0005Yj-HB for qemu-devel@nongnu.org; Fri, 10 Mar 2017 02:21:00 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57646) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cmErD-0005YY-Ai for qemu-devel@nongnu.org; Fri, 10 Mar 2017 02:20:59 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (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 8042581F03; Fri, 10 Mar 2017 07:20:59 +0000 (UTC) Received: from lemon.redhat.com (ovpn-8-30.pek2.redhat.com [10.72.8.30]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id v2A7KrM2010861; Fri, 10 Mar 2017 02:20:58 -0500 From: Fam Zheng To: qemu-devel@nongnu.org Date: Fri, 10 Mar 2017 15:20:51 +0800 Message-Id: <20170310072051.15704-3-famz@redhat.com> In-Reply-To: <20170310072051.15704-1-famz@redhat.com> References: <20170310072051.15704-1-famz@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Fri, 10 Mar 2017 07:20:59 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PULL 2/2] docker/dockerfiles/debian-s390-cross: include clang X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: Alex Benn=C3=A9e It's a silly little limitation on Shippable that is looks for clang in the container even though we won't use it. The arm/aarch64 cross builds inherit this from debian.docker but as we needed to use debian-testing for this we add it here. We also collapse the update step into one RUN line to remove and intermediate layer of the docker build. Signed-off-by: Alex Benn=C3=A9e Message-Id: <20170306112848.659-1-alex.bennee@linaro.org> Signed-off-by: Fam Zheng --- tests/docker/dockerfiles/debian-s390x-cross.docker | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/docker/dockerfiles/debian-s390x-cross.docker b/tests/doc= ker/dockerfiles/debian-s390x-cross.docker index bbb21ed..3a687fe 100644 --- a/tests/docker/dockerfiles/debian-s390x-cross.docker +++ b/tests/docker/dockerfiles/debian-s390x-cross.docker @@ -13,8 +13,8 @@ RUN cat /etc/apt/sources.list | sed "s/deb/deb-src/" >> /= etc/apt/sources.list RUN dpkg --add-architecture s390x =20 # Grab the updated list of packages -RUN apt update -RUN apt dist-upgrade -yy +RUN apt update && apt dist-upgrade -yy +RUN apt install -yy build-essential clang RUN apt-get build-dep -yy -a s390x qemu || apt-get -f install RUN apt install -yy gcc-multilib-s390x-linux-gnu binutils-multiarch =20 --=20 2.9.3