From nobody Mon Feb 9 16:35:10 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+98586+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98586+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1673890896; cv=none; d=zohomail.com; s=zohoarc; b=YhnQdEADYRFDguOwhRNdUsnMhzONC2Tnep0Gq1je7UR2ki8gCbpcA5EPGENOAJTYCYcDAwULB1rM7Z1ve8JptMh+3dFQKaUO3LOungTFHOn22We2yhH7XdSsT1M5XgfxB+FEQMhDip6GhcJe6pvq3hsCj0tx/SUqOJ90pcl8mG0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673890896; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=4xs8/ZoWzsdZaHrqQdZanOhHOrYQ23REze6WwuqEv6I=; b=eos8iRGhlS2vXxrM9xbpIJd0f4+gCvmyNNPjj/+tFbjWzPtdcyxKjUfO9Wo5RNvEsd2NpADZGwRZzbHlJMYT1R/NdRubPVbCLQ55Qe74tFPg976YBv8LDKVDhn9LC5E0Xuw1o4cUCRqP3EkUjdNm0+w1IgnSbZS/LkbQhIUuyn4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98586+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1673890896141176.4111873705442; Mon, 16 Jan 2023 09:41:36 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id mhvaYY1788612x3X2NCQ06Tt; Mon, 16 Jan 2023 09:41:35 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web10.173730.1673890893689468350 for ; Mon, 16 Jan 2023 09:41:33 -0800 X-Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-588-nnP_GRkyNL2m37hwPHDT3A-1; Mon, 16 Jan 2023 12:41:29 -0500 X-MC-Unique: nnP_GRkyNL2m37hwPHDT3A-1 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id DA67538149A4; Mon, 16 Jan 2023 17:41:28 +0000 (UTC) X-Received: from osteffen-laptop.redhat.com (unknown [10.39.192.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id EB27BC15BA0; Mon, 16 Jan 2023 17:41:25 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Andrew Fish , Ard Biesheuvel , Bob Feng , Dandan Bi , Gerd Hoffmann , Jian J Wang , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen , Pawel Polawski , chris.fernald@outlook.com, Oliver Steffen Subject: [edk2-devel] [PATCH v11 07/17] CI: Use Fedora 35 container (Linux only) Date: Mon, 16 Jan 2023 18:40:34 +0100 Message-Id: <20230116174044.3346383-8-osteffen@redhat.com> In-Reply-To: <20230116174044.3346383-1-osteffen@redhat.com> References: <20230116174044.3346383-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,osteffen@redhat.com X-Gm-Message-State: m1frYviD5VQ79BFqwIAG6wj1x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1673890895; bh=AduChU6C0YZew9Zly6eNxGxYvI6AyqhrvnQiyKdDmhE=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=uqhSv93w0ND/XL6cIlRe5wCaATOX6nr+7GahXhvKeLvtdr3V2sPWNKyAYES9cgd1tGu SdmIv4/zuMXJsyFq5ts/C+Z7m+w8ZmafrKHLPrPxZiqZF3OVtp50DEb5tMYucb5wzdEw6 gvLJHxMgLk+yJiZpjkrAix5kj8ZCwvFp7Ho= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1673890897706100004 Content-Type: text/plain; charset="utf-8"; x-default="true" Run all Linux based jobs in a container, using a custom Fedora 35 image (gcc 11). The image URL specified in the defaults.yml template, so that all CI jobs can use it. The image is hosted on ghcr.io and the Dockerfiles are here: https://github.com/tianocore/containers The version numbers of gcc, iasl, and nasm are pinned to avoid unintended upgrades during image rebuild. Do not run apt-get in CI jobs to install qemu and gcc dependencies. Assume the container image provides these. Use Python from the container image, do not download at runtime. Signed-off-by: Oliver Steffen Reviewed-by: Michael Kubacki --- .azurepipelines/Ubuntu-GCC5.yml | 3 ++- .azurepipelines/templates/basetools-build-steps.yml | 9 --------- .azurepipelines/templates/defaults.yml | 1 + 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.azurepipelines/Ubuntu-GCC5.yml b/.azurepipelines/Ubuntu-GCC5.= yml index 4ed6cb601b8e..246e2d272e20 100644 --- a/.azurepipelines/Ubuntu-GCC5.yml +++ b/.azurepipelines/Ubuntu-GCC5.yml @@ -21,6 +21,7 @@ jobs: parameters: tool_chain_tag: 'GCC5' vm_image: 'ubuntu-latest' + container: ${{ variables.default_linux_image }} arch_list: "IA32,X64,ARM,AARCH64,RISCV64,LOONGARCH64" - usePythonVersion: ${{ variables.default_python_version }} + usePythonVersion: '' # use Python from the container image =20 diff --git a/.azurepipelines/templates/basetools-build-steps.yml b/.azurepi= pelines/templates/basetools-build-steps.yml index d8c108c6e212..a72758bc3395 100644 --- a/.azurepipelines/templates/basetools-build-steps.yml +++ b/.azurepipelines/templates/basetools-build-steps.yml @@ -10,15 +10,6 @@ parameters: tool_chain_tag: '' =20 steps: -- ${{ if contains(parameters.tool_chain_tag, 'GCC') }}: - - bash: sudo apt-get update - displayName: Update apt - condition: and(gt(variables.pkg_count, 0), succeeded()) - - - bash: sudo apt-get install gcc g++ make uuid-dev - displayName: Install required tools - condition: and(gt(variables.pkg_count, 0), succeeded()) - - task: CmdLine@1 displayName: Build Base Tools from source inputs: diff --git a/.azurepipelines/templates/defaults.yml b/.azurepipelines/templ= ates/defaults.yml index b4909448bdea..74d6b417839d 100644 --- a/.azurepipelines/templates/defaults.yml +++ b/.azurepipelines/templates/defaults.yml @@ -9,3 +9,4 @@ =20 variables: default_python_version: ">=3D3.10.6" + default_linux_image: "ghcr.io/tianocore/containers/fedora-35-test:47addc= 9" --=20 2.39.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#98586): https://edk2.groups.io/g/devel/message/98586 Mute This Topic: https://groups.io/mt/96311842/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-