From nobody Mon Feb 9 09:52:39 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+91589+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+91589+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1658327351; cv=none; d=zohomail.com; s=zohoarc; b=QUHGcQdx2Q/wsNOOy+k45+ArkGT02ytKl30al/EqFLpAQjpnflnjk9yRkRw1PRf5Vwmto/JymORpOt0/ltebHg+lskrEAU7F1dovsE4OYBRdI+hVi7gILl8pLe4l0ERt2zn/0sTC2yC54AXTqlMWDb5HgZWXU+X6YTvJFPoCgVA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1658327351; 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=HUPvdehqWKdFEJuCwG/d9GvxG1IKr33axmio7BVIqjU=; b=Hd63lnGomKx/MSBcMYZr1kO441z2B2wwZrO9w6TzT0hhGUvXBfHqVU8o7ofa7uxQnQ+rINdbrsdW5HvSAOozFBqWpdjgHC17ibtPjfYFTKfb1HdopUQabCUfgwWL+Gvt+wE9uljVbeOukgV/qSLhLeOsfgKDpCuMrrrydtA4Eqk= 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+91589+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 1658327351831740.9102768018125; Wed, 20 Jul 2022 07:29:11 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 2zo8YY1788612x76Uw2iIDjl; Wed, 20 Jul 2022 07:29:11 -0700 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.web08.54668.1658327350885003136 for ; Wed, 20 Jul 2022 07:29:11 -0700 X-Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-564-_nhKM5i4PXqo7gg-ByUpgg-1; Wed, 20 Jul 2022 10:28:36 -0400 X-MC-Unique: _nhKM5i4PXqo7gg-ByUpgg-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 4753D811E7A; Wed, 20 Jul 2022 14:28:36 +0000 (UTC) X-Received: from osteffen-laptop.fritz.box (unknown [10.40.194.210]) by smtp.corp.redhat.com (Postfix) with ESMTP id C9C30C15D67; Wed, 20 Jul 2022 14:28:33 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io, osteffen@redhat.com Cc: Andrew Fish , Ard Biesheuvel , Bob Feng , Bret Barkelew , Gerd Hoffmann , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen Subject: [edk2-devel] [PATCH v3 3/4] CI: Use Fedora 35 container (Linux only) Date: Wed, 20 Jul 2022 16:28:06 +0200 Message-Id: <20220720142807.234724-4-osteffen@redhat.com> In-Reply-To: <20220720142807.234724-1-osteffen@redhat.com> References: <20220720142807.234724-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 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: MgDCYLPfX9Oy264vBm2cLS5wx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1658327351; bh=i6AChaFHTkASSILrs9GY1nU2AnNNdxXP7wJOSXCkNXY=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=kk3o/lNue5UZoTu2PfPf0HGKWDzqnrsU2ZNM6buJmIYCM3XeWK9yneL5zBLoFEJ4w0M NFz/VJbL79uIK95oFERIbBKajTlg4Mdf/Qoe/hroMkybHe74djvNJSur8d/fFT5aIY6hZ ZFfitvI9GPcFA9xbPrg9ZqcN02vyLNTlco8= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1658327352639100001 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 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. Signed-off-by: Oliver Steffen --- .azurepipelines/templates/basetools-build-steps.yml | 9 --------- .azurepipelines/templates/pr-gate-build-job.yml | 3 +++ ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 6 ++---- EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 2 ++ OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 6 ++---- 5 files changed, 9 insertions(+), 17 deletions(-) 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/pr-gate-build-job.yml b/.azurepipeli= nes/templates/pr-gate-build-job.yml index 0e4ad019bf03..e03f01c75f33 100644 --- a/.azurepipelines/templates/pr-gate-build-job.yml +++ b/.azurepipelines/templates/pr-gate-build-job.yml @@ -63,6 +63,9 @@ jobs: pool: vmImage: ${{ parameters.vm_image }} =20 + ${{ if contains(parameters.tool_chain_tag, 'GCC') }}: + container: 'ghcr.io/tianocore/containers/fedora-35-test:199a511' + steps: - template: pr-gate-steps.yml parameters: diff --git a/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/ArmVir= tPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml index b07e3199f143..7a9e6d90c12c 100644 --- a/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -75,6 +75,8 @@ jobs: pool: vmImage: $(vm_image) =20 + container: 'ghcr.io/tianocore/containers/fedora-35-test:199a511' + steps: - template: ../../../.azurepipelines/templates/platform-build-run-step= s.yml parameters: @@ -85,7 +87,3 @@ jobs: build_file: $(Build.File) build_flags: $(Build.Flags) run_flags: $(Run.Flags) - extra_install_step: - - bash: sudo apt-get install qemu - displayName: Install qemu - condition: and(gt(variables.pkg_count, 0), succeeded()) diff --git a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/Emula= torPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml index 416c15e70840..9c7c5d94e4b7 100644 --- a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -75,6 +75,8 @@ jobs: pool: vmImage: $(vm_image) =20 + container: 'ghcr.io/tianocore/containers/fedora-35-test:199a511' + steps: - template: ../../../.azurepipelines/templates/platform-build-run-step= s.yml parameters: diff --git a/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/OvmfPkg/P= latformCI/.azurepipelines/Ubuntu-GCC5.yml index 7160d95f7e04..430a7e02fb52 100644 --- a/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -177,6 +177,8 @@ jobs: pool: vmImage: $(vm_image) =20 + container: 'ghcr.io/tianocore/containers/fedora-35-test:199a511' + steps: - template: ../../../.azurepipelines/templates/platform-build-run-step= s.yml parameters: @@ -187,7 +189,3 @@ jobs: build_file: $(Build.File) build_flags: $(Build.Flags) run_flags: $(Run.Flags) - extra_install_step: - - bash: sudo apt-get install qemu - displayName: Install qemu - condition: and(gt(variables.pkg_count, 0), succeeded()) --=20 2.36.1 -=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 (#91589): https://edk2.groups.io/g/devel/message/91589 Mute This Topic: https://groups.io/mt/92505631/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-