On Wed, Nov 30, 2022 at 9:39 PM Kinney, Michael D
<[email protected]> wrote:
>
> 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.

I'll set it to ubuntu-22.04.
Although the actual VM does not do much anymore except
spawning a container, which I would assume to "always" work.
But better be safe than sorry.

-Oliver

>
> Thanks,
>
> Mike
>
> > -----Original Message-----
> > From: [email protected] <[email protected]> On Behalf Of Oliver 
> > Steffen
> > Sent: Wednesday, November 30, 2022 12:01 PM
> > To: [email protected]
> > Cc: Andrew Fish <[email protected]>; Ard Biesheuvel 
> > <[email protected]>; Feng, Bob C <[email protected]>; Daniel
> > Schaefer <[email protected]>; Gerd Hoffmann <[email protected]>; Yao, 
> > Jiewen <[email protected]>; Justen, Jordan L
> > <[email protected]>; Leif Lindholm <[email protected]>; 
> > Gao, Liming <[email protected]>; Kinney,
> > Michael D <[email protected]>; Michael Kubacki 
> > <[email protected]>; Ni, Ray <[email protected]>; Sami
> > Mujawar <[email protected]>; Sean Brogan <[email protected]>; 
> > Sunil V L <[email protected]>; Chen,
> > Christine <[email protected]>; Liu, Zhiguang <[email protected]>; 
> > Pawel Polawski <[email protected]>; fernald,
> > chris <[email protected]>; Oliver Steffen <[email protected]>
> > 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 <[email protected]>
> > ---
> >  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 (#96766): https://edk2.groups.io/g/devel/message/96766
Mute This Topic: https://groups.io/mt/95366774/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to