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.56048.1669926500970358457 for ; Thu, 01 Dec 2022 12:28:21 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=N6N6+yu/; 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=1669926500; 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=b1Gh4jdqh4RBGjVSLJz5gbZfPh5wJqrRWWnGwS8ccVw=; b=N6N6+yu/zCKZR9oPIyETF7xiR7/+VYOBMLkB7/Ov3HU6vS1VQzcPTsHrpu6rRXY5ciR5wM aoammtlH9lD0rcd0Zh5qa0MK+TCoT+CYFB3hud1JNi0rkvTkZAQyQvvZbC+DZMp9x6u4wD 1tnulRlHsza/5odV1xiQl4Zh35EDimc= Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-288-gb3m8JdKN2-CDWp7DKSd9Q-1; Thu, 01 Dec 2022 15:28:18 -0500 X-MC-Unique: gb3m8JdKN2-CDWp7DKSd9Q-1 Received: by mail-lf1-f71.google.com with SMTP id w2-20020ac24422000000b004a299d12364so1221074lfl.13 for ; Thu, 01 Dec 2022 12:28:18 -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=b1Gh4jdqh4RBGjVSLJz5gbZfPh5wJqrRWWnGwS8ccVw=; b=teY6bqegrs4PfWTVLshoZFnKmBk8AXxORayuWYTj68YMs5lLor1+fWU+tuweCAV3Y0 rZ1PW4btVnd9ia6uO6sgUtN50ZlR8g6FJE0IcDM2S/YK+BlUjJjg1ZEW8OWI8mELNKhe 4iW7ISR1NmuzJqp0j+gcCv+fDE5OcZTDB4obLVNjVfW7eIacu9LKoz7Ax0H5/A+e5tSX qtmfPvPlNwdmqAaqbFwr6oSjHcX67rWqFvByIkSS+C01MI1WQp1v+dvUmcR+quKeA6kK Ph9dCSY+ES0bnMR5cpqFn9kZKgUlcSRsU6mFl5PrvEixU4I0PDO+S2XF+9HZAQCGJ7cc RcnA== X-Gm-Message-State: ANoB5plblSWqeE9VUBrz9eBbQGjHSp56pfOXwLaQNi6VEusjmfRwcfO2 Q9MvP7LSg2RIw0r/lJ2FUXTcDfM3BElGZmr0hYvwDjpj2RkTQTJhtQu0z3wEKv4Zxj13EPhSD9S 3cZHRV5AOA7USlP2bv2cmlMFWnhYvbg== X-Received: by 2002:a05:651c:238d:b0:279:aa68:cbd6 with SMTP id bk13-20020a05651c238d00b00279aa68cbd6mr5791350ljb.425.1669926496944; Thu, 01 Dec 2022 12:28:16 -0800 (PST) X-Google-Smtp-Source: AA0mqf6U713xq7WHErJGVf4euj++4WXaxrUEFtK8pfj+p4W8mJEnIxWE7wzNvIj+QOqdEFPsBFDReFZ1AZd+3MP5eEo= X-Received: by 2002:a05:651c:238d:b0:279:aa68:cbd6 with SMTP id bk13-20020a05651c238d00b00279aa68cbd6mr5791331ljb.425.1669926496786; Thu, 01 Dec 2022 12:28:16 -0800 (PST) Received: from 567203818698 named unknown by gmailapi.google.com with HTTPREST; Thu, 1 Dec 2022 12:28:16 -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:16 -0800 Message-ID: Subject: [PATCH v10 03/17] EmulatorPkg: CI: use Python version from defaults template 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" 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 }} -- 2.38.1