From patchwork Sat Mar 18 11:46:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 664737 Delivered-To: patch@linaro.org Received: by 2002:a5d:5602:0:0:0:0:0 with SMTP id l2csp245694wrv; Sat, 18 Mar 2023 04:48:22 -0700 (PDT) X-Google-Smtp-Source: AK7set+xU1iSlMP8706sjy84naW1Z2bxfvt9Jcj/XHi93oN33dzfvaethUvFJ6CCqbRlbBJwB7Jt X-Received: by 2002:a05:6214:c88:b0:5a9:c758:ba0e with SMTP id r8-20020a0562140c8800b005a9c758ba0emr35397794qvr.16.1679140102374; Sat, 18 Mar 2023 04:48:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679140102; cv=none; d=google.com; s=arc-20160816; b=vCz5R9o80MCKI5Ry2uS6vexenQ7Q3XUj6cpxDBp9/WqXctnu8F8iN+C/ZFKQa2M9x2 TPNIUoWWU//BcI2eDBTK4q8E0b9eaNtVSBinOYBo7VJjGECZ/oQ+ssw+BhmZ0jHBvijS 900lhqzfR8Jr2TB+/KU48BygjqnhznCSdLJcMsQyFfTKu3EiBWHWYs4wOWMxUzCk7/mR vtmGWUmqR/lbEI2FyZw1ZnKlG53VqdlEipndcPKCpc/aa4ig9BHTrlRHDogKR7faWk4S BmXNjQFCX88sk72ZIp4+TVHFJSJvmyyTZHbPD6nmJPkwZ9WLa5t3gE8wQiQr01SfnJni PhnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=B6zGJoVeKFYAhyoV9aUUZF5EezFXIRrgXHiT39hie2Y=; b=wFfIROg1rxi2gEdh1VSs0QC04B+QREyuIsFxt3d/wwdXPBaA3sIg4e5D8g5a/SImfY TGVDU2ozHtUli4s5x/xY5e7TaTMJkA4RalqUtT9lOuhtsGCq2Yqw7r2DHyCtgalNlF0F dI6eUzdMnCy4TaUmjvRsQbPdx9d11HUaZY7mAoFVFC2EfNfmfbCgxIaZ3QraCyEfoCU4 6ZjbuBuWzaqBt00R5J+Q4VUny/EZyzjQFVfE8hYiQviqs6IVjA8wwq3lysD7IQzwpzw/ XxtCsi8a0loEiH0Az4/YRx0mykCGXZHv8YM1myc1xZ88Gyj/ByRM4d/2bgo+UuEOM0RD AcZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SD3G5J4K; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id dj3-20020a056214090300b005743e1c4376si2865731qvb.577.2023.03.18.04.48.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 18 Mar 2023 04:48:22 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SD3G5J4K; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pdV1S-0004nR-30; Sat, 18 Mar 2023 07:46:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdV1O-0004lP-Bh for qemu-devel@nongnu.org; Sat, 18 Mar 2023 07:46:50 -0400 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pdV1M-0007Cb-0I for qemu-devel@nongnu.org; Sat, 18 Mar 2023 07:46:50 -0400 Received: by mail-wr1-x432.google.com with SMTP id p4so6495849wre.11 for ; Sat, 18 Mar 2023 04:46:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679140006; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=B6zGJoVeKFYAhyoV9aUUZF5EezFXIRrgXHiT39hie2Y=; b=SD3G5J4KMId/+7/remHEa3logAcpEOBvJSZ63hJZqHzHIXaf/o69pwDR931YxTm+3Q asxYkdoTZK/el/Ga8+wr8EHayG19iZu9nToSTyeGAYGtKdlv8k1ivf9lPT2JXUj48SKD lZfaPsLGj/udRGbwG54OxJvCGPvxwK7F9RKVf90ptrwcmuduOYRrUc/aPjMW5NQJ6Azm kyhXNj+uUozRHFF4SX1j9LEwqiaLXtHknJAJiRaX3Mw+HQaOvshMQG58+CY64Fsdhz7k O0h2+r8Oo8ToINYYJRMsVyIe/PdbegHSeG2Z8Apip3bfi8p+FAYOsb3EHM9XXpxdW467 aUtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679140006; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=B6zGJoVeKFYAhyoV9aUUZF5EezFXIRrgXHiT39hie2Y=; b=TA771q5KxI7ThNxp77pQL0dOK4/qpxnt99jaJbYkfULdneL2jJYsXuKFtina7F2Mnf Y4RCd6zAXpWdcid0P8FqxjB/fAjLitjxgBZJl2bGFsQIOwZKf7xNdbh0QrxWlZllwFmD zCupbx90D8D3nFSCf8+BEimIOqKYygciUXCKImfBtgszBeyg/28DxQ/ODDy0JHQtIYPq +pVmMqU+Q8kXdKXFQbMUFSkY4SAkR04lTuDVLB7yfEFOsAe8ir5DpfFPv+BzvHS/HQCN grMMeEwkVXo1MLCnrLbsb8gF/hPUuvi0A7aeq6J6h5rLBkJlKlNqOHi2UAfrUv6j/+AB C9Qg== X-Gm-Message-State: AO0yUKX5pbNjnI+BqRnTLVx6NKdcqBGH3PajEB8Ceyifo0kQW3iSa8xy J48nd+as1Eixb/ILx3tCqD1TcQ== X-Received: by 2002:a5d:5090:0:b0:2ce:a8d6:5427 with SMTP id a16-20020a5d5090000000b002cea8d65427mr8993963wrt.15.1679140006629; Sat, 18 Mar 2023 04:46:46 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id u8-20020adfdb88000000b002cff06039d7sm4162112wri.39.2023.03.18.04.46.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Mar 2023 04:46:45 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id C2E951FFBA; Sat, 18 Mar 2023 11:46:44 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, =?utf-8?q?Alex_Benn=C3=A9e?= , Fabiano Rosas , Richard Henderson , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PULL 02/31] tests/docker: all add DOCKER_BUILDKIT to RUNC environment Date: Sat, 18 Mar 2023 11:46:15 +0000 Message-Id: <20230318114644.1340899-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230318114644.1340899-1-alex.bennee@linaro.org> References: <20230318114644.1340899-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x432.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org It seems we also need to pass DOCKER_BUILDKIT as an argument to docker itself to get the full benefit of caching. Signed-off-by: Alex Bennée Suggested-by: Fabiano Rosas Tested-by: Richard Henderson Reviewed-by: Thomas Huth Message-Id: <20230315174331.2959-3-alex.bennee@linaro.org> diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 54ed77f671..9401525325 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -39,7 +39,7 @@ docker-qemu-src: $(DOCKER_SRC_COPY) # General rule for building docker images. docker-image-%: $(DOCKER_FILES_DIR)/%.docker $(call quiet-command, \ - $(RUNC) build \ + DOCKER_BUILDKIT=1 $(RUNC) build \ $(if $V,,--quiet) \ $(if $(NOCACHE),--no-cache, \ $(if $(DOCKER_REGISTRY),--cache-from $(DOCKER_REGISTRY)/qemu/$*)) \