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.web10.29511.1669853102185789757 for ; Wed, 30 Nov 2022 16:05:02 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=mdQLK7OZ; 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 C807520B83C2; Wed, 30 Nov 2022 16:04:59 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com C807520B83C2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1669853101; bh=rBnjGOS3hlD4Q/51JclXDXELXIt2uNO/kHC/ddWsjb4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=mdQLK7OZaLzFVmTdwplIk2NzaCl0NbjLrAAvLFvJnT7/rkyigrGiriKB54CbbBfOY Sx5xlmakLzLFd+h0gm49xiR+oO0zIpbspa+Tx2sRN63zr5hrBDRtSsL6S8Z6/OVe6+ yA9NBCnrLcNchRWmMQRB81O4dJ5aWGiAVYzoxEug= Message-ID: Date: Wed, 30 Nov 2022 19:04:58 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Subject: Re: [edk2-devel] [PATCH v9 03/12] EmulatorPkg: CI: use Python version from defaults template To: devel@edk2.groups.io, osteffen@redhat.com Cc: Andrew Fish , Ard Biesheuvel , Bob Feng , Daniel Schaefer , Gerd Hoffmann , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Ray Ni , Sami Mujawar , Sean Brogan , Sunil V L , Yuwei Chen , Zhiguang Liu , Pawel Polawski , Chris Fernald References: <20221130220125.1112760-1-osteffen@redhat.com> From: "Michael Kubacki" In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Like patch v9 1/12 & v9 2/12, I suggest updating Ubuntu-GCC5.yml in EmulatorPkg/PlatformCI/.azurepipelines to use the template in this patch. On 11/30/2022 5:01 PM, Oliver Steffen wrote: > Use the default Python version from the defaults template > (.azurepipelines/templates/defaults.yml) in the Windows > CI jobs. > > Previous changes to the CI job templates make it necessary > to specify a version number, if Python shall be pulled > at CI runtime. > > The Linux CI jobs will use Python from the container image, > so these changes are for Windows only. > > Signed-off-by: Oliver Steffen > --- > EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml > b/EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml > index e7ead06ae266..09960e7c7a6e 100644 > --- a/EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml > +++ b/EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml > @@ -16,6 +16,9 @@ pr: > - master > - stable/* > > +variables: > + - template: ../../../.azurepipelines/templates/defaults.yml > + > jobs: > - job: Platform_CI > variables: > @@ -128,3 +131,4 @@ jobs: > build_file: $(Build.File) > build_flags: $(Build.Flags) > run_flags: $(Run.Flags) > + usePythonVersion: ${{ variables.default_python_version }}