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.22645.1669838473085875433 for ; Wed, 30 Nov 2022 12:01:13 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OrNEclwr; 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=1669838472; 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=YgoqiubGztAecXcxsABg831gx6IQalAzFAbCHPYnX2I=; b=OrNEclwrksANhxNv3uWLct+2meDurRh6A3oxtjgJKF6ZmEyi2z7Ken9vdQbvca5vVw/1eR 2duXFc8QNcik7dywqeESNvikIeN9ZEeimgSNIWve6z80fV/jMzhHlhYErmUjNcIZecKwpx oo8D8kx1LcBit2yLFb2mvu9R35OrdcI= Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-638-AIi9bMRxO3K4Tffrppbjxw-1; Wed, 30 Nov 2022 15:01:10 -0500 X-MC-Unique: AIi9bMRxO3K4Tffrppbjxw-1 Received: by mail-lf1-f69.google.com with SMTP id w14-20020a19490e000000b004b12aab341cso6882805lfa.11 for ; Wed, 30 Nov 2022 12:01:08 -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=YgoqiubGztAecXcxsABg831gx6IQalAzFAbCHPYnX2I=; b=pVGBt4lMSaaAg8OkF9wrGCLP8JXz9bkcqKHS7XUR0LW/c2x4bavNkZw+a2mTdZKeFS 7KeUdUw9LNbuJGMuNACPalto5QhofylCbiFnY36lJApxsuKswkZ/7EeByaOXuJjIQ0dR hAvlcT8hmVBVy9N+Xhul2/gGMRY/AUDHZ3JZ2xzOajIF8JilB1XPJ25baWNyaeG8QKU3 VgxNM0/Ros70Q0cmejI0uEYC2HQb//JsonO8A5r3ubSHU1AFqfSAB1Xuy9xZFwHzUP5H zOf5nPJsrsCDNO6RQiVzRERidV2Nhwo4LXZoJrwd5nckrziYp31XKs0qPqkZKXwIQTMO HEUw== X-Gm-Message-State: ANoB5pkBwsoAGbIGEmmllm1hPcIAyvZPvyy1toavKKOvvuvvzG7NUBF3 +00OOev6lJBLN7swHPkHtyCCiL/ClvTytwCTcgzndHwzZ1iAaYuiZBinUt1XneymMcdcedJY0er 5EMJIJCAQ4q+0f/ISYWuaTmorW60LSg== X-Received: by 2002:a19:ca55:0:b0:4b5:2ae5:d3bd with SMTP id h21-20020a19ca55000000b004b52ae5d3bdmr2491973lfj.46.1669838467072; Wed, 30 Nov 2022 12:01:07 -0800 (PST) X-Google-Smtp-Source: AA0mqf6jX7kLeEpHAlTkdWmvEPDj/ComQP9WDAqkaBo10EQUOzBE6TslJSqBeUDEIfbt/Q5r32EGcGLCMdwjeCz0jSU= X-Received: by 2002:a19:ca55:0:b0:4b5:2ae5:d3bd with SMTP id h21-20020a19ca55000000b004b52ae5d3bdmr2491944lfj.46.1669838466740; Wed, 30 Nov 2022 12:01:06 -0800 (PST) Received: from 567203818698 named unknown by gmailapi.google.com with HTTPREST; Wed, 30 Nov 2022 12:01:05 -0800 From: "Oliver Steffen" X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221130200037.1098765-1-osteffen@redhat.com> References: <20221130200037.1098765-1-osteffen@redhat.com> MIME-Version: 1.0 Date: Wed, 30 Nov 2022 12:01:05 -0800 Message-ID: Subject: [PATCH v8 02/12] OvmfPkg: 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 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 --- OvmfPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/OvmfPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml b/OvmfPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml index 7d6344d6383d..7e63f419b26b 100644 --- a/OvmfPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml +++ b/OvmfPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml @@ -14,6 +14,10 @@ trigger: pr: - master - stable/* + +variables: + - template: ../../../.azurepipelines/templates/defaults.yml + jobs: - job: Platform_CI variables: @@ -133,6 +137,7 @@ jobs: build_file: $(Build.File) build_flags: $(Build.Flags) run_flags: $(Run.Flags) + usePythonVersion: ${{ variables.default_python_version }} extra_install_step: - powershell: choco install qemu --version=2021.5.5; Write-Host "##vso[task.prependpath]c:\Program Files\qemu" displayName: Install QEMU and Set QEMU on path # friendly name displayed in the UI -- 2.38.1