summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Steffen <osteffen@redhat.com>2023-01-16 18:40:36 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-01-17 19:06:32 +0000
commit32c76a8cd45940674f1e7dab3db4ba8d03f04f48 (patch)
treef1040fe3118436cc25f53df3716c1978f2465d2a
parent7cddfae1e8b0731e19db531a163046e35393e3e9 (diff)
downloadedk2-32c76a8cd45940674f1e7dab3db4ba8d03f04f48.zip
edk2-32c76a8cd45940674f1e7dab3db4ba8d03f04f48.tar.gz
edk2-32c76a8cd45940674f1e7dab3db4ba8d03f04f48.tar.bz2
EmulatorPkg: CI: Use Fedora 35 container (Linux only)
Run the Linux jobs of the EmulatorPkg platform CI inside a container, in the same way the general CI does now. Make use of the default image specified in the defaults.yml template. Use Python from the container image, do not download at runtime. 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>
-rw-r--r--EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml
index a32c57d..3861457 100644
--- a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml
+++ b/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml
@@ -79,6 +79,8 @@ jobs:
pool:
vmImage: $(vm_image)
+ container: ${{ variables.default_linux_image }}
+
steps:
- template: ../../../.azurepipelines/templates/platform-build-run-steps.yml
parameters:
@@ -89,4 +91,4 @@ jobs:
build_file: $(Build.File)
build_flags: $(Build.Flags)
run_flags: $(Run.Flags)
- usePythonVersion: ${{ variables.default_python_version }}
+ usePythonVersion: '' # use Python from the container image