Allow dispatching livefs and snap builds based on LXD images
Bug #1811677 reported by
Colin Watson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Colin Watson | ||
launchpad-buildd |
Fix Released
|
High
|
Colin Watson |
Bug Description
At the moment, livefs and snap builds are dispatched using a base chroot image, which is then converted into a LXD image on the fly. This is inefficient, and it also makes it harder for snapcraft to run builds in the same way that Launchpad does.
Now that livecd-rootfs supports building buildd LXD images (only in disco as yet, but it can be backported), it should be practical to store both chroots and LXD images in Launchpad and dispatch builds using the appropriate type of image.
Related branches
lp:~cjwatson/launchpad-buildd/image-type
- William Grant (community): Approve (code)
-
Diff: 312 lines (+125/-22)10 files modifieddebian/changelog (+2/-0)
lpbuildd/slave.py (+4/-1)
lpbuildd/target/backend.py (+2/-2)
lpbuildd/target/chroot.py (+6/-3)
lpbuildd/target/lifecycle.py (+4/-2)
lpbuildd/target/lxd.py (+17/-10)
lpbuildd/target/tests/test_chroot.py (+1/-1)
lpbuildd/target/tests/test_lifecycle.py (+14/-1)
lpbuildd/target/tests/test_lxd.py (+48/-2)
lpbuildd/tests/test_debian.py (+27/-0)
lp:~cjwatson/launchpad/db-pocket-chroot-image-type
- William Grant (community): Approve (db)
- Stuart Bishop: Pending (db) requested
-
Diff: 19 lines (+15/-0)1 file modifieddatabase/schema/patch-2209-86-0.sql (+15/-0)
lp:~cjwatson/launchpad/pocket-chroot-image-type
- William Grant (community): Approve (code)
-
Diff: 593 lines (+247/-53)8 files modifiedlib/lp/buildmaster/enums.py (+12/-1)
lib/lp/buildmaster/interfaces/buildfarmjobbehaviour.py (+4/-0)
lib/lp/buildmaster/model/buildfarmjobbehaviour.py (+12/-2)
lib/lp/buildmaster/tests/test_buildfarmjobbehaviour.py (+88/-15)
lib/lp/soyuz/browser/tests/test_distroarchseries_webservice.py (+44/-0)
lib/lp/soyuz/interfaces/distroarchseries.py (+49/-18)
lib/lp/soyuz/model/distroarchseries.py (+36/-16)
lib/lp/soyuz/tests/test_binarypackagebuildbehaviour.py (+2/-1)
lp:~cjwatson/launchpad/dispatch-with-lxd-images
- William Grant (community): Approve (code)
-
Diff: 171 lines (+82/-4)4 files modifiedlib/lp/snappy/model/snapbuildbehaviour.py (+2/-0)
lib/lp/snappy/tests/test_snapbuildbehaviour.py (+39/-2)
lib/lp/soyuz/model/livefsbuildbehaviour.py (+2/-0)
lib/lp/soyuz/tests/test_livefsbuildbehaviour.py (+39/-2)
Changed in launchpad-buildd: | |
status: | New → Triaged |
importance: | Undecided → High |
status: | Triaged → In Progress |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in launchpad: | |
status: | Triaged → In Progress |
assignee: | nobody → Colin Watson (cjwatson) |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
r14011 in db-stable (http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ db-stable/ revision/ 14011) is part of this bug's fix.