From patchwork Tue Jul 6 14:57:49 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: 470463 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp5091774jao; Tue, 6 Jul 2021 08:10:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQigdULNTUl2AkpIEJcqwE6jZTrzXQjJQt1koniGgKuFHcM9M/T5qK90ppoYkbNOBVb4PM X-Received: by 2002:a05:6402:278a:: with SMTP id b10mr24420565ede.54.1625584251164; Tue, 06 Jul 2021 08:10:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625584251; cv=none; d=google.com; s=arc-20160816; b=EvNHhbiDG68ic0Jz5W/CdGfBe+NDqb/YvlNajZkZle0QzJE7IxfOFHVjxcRGkItOKj sgDhvyWfYbe8Zd3Vbz3qJ7/yqsGaMnsHXjGWKHOE4rrnWzPSlGl56rIU+pNv9cqng1M6 cLm6AnCNn/bmITyxHF5fduJjQnly1OgpyO3lP1bsYziDmMjG3iUHUiFml11WoNFwgoAP Tu1bJxxjPTad13wrBtSKs72SiZdmHkH7EjYXNnw3oL9nR6RZOoyHuDSwG3B9Gy+pOZ/k rGZ53BF0UkbgRWJWRrfUcBl+bIwbrj3P32d/v8zWC759Y9o0yPPCoCM0r9HRDlQb+U78 N2rw== 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=zj2em8SYvb4pOTZr2587EJu0UWYCfHybq9t3jcT80AsS9n4l612rgeNrgXyi+uyC6E T4jfJcwqm7+XTP7EGdjUV+fbNO2miMpT5s7etXHubKHi0fWKh7US4X+lLGv3pSdbBHzz Y1VqF0UJpeRGCjBkEj4l7KkVarTzOXFa/zGqfIvkxQL3X2zBaUEehpWXUVcx6ZrRjKbc XuTa29kl/lwfha0pX1102h/7UeAwpJFn6++timmz1xri7dwqn4atB4cZxRKBkLQ6Xd4k 43HMT/HjeRkteGSCvjxWP4EJeG6UVqAgrn3tgWAp15Gnzkrg72cxDFkbmLPfSzu3WHbu hSuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=KqI9jAVl; 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 s3si15138859ejs.220.2021.07.06.08.10.50 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Jul 2021 08:10:51 -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=KqI9jAVl; 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]:55424 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0min-0003CA-Nu for patch@linaro.org; Tue, 06 Jul 2021 11:10:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33328) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0mXA-0004vq-Qz for qemu-devel@nongnu.org; Tue, 06 Jul 2021 10:58:48 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:37628) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0mWv-00024V-Pg for qemu-devel@nongnu.org; Tue, 06 Jul 2021 10:58:48 -0400 Received: by mail-wr1-x430.google.com with SMTP id i94so26452895wri.4 for ; Tue, 06 Jul 2021 07:58:32 -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=KqI9jAVlm6IxDc0+v4NdLJCDL2SWt4Y34TjwQApiiNvWwwH4rvHLtGnD5Sx1i8ywiu MS81BMddekGr/P/vpIaW1OIqCtbieGNmvIISjm7XIPpaXHHnO/qMqXSGfCietHxWoRMx DSnZI81CThd08nOD50A9RTVBULqlV0SMb+3++gF8jQZog6356VHOp6EQT27Wjssy3cbt iflvrf1YSFAjBceS1THIr4FL0SHSBz6UGQTASuUUNzkK7dWlJdTMjaZ5P3fbz6PcXEmT pKgBO71KNYkqHgch7AxaWp453fq+KbMhWRrVEnJW1rGcZX1S0z3PB/5SbcXyNY3Eiak3 a2oA== 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=fDphdkOWskBa5MZ6LxNy8MmV1st8DMLJR1J9IvFgMfzfCVjNaZk/A9aL2dMAAKPlKv CGrERE+tib1a7nHjpQ++ezkA2mDaQLGEVFIldx87lvIdnqRHVMsz4Tz6ugyuxQIFT82K I7wK9UWzwxLEdrDk9xmdhJGPFzHLY6Gmc1k28GwzCvh4l3G/LVgolnKLGk8xgXd1BeqE H20HH/uMbbvJNvhm3TXNuQpvmVYFoTsqtjKnHjYRjDso5+iw3sw8Nszqju7sovWEUOpV XpXfeVs6pUHTPHX48VBqkfXMDgD3So4gFv6s0GOJHtPO8AizVomTJztrOGlqJ+mJDTMI d9MA== X-Gm-Message-State: AOAM531liohkbfqKiXAeOfZYtdwbt6sbuzr6Ie8cjG2tc0snjHiPZCVe 1TqHwVI9B3pS7InpAW2M5+4iww== X-Received: by 2002:a05:6000:12d1:: with SMTP id l17mr22256519wrx.225.1625583511829; Tue, 06 Jul 2021 07:58:31 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id h8sm17027619wrt.85.2021.07.06.07.58.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jul 2021 07:58:29 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 0B91E1FF9A; Tue, 6 Jul 2021 15:58:19 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 11/39] tests/docker: use project specific container registries Date: Tue, 6 Jul 2021 15:57:49 +0100 Message-Id: <20210706145817.24109-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210706145817.24109-1-alex.bennee@linaro.org> References: <20210706145817.24109-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x430.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 , berrange@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , f4bug@amsat.org, Wainer dos Santos Moschetta , Willian Rampazzo , stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?utf-8?q?Philippe_Mathieu-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 \