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.22817.1669838478950403426 for ; Wed, 30 Nov 2022 12:01:19 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RbS2R0An; 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=1669838478; 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=RbS2R0AnZffUvCmGU0yW0aQMuPhqTKLHbhnJh4k+jWML2oCaJ9DHL19pS5ASCFkWpiSZ/m tO22h4kfjrT8nWkzoOXXn/TDIJq7Ts2tCG5PfNBDCsYfBZAvPkzrg5cg/CCGyeY9Vd/01r 4v9ktBmfugMKonG9X6g3E6HuLZCvVII= 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-313-mqoSRQW2O_mK8mFjJ_xPew-1; Wed, 30 Nov 2022 15:01:16 -0500 X-MC-Unique: mqoSRQW2O_mK8mFjJ_xPew-1 Received: by mail-lj1-f198.google.com with SMTP id g3-20020a2e9cc3000000b0027760138bb9so4288182ljj.23 for ; Wed, 30 Nov 2022 12:01:16 -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=5ZmKz9jBq9bSaXo4bEN5eJdNUnHUsFM2qrS4AtKdfO8XXGzCwuw6GBx6BZzQsNDphX 3daCu/M3upiLm/ZS7wQgPXdaaR0nIj6RDTr/tInrJy28w6Es+ynL8f2vEMbeoagO4mA4 WdL8FSRGZdGfJ7F4MwpOulZg4Gfvhr2e/ZDhM+7RGYeqCPXfC7ZrisOjOoVDPE9lHzSW FRqjRdrm2TMX9E/tXRPT9WoWY9uQ4FCzN+vafPIhPVKuTGMzu9/mEzb4VvmSEYkF+iUd ucEYWMapeHx2cDt0nMuEcEL3v35hk/CEvrnlQ4nlHDyO/zz+6cdhMR0Maf+lGwUsPOkk 2XQw== X-Gm-Message-State: ANoB5pnYvIp4VgPG58wHo2keQo1p5wcO79x6RusXPq1fzlmj7uPV4QJN vR2e834pbpTPixIhbp5wyndOEy3cWBiP6f04tuB59is1lWDTwwk2wOTFyXo2TpuZCNjA1fQVqKt tGZcc9s8tV/r7M3/L8Inwe5G4njvR9w== X-Received: by 2002:ac2:5e70:0:b0:4ad:3f25:60f4 with SMTP id a16-20020ac25e70000000b004ad3f2560f4mr15253259lfr.92.1669838475129; Wed, 30 Nov 2022 12:01:15 -0800 (PST) X-Google-Smtp-Source: AA0mqf7DOyNHfoOCTULvdpSgYUq/8tYcAZmviD+yDUk8MZMEIGDSd2ZiZ1RQFzcF7OFDs8t/ZCaNWCaVPtBYpbkAjso= X-Received: by 2002:ac2:5e70:0:b0:4ad:3f25:60f4 with SMTP id a16-20020ac25e70000000b004ad3f2560f4mr15253253lfr.92.1669838474892; Wed, 30 Nov 2022 12:01:14 -0800 (PST) Received: from 567203818698 named unknown by gmailapi.google.com with HTTPREST; Wed, 30 Nov 2022 12:01:14 -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:14 -0800 Message-ID: Subject: [PATCH v8 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