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.web11.22815.1669838477876523132 for ; Wed, 30 Nov 2022 12:01:18 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SxaNgwyE; 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=1669838477; 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=M+XxZTGB6BU2QG7X1CkAy2ulIZGcch6T6ycG1O0B9j0=; b=SxaNgwyEZcxqdmeKW8b3c6U+jPTahFWqI5bPrB3ssNzsXt0bjJpO17kL16aEkhksZterT6 cUTI0NnRxuntWvFXxM5LKtMs/xcD55tHnrkgtUshmkZgZT5kuB2GCnFzfGMpTW1SzcEpxg 0viATgmVaAz1SjiI6q2q5xPFhESiLZI= Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-147-z3-VmK0JOq2OE6emVeNvbw-1; Wed, 30 Nov 2022 15:01:15 -0500 X-MC-Unique: z3-VmK0JOq2OE6emVeNvbw-1 Received: by mail-lf1-f72.google.com with SMTP id w14-20020a19490e000000b004b12aab341cso6882964lfa.11 for ; Wed, 30 Nov 2022 12:01:15 -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=M+XxZTGB6BU2QG7X1CkAy2ulIZGcch6T6ycG1O0B9j0=; b=GBAC99pX4MgXkO7vVt+HOg7zlgDiGoRn6tyWL8cQDElGZ8UahYUyKmUzTiLxEvaQsY PmlzX6Bxvgu2A1T35xoTcFhzhGLTFef1xyXuX1VFQVUTh1rf/vEVzkxjRrGnnEXa5YIY 5FdPcHnVwElqg5h638KicsfkG9aq1hc+jEt6qc294/faFblqIDYVf+i0mdLkl3p0aYnC ef9OG1Jtoqtyx3gK8bbBIyG2fzXQX85gY6wE9HfudhEOKtouSf/3o1C6zwQH2wKo7blg cguRPEF/YkPh6AgbsoNAxnUGrk258g+A8cfylgB2Of6VKJeEGMJ7fTg1a9tYvYZaMgc5 MqEw== X-Gm-Message-State: ANoB5pnA7wcvXD++87F15xe3xOwhL7va9vz4AE9r5BovdeycosZoMLQr oVsRJi160l7nTFHofzXb7FaNuJCsR8bZvVkT5w04a/aJsOJSx2aRyPitR2rssrCLNj28kFarOOT vE/AUiJCkwh7axsCy07/j37eWk3kOMg== X-Received: by 2002:a2e:a4c7:0:b0:277:81ff:b8c4 with SMTP id p7-20020a2ea4c7000000b0027781ffb8c4mr18928232ljm.260.1669838473781; Wed, 30 Nov 2022 12:01:13 -0800 (PST) X-Google-Smtp-Source: AA0mqf7bPgCOLH9IAj4s1ZqO616BqQEP8PMR0eLHsXKjv0cOIVvZe8MHWosic4PsAR0Mts2rBPYRdfrusPE3yZknsG8= X-Received: by 2002:a2e:a4c7:0:b0:277:81ff:b8c4 with SMTP id p7-20020a2ea4c7000000b0027781ffb8c4mr18928223ljm.260.1669838473543; Wed, 30 Nov 2022 12:01:13 -0800 (PST) Received: from 567203818698 named unknown by gmailapi.google.com with HTTPREST; Wed, 30 Nov 2022 12:01:12 -0800 From: "Oliver Steffen" X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221130200037.1098765-1-osteffen@redhat.com> References: <20221130200037.1098765-1-osteffen@redhat.com> MIME-Version: 1.0 Date: Wed, 30 Nov 2022 12:01:12 -0800 Message-ID: Subject: [PATCH v8 07/12] ArmVirtPkg: 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 --- ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml index b07e3199f143..6d75502b5628 100644 --- a/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -75,6 +75,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: @@ -85,7 +87,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