Enable passing version information to livefs builds

Bug #1496074 reported by Dan Watkins on 2015-09-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
High
Colin Watson

Bug Description

Ubuntu cloud images contain a file (/etc/cloud/build.info) that identifies the serial of the build. This is useful for debugging etc.

In order to fully build cloud images using Launchpad buildds, we need some way of injecting this value in to the live-build process via the livefs.requestBuild API.

Related branches

Colin Watson (cjwatson) wrote :

I think the most sensible approach here would be to add a LiveFSBuild.version column and allow that to be optionally set in LiveFS.requestBuild, overriding the default timestamp-based one (that version is informational from LP's point of view, so we don't have to enforce uniqueness or anything). The LiveFSBuild.version property is already passed to the build, so the rest will just work from there.

tags: added: soyuz-build trivial
Changed in launchpad:
status: New → Triaged
importance: Undecided → High
Colin Watson (cjwatson) on 2015-09-15
Changed in launchpad:
assignee: nobody → Colin Watson (cjwatson)
status: Triaged → In Progress
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Colin Watson (cjwatson) wrote :

2015-09-16 17:41:55,820 INFO 2209-56-2 applied just now in 0.1 seconds

tags: added: qa-ok
removed: qa-needstesting
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Changed in launchpad:
status: In Progress → Fix Committed
Colin Watson (cjwatson) on 2015-09-17
tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant) on 2015-09-18
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers