I know we have run into issues before when using ubuntu-latest when
a change was made to the latest image that broke CI.

I would prefer to always set this to a specific version, so we can 
choose to move to a newer one with a PR that can run through CI.

I am ok with selecting the highest version available that matches
current ubuntu-latest version number.

Thanks,

Mike

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Oliver Steffen
> Sent: Wednesday, November 30, 2022 12:01 PM
> To: devel@edk2.groups.io
> Cc: Andrew Fish <af...@apple.com>; Ard Biesheuvel 
> <ardb+tianoc...@kernel.org>; Feng, Bob C <bob.c.f...@intel.com>; Daniel
> Schaefer <g...@danielschaefer.me>; Gerd Hoffmann <kra...@redhat.com>; Yao, 
> Jiewen <jiewen....@intel.com>; Justen, Jordan L
> <jordan.l.jus...@intel.com>; Leif Lindholm <quic_llind...@quicinc.com>; Gao, 
> Liming <gaolim...@byosoft.com.cn>; Kinney,
> Michael D <michael.d.kin...@intel.com>; Michael Kubacki 
> <mikub...@linux.microsoft.com>; Ni, Ray <ray...@intel.com>; Sami
> Mujawar <sami.muja...@arm.com>; Sean Brogan <sean.bro...@microsoft.com>; 
> Sunil V L <suni...@ventanamicro.com>; Chen,
> Christine <yuwei.c...@intel.com>; Liu, Zhiguang <zhiguang....@intel.com>; 
> Pawel Polawski <ppola...@redhat.com>; fernald,
> chris <chfer...@microsoft.com>; Oliver Steffen <ostef...@redhat.com>
> Subject: [edk2-devel] [PATCH v8 12/12] CI: use latest vm_image (Linux only)
> 
> Switch over to `ubuntu-latest` as the vm_image for Linux
> CI jobs (EmulatorPkg, ArmVirtPkg, OvmfPkg).
> The previously used ubuntu-18.04 will not be available
> after Dec 1st 2022.
> 
> Signed-off-by: Oliver Steffen <ostef...@redhat.com>
> ---
>  ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml  | 2 +-
>  EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 2 +-
>  OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml     | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml
> b/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml
> index 6d75502b5628..f7844229e60c 100644
> --- a/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml
> +++ b/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml
> @@ -19,7 +19,7 @@ jobs:
>    - job: Platform_CI
>      variables:
>        package: 'ArmVirtPkg'
> -      vm_image: 'ubuntu-18.04'
> +      vm_image: 'ubuntu-latest'
>        should_run: true
>        run_flags: "MAKE_STARTUP_NSH=TRUE QEMU_HEADLESS=TRUE"
> 
> diff --git a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml
> b/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml
> index e58bb5b55245..3124de6634b2 100644
> --- a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml
> +++ b/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml
> @@ -19,7 +19,7 @@ jobs:
>    - job: Platform_CI
>      variables:
>        package: 'EmulatorPkg'
> -      vm_image: 'ubuntu-18.04'
> +      vm_image: 'ubuntu-latest'
>        should_run: false
>        run_flags: "MAKE_STARTUP_NSH=TRUE"
> 
> diff --git a/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml
> b/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml
> index 984782aa7d19..831b0eb254b4 100644
> --- a/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml
> +++ b/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml
> @@ -19,7 +19,7 @@ jobs:
>    - job: Platform_CI
>      variables:
>        package: 'OvmfPkg'
> -      vm_image: 'ubuntu-18.04'
> +      vm_image: 'ubuntu-latest'
>        should_run: true
>        run_flags: "MAKE_STARTUP_NSH=TRUE QEMU_HEADLESS=TRUE"
> 
> --
> 2.38.1
> 
> 
> 
> 
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#96760): https://edk2.groups.io/g/devel/message/96760
Mute This Topic: https://groups.io/mt/95366774/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to