]> git.proxmox.com Git - mirror_edk2.git/commit
CI: make Python version configurable
authorOliver Steffen <osteffen@redhat.com>
Mon, 16 Jan 2023 17:40:28 +0000 (18:40 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 17 Jan 2023 19:06:32 +0000 (19:06 +0000)
commit357955173463b0a3c884ef9b5a9e8370e3d46f9a
treed69106c5005af8c27be72d50d879a3c84b16f268
parent015a001b03db14f791476f817b8b125b195b6d10
CI: make Python version configurable

Add a new parameter "usePythonVersion" to the CI job templates.
This makes it possible to specify the version of Python to use.
The default value is '', in which case Python will not be downloaded
at runtime and the one provided by the VM/container image will be used.

Additionally, add a template .azurepipelines/templates/defaults.yml,
from which the default Pyhton version string can be obtained.

Signed-off-by: Oliver Steffen <osteffen@redhat.com>
Reviewed-by: Michael Kubacki <michael.kubacki@microsoft.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Chris Fernald <chfernal@microsoft.com>
.azurepipelines/Ubuntu-GCC5.yml
.azurepipelines/Windows-VS2019.yml
.azurepipelines/templates/defaults.yml [new file with mode: 0644]
.azurepipelines/templates/platform-build-run-steps.yml
.azurepipelines/templates/pr-gate-build-job.yml
.azurepipelines/templates/pr-gate-steps.yml