From patchwork Mon Mar 29 11:02:59 2021 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: 410826 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp3520719jai; Mon, 29 Mar 2021 04:03:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJCuUxcGbbtM29nTgS1RBEzSd7xXpGy+F+k+IDpUT2bXxTl5qB6k7TsQ6BWMO+et2eMzQB X-Received: by 2002:a05:6402:3049:: with SMTP id bu9mr28486066edb.104.1617015820323; Mon, 29 Mar 2021 04:03:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617015820; cv=none; d=google.com; s=arc-20160816; b=ZspHwa0kc9AkBwfMdP6MSvpldHulvR7ykBZ3V/tEQSSR49mz9MehLIp2EjX0eBd24c GhJKAdPVY7KGU3uX9F49UL6w/TF2jbBuhF5oRI0ANJxcyGY6rMyUq3DgECyMH4AdFGE7 S/cjtCjEe0W92dULgqC/gY8Xlfrwj5N5Y9HTzHtWzmE6IECnKWNYFZRNtaQd6Yz10r8+ dYnswi16q/79XL332znNBC6uZAU5DaaPWcJgubwZiDM12pEix5TGuE3llT62b2lGB3h+ oxIZh8tOlNqwYC16lB8c5tYWlbmi/TpmLJUrClm+OT9ZBmEnvyyIERUwGOH5e0nPzhlZ b37w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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:to:from :dkim-signature; bh=akBhyYj0JdKi/XVZUZPWSNnrTT/4CNaLSZQB5KZh/yg=; b=xKayf9ruG7g7ff1jIImoI0dCK8jakX2HcjthHLjdHZlJd7jzBMPUXi+DZXKtpWLZtf uCTn0PPDRM0Zo8uOqHl5xOCWZxTEWgf5hmo08G7yAHHgrSrey3b1L6Vu6T0JXgQcSmox ncBcME5Oc3vLOTQbSYsrx2GdYCG3v3WxUEeGGC14idhEjLJn0xh7Sqfc5EWjozBRvAKM pCwEry20a1NDqiQceTJTIyHWJkFWANCp2A6xg+4JDwAJh9AoSCW5C5jQ0ex5X1CkMH+A mav6veR0vDSRleSC1B6GN+HOheSfzBJE9fMvHT0hbleo+j2C4EPj66NyvfkmrFLY6yKd OZbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=job2IUGM; 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=fail (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 r12si13118801ejz.5.2021.03.29.04.03.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Mar 2021 04:03:40 -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=fail header.i=@linaro.org header.s=google header.b=job2IUGM; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:50118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQpgJ-0000BL-AV for patch@linaro.org; Mon, 29 Mar 2021 07:03:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45254) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQpfr-00007K-8p for qemu-devel@nongnu.org; Mon, 29 Mar 2021 07:03:11 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:41730) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQpfp-0004gT-Kt for qemu-devel@nongnu.org; Mon, 29 Mar 2021 07:03:10 -0400 Received: by mail-wm1-x329.google.com with SMTP id t5-20020a1c77050000b029010e62cea9deso6462018wmi.0 for ; Mon, 29 Mar 2021 04:03:09 -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=akBhyYj0JdKi/XVZUZPWSNnrTT/4CNaLSZQB5KZh/yg=; b=job2IUGM6CkpG4S/GDtE0PpZ/ka/EG+VN6llVK+YgJnw6KX3lfDPGzGLmSKwDGK6xd zbqoZcV4x8D4v177bn4u1DlbajuGFgcynDJhdkWLQY0B8zEY8SzzFI4kG+E3EMn9n4b7 rgntKiJ66oJB5Evg/pZZeHRzC4fT0j6AuRIlZ6t8dP1dKXwQns9SMiebp6cToH0SrLto RTA7ver5+ILkqIdo/rMepUgFWAzvCmz4Hu+RV0GTfUNuruQkMIndLkjUh5y+WxhEWRDn buve31D9zCmytTjmQ76wVAIG5vh1pXlvKvC71YmCWsu9oWQ2j3X6F7cGSzLGuBkHZUPL GHGg== 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=akBhyYj0JdKi/XVZUZPWSNnrTT/4CNaLSZQB5KZh/yg=; b=Ss9tW2JClbS8b/1Z650Qnm/VgcFbwnrfL3KQCcPqnE5uriK3J/PTtCIpMrwXU182ou aEch5elEfcghC3IPaJib3/ClkoPLcLGM7q+xjeq1kjRQBXaZQG2fVQhJxQ0ROjaj0FPv xnlPIEMl0aMBnKMLtzieEQOvCOgEcRLon6NqJ2NYEMwjAuQL80BY3lAbor1/52kqxd8n gEOcYL+qqmrqPSRTGjNLJOGC3fLuOKURKdZq0EdQos+aAgQHCWCChtF/H7WjE6BvfQ5D bqQM3C2X/mMEKGODNPDY0DJuv4aT87DcZ6iifLvBVJuzfuASFAgHrIpVob9zPyAWCHGT TAHw== X-Gm-Message-State: AOAM531+uF5mWY6D6ru0kRJARGv1N3zN/j7sNrWRmTTTm2V2fqMeQhVX 7arywnc9bkFd6wlU5ocLDUdSEQ== X-Received: by 2002:a05:600c:2254:: with SMTP id a20mr25291003wmm.115.1617015788247; Mon, 29 Mar 2021 04:03:08 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id u4sm30661762wrm.24.2021.03.29.04.03.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Mar 2021 04:03:04 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 9C9FB1FF8C; Mon, 29 Mar 2021 12:03:03 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 2/6] tests/docker: don't set DOCKER_REGISTRY on non-x86_64 Date: Mon, 29 Mar 2021 12:02:59 +0100 Message-Id: <20210329110303.15235-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210329110303.15235-1-alex.bennee@linaro.org> References: <20210329110303.15235-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x329.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Willian Rampazzo , Thomas Huth , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Currently our gitlab registry is x86_64 only so attempting to pull an image from it on something else will end in tears. Signed-off-by: Alex Bennée --- tests/docker/Makefile.include | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.20.1 Reviewed-by: Thomas Huth Reviewed-by: Willian Rampazzo Reviewed-by: Richard Henderson diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 7cab761bf5..9f464cb92c 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -16,7 +16,10 @@ DOCKER_IMAGES := $(sort $(notdir $(basename $(wildcard $(DOCKER_FILES_DIR)/*.doc DOCKER_TARGETS := $(patsubst %,docker-image-%,$(DOCKER_IMAGES)) # Use a global constant ccache directory to speed up repetitive builds DOCKER_CCACHE_DIR := $$HOME/.cache/qemu-docker-ccache -DOCKER_REGISTRY := $(if $(REGISTRY),$(REGISTRY),registry.gitlab.com/qemu-project/qemu) +ifeq ($(HOST_ARCH),x86_64) +DOCKER_DEFAULT_REGISTRY := registry.gitlab.com/qemu-project/qemu +endif +DOCKER_REGISTRY := $(if $(REGISTRY),$(REGISTRY),$(DOCKER_DEFAULT_REGISTRY)) DOCKER_TESTS := $(notdir $(shell \ find $(SRC_PATH)/tests/docker/ -name 'test-*' -type f))