Message ID | 20180621062605.941-57-alex.bennee@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="SIty9Asd"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41BCRk5DsFz9s2L for <incoming@patchwork.ozlabs.org>; Thu, 21 Jun 2018 17:06:42 +1000 (AEST) Received: from localhost ([::1]:53465 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1fVtg0-0007QM-9R for incoming@patchwork.ozlabs.org; Thu, 21 Jun 2018 03:06:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fVt8Y-0005mU-6y for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:32:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fVt8X-0003uQ-BH for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:32:06 -0400 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]:42773) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fVt8X-0003ti-3u for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:32:05 -0400 Received: by mail-wr0-x242.google.com with SMTP id w10-v6so1826597wrk.9 for <qemu-devel@nongnu.org>; Wed, 20 Jun 2018 23:32:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Da57ECTJ27F1UqzcF6YwMSIUfcwat0ZTTT73wmFouN4=; b=SIty9AsdwSospjmHWLciLb5mqGocz4Os9Rj0XhUOaWMO0+OCwt2HptVNYks7k1oW1r rNGOR2kkCGLuHvH4Gu1SwjBHPoO9idW/TAUhOnYrLfX3Dl7shrN19RVzqhrwewV/aF+O xbo/hjsLfzhAaaRfAfibB/vpdPIiSJ7IAAyb4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Da57ECTJ27F1UqzcF6YwMSIUfcwat0ZTTT73wmFouN4=; b=Q/AeXFjPz4UbMOeowdHsZxLpEmxMiD0WmdbdkUh7Wyl1h6ByB75B8So8v1eWyKUoi4 QoRMn2K59DHmTEWrf7bcg9T3/Hmepx05JCvlExsxo4izp4lhmulhVFKUfLhf1fXrUshc 5r9FA+I2+eU5oqOb+/zT9RjpYr2RQiPKTsYUrEacDUfx4m3plkzO2w0btyKrEOQLwRjc YoPrqim1QYuQUmILDpSTO3EoPnOy01PUyuN5mqYEBxhoCx/bsIxHSUcMp93MyaVeBPjt 27ODQVXBFz2LANvLCaXBZvPzo144yvDYYMTx1KtNdk/O4mkTklkTd55K8CbD+/En5BWm /B0Q== X-Gm-Message-State: APt69E21seRw3/GF8uP7Y+cEds7sNqmm2+falabu+XB1nn0v7qE0ObT6 3V6pdJ6hFds7piyKx1AZ5l/PQA== X-Google-Smtp-Source: ADUXVKJB0YxbgYEo0+uPhdiOAAwbyBC1xfMNZV1VyMH0oKJCFCNnPsU+jtXoJCathOdlTR3CxrgIpQ== X-Received: by 2002:adf:fe4c:: with SMTP id m12-v6mr19610937wrs.171.1529562724127; Wed, 20 Jun 2018 23:32:04 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id q17-v6sm5060664wrs.5.2018.06.20.23.31.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Jun 2018 23:32:02 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 159633E154A; Thu, 21 Jun 2018 07:26:10 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: peter.maydell@linaro.org Date: Thu, 21 Jun 2018 07:26:04 +0100 Message-Id: <20180621062605.941-57-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180621062605.941-1-alex.bennee@linaro.org> References: <20180621062605.941-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::242 Subject: [Qemu-devel] [PULL v2 56/57] tests/docker/Makefile.include: only force SID to NOCACHE if old X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: agraf@suse.de, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, richard.henderson@linaro.org, qemu-devel@nongnu.org, f4bug@amsat.org, cota@braap.org, famz@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
[PULL,v2,01/57] docker: docker.py wrap StringIO import for python3
|
expand
|
diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index c0f09505bb..91d9665517 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -75,8 +75,14 @@ docker-image-debian-win64-cross: docker-image-debian8-mxe # force a re-build of the base image if we ever need to build one of # its children. ifndef SKIP_DOCKER_BUILD +ifeq ($(HAVE_USER_DOCKER),y) +SID_AGE=$(shell $(DOCKER_SCRIPT) check --checktype=age --olderthan=180 --quiet qemu:debian-sid) +ifeq ($(SID_AGE),) +else docker-image-debian-sid: NOCACHE=1 endif +endif +endif docker-image-debian-alpha-cross: docker-image-debian-sid docker-image-debian-hppa-cross: docker-image-debian-sid
Now we can check the age of a docker image we can be a little more intelligent about re-building Sid images and only force NOCACHE if it is "old". Signed-off-by: Alex Bennée <alex.bennee@linaro.org>