qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, "Alex Bennée" <alex.bennee@linaro.org>,
	"Fabiano Rosas" <farosas@suse.de>,
	"Richard Henderson" <richard.henderson@linaro.org>,
	"Thomas Huth" <thuth@redhat.com>,
	"Philippe Mathieu-Daudé" <philmd@linaro.org>,
	"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
	"Beraldo Leal" <bleal@redhat.com>
Subject: [PULL 02/31] tests/docker: all add DOCKER_BUILDKIT to RUNC environment
Date: Sat, 18 Mar 2023 11:46:15 +0000	[thread overview]
Message-ID: <20230318114644.1340899-3-alex.bennee@linaro.org> (raw)
In-Reply-To: <20230318114644.1340899-1-alex.bennee@linaro.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 <alex.bennee@linaro.org>
Suggested-by: Fabiano Rosas <farosas@suse.de>
Tested-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
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/$*)) \
-- 
2.39.2



  parent reply	other threads:[~2023-03-18 11:48 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-18 11:46 [PULL 00/31] various fixes (testing, plugins, gitdm) Alex Bennée
2023-03-18 11:46 ` [PULL 01/31] tests/avocado: update AArch64 tests to Alpine 3.17.2 Alex Bennée
2023-03-18 11:46 ` Alex Bennée [this message]
2023-03-18 11:46 ` [PULL 03/31] scripts/ci: add libslirp-devel to build-environment Alex Bennée
2023-03-18 11:46 ` [PULL 04/31] scripts/ci: update gitlab-runner playbook to handle CentOS Alex Bennée
2023-03-18 11:46 ` [PULL 05/31] gitlab: update centos-8-stream job Alex Bennée
2023-03-20 14:44   ` Philippe Mathieu-Daudé
2023-03-20 17:11     ` Alex Bennée
2023-03-18 11:46 ` [PULL 06/31] include/qemu: add documentation for memory callbacks Alex Bennée
2023-03-18 11:46 ` [PULL 07/31] tests/tcg: add some help output for running individual tests Alex Bennée
2023-03-18 11:46 ` [PULL 08/31] tests/avocado: don't use tags to define drive Alex Bennée
2023-03-18 11:46 ` [PULL 09/31] tcg: Clear plugin_mem_cbs on TB exit Alex Bennée
2023-03-18 11:46 ` [PULL 10/31] tcg: Drop plugin_gen_disable_mem_helpers from tcg_gen_exit_tb Alex Bennée
2023-03-18 11:46 ` [PULL 11/31] include/qemu/plugin: Remove QEMU_PLUGIN_ASSERT Alex Bennée
2023-03-20 13:42 ` [PULL 00/31] various fixes (testing, plugins, gitdm) Peter Maydell
2023-03-20 14:15   ` Daniel P. Berrangé
2023-03-20 14:43     ` Philippe Mathieu-Daudé
2023-03-20 14:56       ` Daniel P. Berrangé
2023-03-20 15:00         ` Philippe Mathieu-Daudé
2023-03-22 12:47     ` Daniel P. Berrangé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230318114644.1340899-3-alex.bennee@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=bleal@redhat.com \
    --cc=farosas@suse.de \
    --cc=peter.maydell@linaro.org \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=thuth@redhat.com \
    --cc=wainersm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).