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.56462.1669927307253586681 for ; Thu, 01 Dec 2022 12:41:47 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=fU/FLCJn; 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 C50E020B83C2; Thu, 1 Dec 2022 12:41:44 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com C50E020B83C2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1669927306; bh=30sZyMKtyd/iAPl8zHBPzLT/h9K/85LzJI8Wo6ZyGnE=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=fU/FLCJnANC/WoqcqKiNWfviamJaaoXaqr5jHqM2rrPOw7PCuxldfkCHrQMcXdn98 VSxOiaaaItdT9Lkt+o4+p8QU9JR5YBF5p8hRU95BikgzRyjz/ALKFbLy7lYbRarY9B gUw8he/Gw9aLzpRfMI7Bs90FpS3N6NQI2/Tmr5u8= Message-ID: <486d9595-c030-b9b2-45c1-7fdcd55b50a7@linux.microsoft.com> Date: Thu, 1 Dec 2022 15:41:44 -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 v10 03/17] 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: <20221201202810.109662-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 Reviewed-by: Michael Kubacki On 12/1/2022 3:28 PM, Oliver Steffen wrote: > Use the default Python version from the defaults template > (.azurepipelines/templates/defaults.yml) in the Windows and > Linux 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. > > Signed-off-by: Oliver Steffen > --- > EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 5 +++++ > EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml | 4 ++++ > 2 files changed, 9 insertions(+) > > diff --git a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml > b/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml > index 416c15e70840..a32c57d4aab4 100644 > --- a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml > +++ b/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml > @@ -15,6 +15,10 @@ trigger: > pr: > - master > - stable/* > + > +variables: > + - template: ../../../.azurepipelines/templates/defaults.yml > + > jobs: > - job: Platform_CI > variables: > @@ -85,3 +89,4 @@ jobs: > build_file: $(Build.File) > build_flags: $(Build.Flags) > run_flags: $(Run.Flags) > + usePythonVersion: ${{ variables.default_python_version }} > 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 }}