From patchwork Fri Jul 12 10:49:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andrew Cooper X-Patchwork-Id: 13731605 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DC38EC2BD09 for ; Fri, 12 Jul 2024 10:49:20 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.757883.1167067 (Exim 4.92) (envelope-from ) id 1sSDpy-0007NQ-J3; Fri, 12 Jul 2024 10:49:14 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 757883.1167067; Fri, 12 Jul 2024 10:49:14 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sSDpy-0007NH-G7; Fri, 12 Jul 2024 10:49:14 +0000 Received: by outflank-mailman (input) for mailman id 757883; Fri, 12 Jul 2024 10:49:12 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sSDpw-0007Cp-Fc for xen-devel@lists.xenproject.org; Fri, 12 Jul 2024 10:49:12 +0000 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [2a00:1450:4864:20::534]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 5f6a0121-403c-11ef-bbfb-fd08da9f4363; Fri, 12 Jul 2024 12:49:11 +0200 (CEST) Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-5957040e32aso1175131a12.2 for ; Fri, 12 Jul 2024 03:49:11 -0700 (PDT) Received: from andrewcoop.eng.citrite.net ([185.25.67.249]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-594bc4e8255sm4410296a12.48.2024.07.12.03.49.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jul 2024 03:49:10 -0700 (PDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 5f6a0121-403c-11ef-bbfb-fd08da9f4363 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1720781351; x=1721386151; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RUJT2BIdasxYaH8JNljHtksephXciRwgCfX1hQqsIME=; b=DndSfh7EThB2TIJPRP1vJwjWbN47zsnhOGpF3OuMsrt5kMe57zyi6ASVo8PMX7IFH7 JDYS9YJqCQNwKE3cmKqpNejGE7AwfluLz/UFeeHmbOI/Lu3eAjbZyre/++fQXYuVQ8ve OW+AwRnsDp60MzGJp/NQclYRxlCjs4cXq8LCw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720781351; x=1721386151; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RUJT2BIdasxYaH8JNljHtksephXciRwgCfX1hQqsIME=; b=IWY2el9oqNTs3Ck3UEOvoWrXCjDXJYko1X/3ek0JH2V1nCoiZm3PgLZU0F7FrQ2kBF dpd1PJwZGDrtBC+cpT7VhYaGkxfQgHSNAo2HnorWPI9MuARTwu/HYQe0IvohThbUyBl2 Up/LGTU/J0eeJwnPHCri7W9D7M4buqbIcvY1vGAi+gUwzwwamCGCVg6wJORGHc0uZJfu PkIp23sjH1h0tFmrxIDy+LfyfCazzHhCOhOCXZuPd41LBTsN2vy+qiTDwPbDe4UkM9tf LERQPEnsW/o+OmGJXTgu8Ps8Rfu3yuquT8fsVT8XKMfSk/uS+a8dTAp6u2ZGrdmxDlum A+Wg== X-Gm-Message-State: AOJu0YyKscxuiEZsJUxAmwexlFPq/AAJtvKlWOZv21Tbn9+YPcH7/Q+Q Ls7hlNAxnI/V12Y7bF7twM5fHVJWi03OYzVNq95W7uBXVoGcOuQFeQmdxPXnKnDe4JFbMIvE2RQ p X-Google-Smtp-Source: AGHT+IH0NzEy0QCq3yDjqDKTMnR6Dpc6m6QnBWJwcFrqDQtiImhLCTRfhnkGKZihr5Uw3FeOhB29CA== X-Received: by 2002:aa7:ce1a:0:b0:57c:5f77:1136 with SMTP id 4fb4d7f45d1cf-594bb7745f7mr8979626a12.24.1720781350720; Fri, 12 Jul 2024 03:49:10 -0700 (PDT) From: Andrew Cooper To: Xen-devel Cc: Andrew Cooper , Anthony PERARD , Juergen Gross , =?utf-8?q?Roger_Pau_Monn=C3=A9?= , Jan Beulich , Stefano Stabellini , Julien Grall , Oleksii Kurochko , Shawn Anastasio Subject: [PATCH 18/12] CI: Add Ubuntu 22.04 (Jammy) and 24.04 (Noble) testing Date: Fri, 12 Jul 2024 11:49:07 +0100 Message-Id: <20240712104907.3238026-1-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240711111517.3064810-1-andrew.cooper3@citrix.com> References: <20240711111517.3064810-1-andrew.cooper3@citrix.com> MIME-Version: 1.0 The containers are exactly as per 20.04 (Focal). However, this now brings us to 5 releases * 4 build jobs worth of Ubuntu testing, which is overkill. The oldest and newest toolchains are the most likely to find problems with new code, so reduce the middle 3 releases (18/20/22) to just a single smoke test each. Signed-off-by: Andrew Cooper Reviewed-by: Anthony PERARD --- CC: Anthony PERARD CC: Juergen Gross CC: Roger Pau Monné CC: Jan Beulich CC: Stefano Stabellini CC: Julien Grall CC: Oleksii Kurochko CC: Shawn Anastasio Pipeline run showing all Ubuntu testing on staging: https://gitlab.com/xen-project/people/andyhhp/xen/-/pipelines/1371106799 There are 11 jobs in total. --- .../build/ubuntu/22.04-x86_64.dockerfile | 72 +++++++++++++++++++ .../build/ubuntu/24.04-x86_64.dockerfile | 72 +++++++++++++++++++ automation/gitlab-ci/build.yaml | 39 +++++----- automation/scripts/containerize | 2 + 4 files changed, 163 insertions(+), 22 deletions(-) create mode 100644 automation/build/ubuntu/22.04-x86_64.dockerfile create mode 100644 automation/build/ubuntu/24.04-x86_64.dockerfile base-commit: d46e4264c3fa68974fbb9b1bce514ea44af6d945 prerequisite-patch-id: b6875ad0bbd279067fdef31b9adf67e2a5abdf8a prerequisite-patch-id: 5d4a01a02e7694939cdbf620a2e7509fee49dd92 prerequisite-patch-id: 65ecea93b1a320219deb8670264c3d464e00384e prerequisite-patch-id: eb7042acce82d2bc324f8560fed3ffd57025d248 prerequisite-patch-id: 91c6663df2cfa139497e2d8b4dc17f1697f0c9f6 prerequisite-patch-id: 84c3345d580461986a3a9560735279baff21234f prerequisite-patch-id: 5d732fc5f039fb25f7177279f63019f59acae4b1 prerequisite-patch-id: dd5006da276abc0e4da1ecb2c84d699c5bd98124 prerequisite-patch-id: 7e816655cd1066b42be5fa57a832c777c9867fc9 prerequisite-patch-id: fc25cefbee4cb69703df5c1f5b3eb317f03952af prerequisite-patch-id: 531b3db898f54c05bff5fbcb69e0f7f62811c744 prerequisite-patch-id: ddb51b78aeaa2a6efe8035c39a128810c01aa822 prerequisite-patch-id: b4894b8120682429e1a74369c6b36bbbdc09d749 prerequisite-patch-id: c002530cb86a08b38980779a3d06cf491fdb9fae diff --git a/automation/build/ubuntu/22.04-x86_64.dockerfile b/automation/build/ubuntu/22.04-x86_64.dockerfile new file mode 100644 index 000000000000..230903f624d9 --- /dev/null +++ b/automation/build/ubuntu/22.04-x86_64.dockerfile @@ -0,0 +1,72 @@ +# syntax=docker/dockerfile:1 +FROM --platform=linux/amd64 ubuntu:22.04 +LABEL maintainer.name="The Xen Project" +LABEL maintainer.email="xen-devel@lists.xenproject.org" + +ENV DEBIAN_FRONTEND=noninteractive + +RUN <