From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web11.203307.1673976497118835582 for ; Tue, 17 Jan 2023 09:28:17 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=LYV1QTtg; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: mikuback@linux.microsoft.com) Received: from [192.168.4.22] (unknown [47.201.8.94]) by linux.microsoft.com (Postfix) with ESMTPSA id BA63E20DFE9F; Tue, 17 Jan 2023 09:28:14 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com BA63E20DFE9F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1673976496; bh=/O/ts8xPetBRkMuGmjIPFGh8Cf8Mt6TWfqz7+1NJ6i4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=LYV1QTtgrEI8byFR1O7eMpj5RIy2Z3WXovCQiC+ek0Dq4ZZ0sVUXztsZiExBcYuWq 2B7zEo6NDnaPG7W58IueifXzxwq5TxAiHHU+/LuLHUjCwhvdbTmDR28CarxMFpmSBN gQ+hMEws1/ecF57/x4J4aa1ODDRosWlsM+QnJ/vE= Message-ID: <527f10f6-9a99-bb09-5129-1a6d696614ec@linux.microsoft.com> Date: Tue, 17 Jan 2023 12:28:13 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 6.2; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Subject: Re: [PATCH v11 09/17] EmulatorPkg: CI: Use Fedora 35 container (Linux only) To: Oliver Steffen , devel@edk2.groups.io Cc: Andrew Fish , Ard Biesheuvel , Bob Feng , Dandan Bi , Gerd Hoffmann , Jian J Wang , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen , Pawel Polawski , chris.fernald@outlook.com References: <20230116174044.3346383-1-osteffen@redhat.com> <20230116174044.3346383-10-osteffen@redhat.com> From: "Michael Kubacki" In-Reply-To: <20230116174044.3346383-10-osteffen@redhat.com> Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Reviewed-by: Michael Kubacki On 1/16/2023 12:40 PM, Oliver Steffen wrote: > Run the Linux jobs of the EmulatorPkg platform CI inside a container, > in the same way the general CI does now. Make use of the default image > specified in the defaults.yml template. > > 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 > --- > EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml > index a32c57d4aab4..3861457ac70a 100644 > --- a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml > +++ b/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml > @@ -79,6 +79,8 @@ jobs: > pool: > vmImage: $(vm_image) > > + container: ${{ variables.default_linux_image }} > + > steps: > - template: ../../../.azurepipelines/templates/platform-build-run-steps.yml > parameters: > @@ -89,4 +91,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