[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v3 05/10] automation: Add Arm containers to containerize script


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Tue, 27 Sep 2022 11:47:22 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/BkCI5sMztbbLhSxOHrHUT2n0YV/0QwpHvM7jmt3qWU=; b=YuPYKli1mudy3rg9WBzoYOXoBfKh/QwYetV7G1swc2xO032VOhg5TaOMMA9cfMgit3V4dhu+c75SCL9cGneOjxH0iCjafbNas6Rk62wNRDytjbgVKOE79VNL+85ukB2Jwj45iMXaRPKPoJPNKdNPHCA9D2aC/Jfpb/0XJqcMVLBT0fPFugDmE7Tp9d2078WJStWrQScQO5OoA8tXB4g1GPZxYEQc9Pu5CZhnO/uv0TEuD1qcd8xG+EU7dHlVBcj5i/pm/VezKIk21FE325ql/tAw2Gw1NkwcNuQKSKzYj6IFcJstsLTJnR8ZJyeRcXDO7KVVk2XEY1VYm00h8r1Y/Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gMx5q/lqhdCAS8ZRijwOq0zCeodJTTq/v/jQ6Jd4pKhfWZrkGVHvOU4U2ODMPSx0ahyfp55z4Y8JRwRHqQJL4MByZV2DlVsjOD+GUNUwrVPQLvcmxTC4McAqxLfuFH3ox6TjXNllhQrUinlUamFvwUR61QKGUBJ8/mnpgq9M4/M4RQ4bYp6f5F8CrhU6oUQ0+4c9dOevWdpQJHeLg3SwQmyf78xxwUKix3GholrnBQnJtBOtNDiKYh0HWvXtgS/dEuluxqslC4IITJzLAX4NE7XvXfYkR8fzvh3EZEFUh7rfsVSNwFNVqAdIVwBbv6c+WylZLxb86mrXkCVoCSxR5A==
  • Cc: Michal Orzel <michal.orzel@xxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Tue, 27 Sep 2022 09:47:50 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Script automation/scripts/containerize makes it easy to build Xen within
predefined containers from gitlab container registry. This script is
currently missing the helpers to select Arm containers, so populate the
necessary entries.

Signed-off-by: Michal Orzel <michal.orzel@xxxxxxx>
Acked-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
---
Changes in v3:
- none
Changes in v2:
- modify commit msg to reflect that we are missing helpers but in reality
  it could be possible to use Arm containers by specifying the full path
  to gitlab container registry. However, such usage is annoying.
---
 automation/scripts/containerize | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/automation/scripts/containerize b/automation/scripts/containerize
index 9d4beca4fa4b..0f4645c4cccb 100755
--- a/automation/scripts/containerize
+++ b/automation/scripts/containerize
@@ -25,6 +25,7 @@ die() {
 BASE="registry.gitlab.com/xen-project/xen"
 case "_${CONTAINER}" in
     _alpine) CONTAINER="${BASE}/alpine:3.12" ;;
+    _alpine-arm64v8) CONTAINER="${BASE}/alpine:3.12-arm64v8" ;;
     _archlinux|_arch) CONTAINER="${BASE}/archlinux:current" ;;
     _riscv64) CONTAINER="${BASE}/archlinux:riscv64" ;;
     _centos7) CONTAINER="${BASE}/centos:7" ;;
@@ -35,6 +36,8 @@ case "_${CONTAINER}" in
     _stretch|_) CONTAINER="${BASE}/debian:stretch" ;;
     _buster-gcc-ibt) CONTAINER="${BASE}/debian:buster-gcc-ibt" ;;
     _unstable|_) CONTAINER="${BASE}/debian:unstable" ;;
+    _unstable-arm32-gcc) CONTAINER="${BASE}/debian:unstable-arm32-gcc" ;;
+    _unstable-arm64v8) CONTAINER="${BASE}/debian:unstable-arm64v8" ;;
     _trusty) CONTAINER="${BASE}/ubuntu:trusty" ;;
     _xenial) CONTAINER="${BASE}/ubuntu:xenial" ;;
     _opensuse-leap|_leap) CONTAINER="${BASE}/suse:opensuse-leap" ;;
-- 
2.25.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.