[edk2-devel] [PATCH v11 10/17] OvmfPkg: CI: Use Fedora 35 container (Linux only)

Yao, Jiewen jiewen.yao at intel.com
Tue Jan 17 00:14:47 UTC 2023


Acked-by: Jiewen Yao <Jiewen.yao at intel.com>

> -----Original Message-----
> From: devel at edk2.groups.io <devel at edk2.groups.io> On Behalf Of Oliver
> Steffen
> Sent: Tuesday, January 17, 2023 1:41 AM
> To: devel at edk2.groups.io
> Cc: Andrew Fish <afish at apple.com>; Ard Biesheuvel
> <ardb+tianocore at kernel.org>; Feng, Bob C <bob.c.feng at intel.com>; Bi,
> Dandan <dandan.bi at intel.com>; Gerd Hoffmann <kraxel at redhat.com>;
> Wang, Jian J <jian.j.wang at intel.com>; Yao, Jiewen <jiewen.yao at intel.com>;
> Justen, Jordan L <jordan.l.justen at intel.com>; Leif Lindholm
> <quic_llindhol at quicinc.com>; Gao, Liming <gaoliming at byosoft.com.cn>;
> Kinney, Michael D <michael.d.kinney at intel.com>; Michael Kubacki
> <mikuback at linux.microsoft.com>; Ni, Ray <ray.ni at intel.com>; Sami
> Mujawar <sami.mujawar at arm.com>; Sean Brogan
> <sean.brogan at microsoft.com>; Chen, Christine <yuwei.chen at intel.com>;
> Pawel Polawski <ppolawsk at redhat.com>; chris.fernald at outlook.com; Oliver
> Steffen <osteffen at redhat.com>
> Subject: [edk2-devel] [PATCH v11 10/17] OvmfPkg: CI: Use Fedora 35
> container (Linux only)
> 
> Run the Linux jobs of the OvmfPkg 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.
> 
> Do not run apt-get in CI jobs to install qemu and gcc dependencies.
> Assume the container image provides these.
> 
> Use Python from the container image, do not download at runtime.
> 
> Signed-off-by: Oliver Steffen <osteffen at redhat.com>
> ---
>  OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 8 +++-----
>  1 file changed, 3 insertions(+), 5 deletions(-)
> 
> diff --git a/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml
> b/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml
> index 6dd90711ac70..85be431ca5e7 100644
> --- a/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml
> +++ b/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml
> @@ -180,6 +180,8 @@ jobs:
>      pool:
>        vmImage: $(vm_image)
> 
> +    container: ${{ variables.default_linux_image }}
> +
>      steps:
>      - template: ../../../.azurepipelines/templates/platform-build-run-
> steps.yml
>        parameters:
> @@ -190,8 +192,4 @@ jobs:
>          build_file: $(Build.File)
>          build_flags: $(Build.Flags)
>          run_flags: $(Run.Flags)
> -        usePythonVersion: ${{ variables.default_python_version }}
> -        extra_install_step:
> -        - bash: sudo apt-get install qemu
> -          displayName: Install qemu
> -          condition: and(gt(variables.pkg_count, 0), succeeded())
> +        usePythonVersion: '' # use Python from the container image
> --
> 2.39.0
> 
> 
> 
> 
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#98619): https://edk2.groups.io/g/devel/message/98619
Mute This Topic: https://groups.io/mt/96311848/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list