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.133.124]) by mx.groups.io with SMTP id smtpd.web11.56250.1669926506830738859 for ; Thu, 01 Dec 2022 12:28:27 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=LIBoJJKP; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: osteffen@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669926506; 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=ZgYVOZiqLNpn5UVFOJJxYR+YWTEV13tBnQxuEmPl3zg=; b=LIBoJJKPAC0RwmEmm6TxEuD4SpdxQMndkR5HYcOasPYPfkuP6HMmS2kVVfNLoL/tElrtGe mU2CH2yANutRJ6oW6U0JuDG4jr6AshgmeV4eS+LP9/YdKrZG2A59jtMsDtiTBSd4grliUf eG2obcSoO+V6t0ZSFDsuP9/a3nPMHp4= Received: from mail-lj1-f200.google.com (mail-lj1-f200.google.com [209.85.208.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-584-3zCka7MNM-SdHj566fJgnA-1; Thu, 01 Dec 2022 15:28:25 -0500 X-MC-Unique: 3zCka7MNM-SdHj566fJgnA-1 Received: by mail-lj1-f200.google.com with SMTP id c1-20020a2e9d81000000b00279805978a3so612923ljj.14 for ; Thu, 01 Dec 2022 12:28:24 -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=ZgYVOZiqLNpn5UVFOJJxYR+YWTEV13tBnQxuEmPl3zg=; b=RgcXf4r+Vl2fuUh9lWTGjYokXrVDQOUIJd85Qy5Rm0JMDn94RV3ZjqWzfQ1tCWJBL3 s1yNY04+Jgmu8n7qsAXGn6BkiTKS4KKQB9q7FbBwl1pPY2giDc6aLFordQP+9N489wlS HQDA/9dZYJUePxQC2IsqSnNJAH+o8HzlJ1o/q9XffpHG/xFABRUDWQCRvLhIekkvyIZJ JJkuzqnjRHpx9tIrMB86xzhR2jsz/EC666rt54wFqci7KwqjVWDVaPAdJKFvDrCb/Kwj DdkVWNs8ZtYVPSLqbxAAT/a8bOpqPY4BxAvyq8OualjJFXdd0M+5nOWoaP+L1V9IcHE/ 5mKQ== X-Gm-Message-State: ANoB5pk0DCM1gwlII6T5LIcCkJEtH9zPCjhFpLWy7+BGqevuYUI2Cg3Z hHc1Qh+Xrwz1aeE+d0YNIpG+X+ilNOHsNo/wbeN1zE7J5n23W6hNUw9IQw8ebdmJ4HCM+txfgm/ RYr2rS6KUhlp22lEzYlW6hXXJZO3KeQ== X-Received: by 2002:a2e:3813:0:b0:279:9b88:384d with SMTP id f19-20020a2e3813000000b002799b88384dmr8714823lja.455.1669926503344; Thu, 01 Dec 2022 12:28:23 -0800 (PST) X-Google-Smtp-Source: AA0mqf7M+PHzbnwj15ngHKFivnTsXlyuQsc2ElyoWeGweHVLAssyn5J+tSkiAJEH8eqdocfdsznvxkRuggtP7lxPtGk= X-Received: by 2002:a2e:3813:0:b0:279:9b88:384d with SMTP id f19-20020a2e3813000000b002799b88384dmr8714800lja.455.1669926503077; Thu, 01 Dec 2022 12:28:23 -0800 (PST) Received: from 567203818698 named unknown by gmailapi.google.com with HTTPREST; Thu, 1 Dec 2022 12:28:22 -0800 From: "Oliver Steffen" X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221201202810.109662-1-osteffen@redhat.com> References: <20221201202810.109662-1-osteffen@redhat.com> MIME-Version: 1.0 Date: Thu, 1 Dec 2022 12:28:22 -0800 Message-ID: Subject: [PATCH v10 08/17] 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 | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml index 5a0e589ed4a7..6d75502b5628 100644 --- a/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -15,9 +15,6 @@ pr: - master - stable/* -variables: - - template: ../../../.azurepipelines/templates/defaults.yml - jobs: - job: Platform_CI variables: @@ -78,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: @@ -88,8 +87,4 @@ jobs: build_file: $(Build.File) build_flags: $(Build.Flags) run_flags: $(Run.Flags) - usePythonVersion: ${{ variables.default_python_version }} - 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