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.129.124]) by mx.groups.io with SMTP id smtpd.web11.26471.1669845700161600467 for ; Wed, 30 Nov 2022 14:01:40 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=GgLS4lSa; spf=pass (domain: redhat.com, ip: 170.10.129.124, mailfrom: osteffen@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669845699; 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=GgLS4lSai+GOpPV2D7ER859azYdhP7CJGXFXali2sDqk0qrwAfWdjbr/ngsmfS7Smov8AK oafScFrP5swvTlN62LpOREhiy+4ZIpemgAmh8oYmQtZOn7KSuqKAJEk9byHmXPKKyymKeE kLmISusmL8cuRgdJRW9keWSYRo7TGoo= Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-85-AT8EB57xOeuoBDRtOc9g2A-1; Wed, 30 Nov 2022 17:01:38 -0500 X-MC-Unique: AT8EB57xOeuoBDRtOc9g2A-1 Received: by mail-lj1-f198.google.com with SMTP id g11-20020a2eb5cb000000b002799bcb5759so2902285ljn.11 for ; Wed, 30 Nov 2022 14:01:37 -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=WQIGBCEDgpHIrT/oshSZPMJYLoUQyaYs2vCEafMv43xYDxCSQcexmSD0XquHOYeyKp LeH5qI5VCee+sScf7K3xmugIwdPjpMzF+1WXcvRLDFdYzXgHKQvMbVgR8JOdLP+9ZWpx SsOH8zDg6piJyXae0EvrLySEzqx592XrNOdwBOpFxf7T35D3F82wOQ9rjzcVcgUjgulh YC3ApxZab/XReeAa3d30h92BiOJjCFi1qVFallPR5B+QqGvAg2EZJxAPZZzRLSkK/Sq3 RlRvNq7VBeFoqKdgDFfJJwsXCza2uCTjgLpypSVSeUz1WA5nFt/xcvOZ9L9TGOkHd60L TZYA== X-Gm-Message-State: ANoB5pmF3DB8DDE3CmHgDZ0wbeMjIFX5LGwYaAtQnm7k31tZPR+F/FSs aulonoP57wyZOMX0d+BHhGC9kD/jD5RUv6RTylA+KbzwHqRtjJkgZLpOaomCqvkLyEiO0F4gXlo ubbpuiAe8Tytck9/fQLxsiBmvh2arkw== X-Received: by 2002:a2e:3813:0:b0:279:9b88:384d with SMTP id f19-20020a2e3813000000b002799b88384dmr7163311lja.455.1669845695923; Wed, 30 Nov 2022 14:01:35 -0800 (PST) X-Google-Smtp-Source: AA0mqf59Ad4xNeeRf4U5AVTGWQq5+lgQ0P8qNS663ApPQi8XDsBknX391fwbqgBWnSGU1rCMQ2QZgDs6LH6V2rLiHyw= X-Received: by 2002:a2e:3813:0:b0:279:9b88:384d with SMTP id f19-20020a2e3813000000b002799b88384dmr7163284lja.455.1669845695623; Wed, 30 Nov 2022 14:01:35 -0800 (PST) Received: from 567203818698 named unknown by gmailapi.google.com with HTTPREST; Wed, 30 Nov 2022 14:01:34 -0800 From: "Oliver Steffen" X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221130220125.1112760-1-osteffen@redhat.com> References: <20221130220125.1112760-1-osteffen@redhat.com> MIME-Version: 1.0 Date: Wed, 30 Nov 2022 14:01:34 -0800 Message-ID: Subject: [PATCH v9 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