[Bug 1887673] [NEW] Add support for building Ubuntu appliance images

Łukasz Zemczak 1887673 at bugs.launchpad.net
Wed Jul 15 14:12:51 UTC 2020


Public bug reported:

[Impact]

A while back, we have launched Ubuntu Appliances, a set of ubuntu-core
based appliance-based images for various use-cases. One can read more
about those here:

https://ubuntu.com/appliance

The first batch of appliances have been created with some local tooling.
This is counter-productive, as there will be more and more appliances
appearing in time. We want to support building and publishing of such
images via cdimage. For this, we need to add support for building such
images into livecd-rootfs.

To make the task of adding new appliances easier, we want to add support
for building arbitrarily named appliance images. The proposed change
adds a special appliance-<MODEL> wildcard SUBARCH, which results in
building an image of the specified model - additionally setting the
brand to ubuntu from the default canonical one.

[Test Case]

Once the package builds in -proposed, attempt a livefs ubuntu-core build
with SUBARCH=appliance-adguard-home-core18-amd64, make sure it succeeds.
Then launch another livefs ubuntu-core build with SUBARCH=appliance-
adguard-home-core18-pi, make sure it succeeds.

To make sure regular core builds are still working, check if -proposed
based bionic ubuntu-core and classic raspi images still build correctly.

[Regression Potential]

We need to make sure that regular ubuntu-core and preinstalled server
builds still work correctly, as this is where any regressions can be
seen. But we added a test case for that.

[Other Info]

Note to SRU members: this is a change very specific to bionic. I will
also push it to groovy later, but it basically only has an use-case in
bionic (uc18). When we switch appliances to uc20, we'll need to push
this to focal - but right now it makes no sense to have it there (and no
way to test it).

So I'd appreciate only accepting it for bionic.

** Affects: livecd-rootfs (Ubuntu)
     Importance: Critical
     Assignee: Łukasz Zemczak (sil2100)
         Status: Confirmed

** Affects: livecd-rootfs (Ubuntu Bionic)
     Importance: Critical
     Assignee: Łukasz Zemczak (sil2100)
         Status: In Progress

** Also affects: livecd-rootfs (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Description changed:

  [Impact]
  
  A while back, we have launched Ubuntu Appliances, a set of ubuntu-core
  based appliance-based images for various use-cases. One can read more
  about those here:
  
  https://ubuntu.com/appliance
  
  The first batch of appliances have been created with some local tooling.
  This is counter-productive, as there will be more and more appliances
  appearing in time. We want to support building and publishing of such
  images via cdimage. For this, we need to add support for building such
  images into livecd-rootfs.
  
  To make the task of adding new appliances easier, we want to add support
  for building arbitrarily named appliance images. The proposed change
  adds a special appliance-<MODEL> wildcard SUBARCH, which results in
  building an image of the specified model - additionally setting the
  brand to ubuntu from the default canonical one.
  
  [Test Case]
  
  Once the package builds in -proposed, attempt a livefs ubuntu-core build
  with SUBARCH=appliance-adguard-home-core18-amd64, make sure it succeeds.
  Then launch another livefs ubuntu-core build with SUBARCH=appliance-
  adguard-home-core18-pi, make sure it succeeds.
  
  To make sure regular core builds are still working, check if -proposed
  based bionic ubuntu-core and classic raspi images still build correctly.
  
  [Regression Potential]
  
  We need to make sure that regular ubuntu-core and preinstalled server
  builds still work correctly, as this is where any regressions can be
  seen. But we added a test case for that.
+ 
+ [Other Info]
+ 
+ Note to SRU members: this is a change very specific to bionic. I will
+ also push it to groovy later, but it basically only has an use-case in
+ bionic (uc18). When we switch appliances to uc20, we'll need to push
+ this to focal - but right now it makes no sense to have it there (and no
+ way to test it).
+ 
+ So I'd appreciate only accepting it for bionic.

** Changed in: livecd-rootfs (Ubuntu)
       Status: In Progress => Confirmed

** Changed in: livecd-rootfs (Ubuntu Bionic)
       Status: New => In Progress

** Changed in: livecd-rootfs (Ubuntu Bionic)
   Importance: Undecided => Critical

** Changed in: livecd-rootfs (Ubuntu Bionic)
     Assignee: (unassigned) => Łukasz Zemczak (sil2100)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1887673

Title:
  Add support for building Ubuntu appliance images

Status in livecd-rootfs package in Ubuntu:
  Confirmed
Status in livecd-rootfs source package in Bionic:
  In Progress

Bug description:
  [Impact]

  A while back, we have launched Ubuntu Appliances, a set of ubuntu-core
  based appliance-based images for various use-cases. One can read more
  about those here:

  https://ubuntu.com/appliance

  The first batch of appliances have been created with some local
  tooling. This is counter-productive, as there will be more and more
  appliances appearing in time. We want to support building and
  publishing of such images via cdimage. For this, we need to add
  support for building such images into livecd-rootfs.

  To make the task of adding new appliances easier, we want to add
  support for building arbitrarily named appliance images. The proposed
  change adds a special appliance-<MODEL> wildcard SUBARCH, which
  results in building an image of the specified model - additionally
  setting the brand to ubuntu from the default canonical one.

  [Test Case]

  Once the package builds in -proposed, attempt a livefs ubuntu-core
  build with SUBARCH=appliance-adguard-home-core18-amd64, make sure it
  succeeds. Then launch another livefs ubuntu-core build with SUBARCH
  =appliance-adguard-home-core18-pi, make sure it succeeds.

  To make sure regular core builds are still working, check if -proposed
  based bionic ubuntu-core and classic raspi images still build
  correctly.

  [Regression Potential]

  We need to make sure that regular ubuntu-core and preinstalled server
  builds still work correctly, as this is where any regressions can be
  seen. But we added a test case for that.

  [Other Info]

  Note to SRU members: this is a change very specific to bionic. I will
  also push it to groovy later, but it basically only has an use-case in
  bionic (uc18). When we switch appliances to uc20, we'll need to push
  this to focal - but right now it makes no sense to have it there (and
  no way to test it).

  So I'd appreciate only accepting it for bionic.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1887673/+subscriptions



More information about the foundations-bugs mailing list