From patchwork Thu Jul 8 19:09:13 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: 471301 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp577711jao; Thu, 8 Jul 2021 12:18:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyN4o4YxRqDh0VVadiF9r6CyCz8NG5Ckq+bbfrcTdgioGATdBi6u5MmMk0eimqOh2m95fzS X-Received: by 2002:aa7:de90:: with SMTP id j16mr41004376edv.385.1625771922975; Thu, 08 Jul 2021 12:18:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625771922; cv=none; d=google.com; s=arc-20160816; b=V7/HhO/0D23+32X77QP1zteP4FBx7/aQyL/XaytnF3KtsFczz2RhPLIPN58GHOGrr9 D2NhLnHZ7sGpzcuJ7SmRYobgYnmW/Xiv8flmjv0q6Aue8wruRoEUTELfNdhj1x7EL8j6 Fz0A7I1VSAQ7PXuNmwVoIf50w2aWoVngTVh6BOTr0opBKpNPQNZrx2P/ksx3Uc25hJhe njza6n2Vd9OmgcgjH/kMvwFyxqUCZ+uMaLSA+sYJqfUMMU4qKSaTRAn8SsN3T92PsofA NcC0F0F7+zeuoL2//OB3x9up9c0vaWluoj+c2yrVkYNqzHXg60CcRAO4gQte1DhiIQkG vYwA== 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=E7/mVr7Wht5ohFpSzGRlkrOJNv9dh0GtVvv3G35jqG0=; b=Scgljcqy1TmMkaZ+OCb8gA19CYidiMTVoHLWCU6FxfWCotFd4QSn7he47wyueEqUkj e/L8MZEnzMUIwBkQoARpiEapQCAJloB4yW4ebaUusluIk7LKYS+kvUonx3FPv2BOQmHO PkseMbaEfskxc016tFL8HxtkSV/PInTdoNt9jFUMp50/DC10me7KDqENdoP5+xFDz5ee tDu2KCW+/G7I7/vd3xjkAW8jrKNyoTcdN7Sc4lqIYd8kZyDuDBQKEeszN6cU0+Tx0h74 LPQKMgMkVQbhhiyr8iH6xGun5sLuxclDvtw251kTuUE/jw4Pvv9Y+nzwTEuxpwZkZzKJ 1A5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=JiClnD0I; 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 d26si3922497ejc.620.2021.07.08.12.18.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Jul 2021 12:18:42 -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=JiClnD0I; 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]:49612 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1ZXl-0004As-P2 for patch@linaro.org; Thu, 08 Jul 2021 15:18:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50098) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1ZPP-0003Zo-VD for qemu-devel@nongnu.org; Thu, 08 Jul 2021 15:10:03 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:40453) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1ZPO-0004qF-0L for qemu-devel@nongnu.org; Thu, 08 Jul 2021 15:10:03 -0400 Received: by mail-wm1-x32b.google.com with SMTP id h18-20020a05600c3512b029020e4ceb9588so7522206wmq.5 for ; Thu, 08 Jul 2021 12:10:01 -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=E7/mVr7Wht5ohFpSzGRlkrOJNv9dh0GtVvv3G35jqG0=; b=JiClnD0IQTNSwArgnjFE0oF1mE7LutYzFltZvbciCnt5nEPtOAtN+XYRd0bXqfYrNE T6AbCkz7hm5zJjZcMUVo1AsqdR0CoBNdKsDLYldBDsYEhuLA6jBZUiqPf0JqbpjQeTKE pyNaiGFhI2/9/02DyLu9yMpZ4BOo2RlOraTAl8/y0pXOYsTKRggABGoElTnRaTshaQ4e +v61eeU8hv9wWBnSNV7oRsD6qwMGOmSa2mTsOBRlo6BBTcF3YXOKiJHVnmHGSC7bDks9 Q4rsDYSmPAlKUwDBTRsv1zpFjDP+a3hBr9H4pZgPeFfpjJVSXnxc6Xeh77MqCOwNH9gD t65A== 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=E7/mVr7Wht5ohFpSzGRlkrOJNv9dh0GtVvv3G35jqG0=; b=tg3wI0jJxIlUhsXXr2V+gzMN9oPLrTn+1FTNCnYh6HcUcHQivSptBEgzjR/auTQvEW WIriLoZn+518rhLFKuPQ3oy61Xj2ewzYpGNm1kWVwP44VulVPDMM9D+rnG2yZUSWIQdK qkx0qw6DIlfyi3UILDC++JAPFGP1yZz5w5qgPQfr7m6+c64hXAd2ru6Lcp1V3rswQOJM gaFgBB1m3Upd+rZNGL+8WvC3a27hDKyqptcHiryDh6MMIUvkrjRloZtf8ax3iNxwbCDR v0udJQrtadXObVODd13whaMozKWofXw1pNvEdSCgqnGvWO/DzsrFsTVmYkiXET4GSf5k 6vGw== X-Gm-Message-State: AOAM533DqKse0U2Z0Gk6LzLvYBn1XB+nCOGPbU8sh1UUUUba8ZXmR9AF q2n+MZRKLLNCxHGH9Vbrx7tb6Q== X-Received: by 2002:a1c:2cc6:: with SMTP id s189mr35431570wms.64.1625771400666; Thu, 08 Jul 2021 12:10:00 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id k20sm1374842wrd.70.2021.07.08.12.09.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jul 2021 12:09:53 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 314491FF9A; Thu, 8 Jul 2021 20:09:43 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v2 11/39] tests/docker: use project specific container registries Date: Thu, 8 Jul 2021 20:09:13 +0100 Message-Id: <20210708190941.16980-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210708190941.16980-1-alex.bennee@linaro.org> References: <20210708190941.16980-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32b.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: fam@euphon.net, Thomas Huth , minyihh@uci.edu, berrange@redhat.com, kuhn.chenqun@huawei.com, =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= , f4bug@amsat.org, robhenry@microsoft.com, Willian Rampazzo , mahmoudabdalghany@outlook.com, aaron@os.amperecomputing.com, cota@braap.org, Wainer dos Santos Moschetta , stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, ma.mandourr@gmail.com, =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Daniel P. Berrangé Since Docker Hub has started to enforce pull rate limits on clients, it is preferrable to use project specific container registries where they are available. Fedora and OpenSUSE projects provide registries. The images in these registries are also refreshed on a more regular basis than the ones in docker hub, so the package update should generally be faster. While CentOS also has a registry it is considerably outdated compared to docker.io, and also only provides x86 images, while docker.io images are multi-arch. Signed-off-by: Daniel P. Berrangé Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Wainer dos Santos Moschetta Reviewed-by: Willian Rampazzo Reviewed-by: Alex Bennée Message-Id: <20210623142245.307776-4-berrange@redhat.com> Signed-off-by: Alex Bennée --- tests/docker/dockerfiles/fedora-cris-cross.docker | 2 +- tests/docker/dockerfiles/fedora-i386-cross.docker | 2 +- tests/docker/dockerfiles/fedora-win32-cross.docker | 2 +- tests/docker/dockerfiles/fedora-win64-cross.docker | 2 +- tests/docker/dockerfiles/fedora.docker | 2 +- tests/docker/dockerfiles/opensuse-leap.docker | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) -- 2.20.1 diff --git a/tests/docker/dockerfiles/fedora-cris-cross.docker b/tests/docker/dockerfiles/fedora-cris-cross.docker index 1dfff6e0b9..91c373fdd3 100644 --- a/tests/docker/dockerfiles/fedora-cris-cross.docker +++ b/tests/docker/dockerfiles/fedora-cris-cross.docker @@ -2,7 +2,7 @@ # Cross compiler for cris system tests # -FROM fedora:33 +FROM registry.fedoraproject.org/fedora:33 ENV PACKAGES gcc-cris-linux-gnu RUN dnf install -y $PACKAGES RUN rpm -q $PACKAGES | sort > /packages.txt diff --git a/tests/docker/dockerfiles/fedora-i386-cross.docker b/tests/docker/dockerfiles/fedora-i386-cross.docker index 8004fd8ee5..dbb8195eb1 100644 --- a/tests/docker/dockerfiles/fedora-i386-cross.docker +++ b/tests/docker/dockerfiles/fedora-i386-cross.docker @@ -1,4 +1,4 @@ -FROM fedora:33 +FROM registry.fedoraproject.org/fedora:33 ENV PACKAGES \ bzip2 \ ccache \ diff --git a/tests/docker/dockerfiles/fedora-win32-cross.docker b/tests/docker/dockerfiles/fedora-win32-cross.docker index a638afb525..9fed35f4e1 100644 --- a/tests/docker/dockerfiles/fedora-win32-cross.docker +++ b/tests/docker/dockerfiles/fedora-win32-cross.docker @@ -1,4 +1,4 @@ -FROM fedora:33 +FROM registry.fedoraproject.org/fedora:33 # Please keep this list sorted alphabetically ENV PACKAGES \ diff --git a/tests/docker/dockerfiles/fedora-win64-cross.docker b/tests/docker/dockerfiles/fedora-win64-cross.docker index f53007ac86..fb641f6104 100644 --- a/tests/docker/dockerfiles/fedora-win64-cross.docker +++ b/tests/docker/dockerfiles/fedora-win64-cross.docker @@ -1,4 +1,4 @@ -FROM fedora:33 +FROM registry.fedoraproject.org/fedora:33 # Please keep this list sorted alphabetically ENV PACKAGES \ diff --git a/tests/docker/dockerfiles/fedora.docker b/tests/docker/dockerfiles/fedora.docker index 9dde3f6a78..a506e68d33 100644 --- a/tests/docker/dockerfiles/fedora.docker +++ b/tests/docker/dockerfiles/fedora.docker @@ -1,4 +1,4 @@ -FROM fedora:33 +FROM registry.fedoraproject.org/fedora:33 # Please keep this list sorted alphabetically ENV PACKAGES \ diff --git a/tests/docker/dockerfiles/opensuse-leap.docker b/tests/docker/dockerfiles/opensuse-leap.docker index f7e1cbfbe6..7ebff1b3a8 100644 --- a/tests/docker/dockerfiles/opensuse-leap.docker +++ b/tests/docker/dockerfiles/opensuse-leap.docker @@ -1,4 +1,4 @@ -FROM opensuse/leap:15.2 +FROM registry.opensuse.org/opensuse/leap:15.2 # Please keep this list sorted alphabetically ENV PACKAGES \