From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web10.26229.1669845708961595630 for ; Wed, 30 Nov 2022 14:01:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TBQh8c4x; spf=pass (domain: redhat.com, ip: 170.10.129.124, mailfrom: osteffen@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669845708; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UIraHiaHy1hhgXcTeVskFXDt2/dSBh8Y9KXNjGVBJxg=; b=TBQh8c4xy+RrRHBG+P08nPkqkfxscexm1+A9LDLfVXj6ph63aIlModRFrFWDgSkrg1UwOW 3JUxcBpcvTbfktmq5RHFAFOntAmJxejDUPbLnOy7Ne0YC7cFT2q51Xyk5UGGDzokCYgndh 1Krl2+sTWCi/U8obiBWSLwCq/EyOeZU= Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-303-ZX4LdVsJMO61V9JxbIjtZQ-1; Wed, 30 Nov 2022 17:01:47 -0500 X-MC-Unique: ZX4LdVsJMO61V9JxbIjtZQ-1 Received: by mail-lj1-f198.google.com with SMTP id bn17-20020a05651c179100b0027905fa8e48so4323518ljb.15 for ; Wed, 30 Nov 2022 14:01:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UIraHiaHy1hhgXcTeVskFXDt2/dSBh8Y9KXNjGVBJxg=; b=XU3PWibfOQcppgWCkfQK+0grO0VuZIuaDyGU3e3gSBoDxg13LSeSn9OydGSKaMsPTh QeFgE6AeLE1/MOY+WAn1s8EKQojpLzpi4WfibkKqsCatQIVG07V4IWARwQNZ4f3GmJ4Y CImcX9hzzAXEGg7ur3CvfH5tuF8b6Nog5g/mMpksnIjc+Pswp80Sr0FjqzIEhvwx6F/I edH0BI0pY/eFIkvdpGyBFAFh8SmczaSFwCQuorA16fbF++7X19nGQzYxwP2QeCDw4cVd 9voIFzP9WOP0qOAe0r+7L2k6SMfEmtp313cF5ZUhbuQj5OUR2kTOyKK0hXWKwujsFlbH sXkw== X-Gm-Message-State: ANoB5pnZgvDTGDOxJmNoPYmaxU8A+THtL1oxR1pkTRwT/eqZbAT12Dx5 39awhJGXTIHmMqDRD0nO5cqvJaYdzTo0selRl2dYfMXUWnZnnvAK/J9FIokEy1KM4Xu9n/VhUaW LG8QnCEEcmIsXMGrN9HCYguH8A93gtQ== X-Received: by 2002:a05:6512:3189:b0:4b4:e3bd:6ca0 with SMTP id i9-20020a056512318900b004b4e3bd6ca0mr14818432lfe.278.1669845705284; Wed, 30 Nov 2022 14:01:45 -0800 (PST) X-Google-Smtp-Source: AA0mqf4D4vtM5UJrH17d/goc7QdnSfFAE8uMT8gEZZScHtkKXKNPVGmA87AJMpB0S1kTjH1EluK8LPUW3pc85LXrDGY= X-Received: by 2002:a05:6512:3189:b0:4b4:e3bd:6ca0 with SMTP id i9-20020a056512318900b004b4e3bd6ca0mr14818420lfe.278.1669845705079; Wed, 30 Nov 2022 14:01:45 -0800 (PST) Received: from 567203818698 named unknown by gmailapi.google.com with HTTPREST; Wed, 30 Nov 2022 14:01:44 -0800 From: "Oliver Steffen" X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221130220125.1112760-1-osteffen@redhat.com> References: <20221130220125.1112760-1-osteffen@redhat.com> MIME-Version: 1.0 Date: Wed, 30 Nov 2022 14:01:44 -0800 Message-ID: Subject: [PATCH v9 08/12] OvmfPkg: CI: Use Fedora 35 container (Linux only) To: devel@edk2.groups.io Cc: Andrew Fish , Ard Biesheuvel , Bob Feng , Daniel Schaefer , Gerd Hoffmann , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Sunil V L , Yuwei Chen , Zhiguang Liu , Pawel Polawski , Chris Fernald , Oliver Steffen X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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. Use Python from the container image, do not download at runtime. Signed-off-by: Oliver Steffen --- OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml index 7160d95f7e04..984782aa7d19 100644 --- a/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -177,6 +177,8 @@ jobs: pool: vmImage: $(vm_image) + container: 'ghcr.io/tianocore/containers/fedora-35-test:2113a0e' + steps: - template: ../../../.azurepipelines/templates/platform-build-run-steps.yml parameters: @@ -187,7 +189,4 @@ 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()) + usePythonVersion: '' # use Python from the container image -- 2.38.1