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.web10.56050.1669926508218582591 for ; Thu, 01 Dec 2022 12:28:28 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WXjKkGdf; 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=1669926507; 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=msRn0nDmtnSb8M0ZdHsWO5XjAUuCg+FFod/Agx+t2Sk=; b=WXjKkGdfMT8fNwZJM7jGNWjBxV/iv+3nb9SWXGBuo+zJFo4w3vgPEoZuQAvO5XPQ6KTSx1 804EnARSn4IHTHIUrlAEGltvlXYeXwnT9fRAqpDi/hO16+e+8cOvWxolscFMUA16+RNivG b7Ne2zN7kVqI5VbQNHTBeUWOHQiLEms= 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-634-6FggAiYxNLWDYSiGe2oidA-1; Thu, 01 Dec 2022 15:28:26 -0500 X-MC-Unique: 6FggAiYxNLWDYSiGe2oidA-1 Received: by mail-lj1-f198.google.com with SMTP id c1-20020a2e9d81000000b00279805978a3so612945ljj.14 for ; Thu, 01 Dec 2022 12:28:26 -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=msRn0nDmtnSb8M0ZdHsWO5XjAUuCg+FFod/Agx+t2Sk=; b=jzY86gcEuWLt4V4aSscfcQQqR+uO/aB8JYZCu0CgTxlNaS1VAy1fqZZO8Ar+gBr9xI L/D/Dt/XKaP/a2IRweGSZXZGjRWnRylnkHzw6+x5WLoDtQ/QU6PjoUUQDBVnESi+GC4w 2Owr0jRK+ho0f7iuoSIogcCz9x/NiuMlNwVVNYaXmmMrZiPp0wakdwm4zq5IV7KLA275 PQr3c3bJvM5DZ2zdj0ImezeM4FFn1aCjNlo4PwaJC3B1LLYP1hZgO1K9gJpcQ+385nAh skbBV+zNdlSegiJaP1pQkvvbKKfC2zKOGH6ZYDeMFv7KcttvHWekCwCnS2FGCJxKpG7v u5nQ== X-Gm-Message-State: ANoB5pkZEsvO4D27zDUm3NpbdLzbbuPNUH4RtlI9MP3+aDLmLVFlkz0d a+wJLXqNI3CwUbLi9yZfeOsAQs+upE/bh2DeuCQ+IzocrrzA/0yHduFkLG6vIIMlDIx4FNQIDkk yDn7lmv2bOw1M1/doKH5zsirYGfhBBw== X-Received: by 2002:a05:6512:3189:b0:4b4:e3bd:6ca0 with SMTP id i9-20020a056512318900b004b4e3bd6ca0mr16536137lfe.278.1669926504503; Thu, 01 Dec 2022 12:28:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf6NFKhjr6KA0n1xJEaVvGH1XmIGC83p0E/vI56qiKWavqPhuzNGP2htyYBNShzfG29sm7g2OI0n6putW33+m10= X-Received: by 2002:a05:6512:3189:b0:4b4:e3bd:6ca0 with SMTP id i9-20020a056512318900b004b4e3bd6ca0mr16536125lfe.278.1669926504345; Thu, 01 Dec 2022 12:28:24 -0800 (PST) Received: from 567203818698 named unknown by gmailapi.google.com with HTTPREST; Thu, 1 Dec 2022 12:28:23 -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:23 -0800 Message-ID: Subject: [PATCH v10 09/17] EmulatorPkg: 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. Use Python from the container image, do not download at runtime. Signed-off-by: Oliver Steffen Acked-by: Ray Ni --- EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml index a32c57d4aab4..e58bb5b55245 100644 --- a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -15,10 +15,6 @@ trigger: pr: - master - stable/* - -variables: - - template: ../../../.azurepipelines/templates/defaults.yml - jobs: - job: Platform_CI variables: @@ -79,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: @@ -89,4 +87,4 @@ jobs: build_file: $(Build.File) build_flags: $(Build.Flags) run_flags: $(Run.Flags) - usePythonVersion: ${{ variables.default_python_version }} + usePythonVersion: '' # use Python from the container image -- 2.38.1