Merge lp:~xnox/ubuntu-cdimage/uc20-dangerous into lp:ubuntu-cdimage

Proposed by Dimitri John Ledkov
Status: Merged
Approved by: Łukasz Zemczak
Approved revision: 1862
Merged at revision: 1862
Proposed branch: lp:~xnox/ubuntu-cdimage/uc20-dangerous
Merge into: lp:ubuntu-cdimage
Diff against target: 11 lines (+1/-0)
1 file modified
etc/crontab (+1/-0)
To merge this branch: bzr merge lp:~xnox/ubuntu-cdimage/uc20-dangerous
Reviewer Review Type Date Requested Status
Łukasz Zemczak Approve
Review via email: mp+383033@code.launchpad.net

Commit message

uc20: build grade-dangerous images too

Currently, test-lab can only use `grade: dangerous` UC20 images for x86 provisioning, due to requirement for unrestricted access to cloud-init which is currently not available for `grade: signed` models. Dangerous is not a channel, per-se, but a model that allows overriding channels at build time, but for the purpose of cdimage/livecd-rootfs we treat it as just another risk level.

Description of the change

uc20: build grade-dangerous images too

Currently, test-lab can only use `grade: dangerous` UC20 images for x86 provisioning, due to requirement for unrestricted access to cloud-init which is currently not available for `grade: signed` models. Dangerous is not a channel, per-se, but a model that allows overriding channels at build time, but for the purpose of cdimage/livecd-rootfs we treat it as just another risk level.

To post a comment you must log in.
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

At first I was wondering where the dangerous channel handling is happening, but then xnox reminded me that he's translating CHANNEL into the model name, to switch to a different model (with a different grade). All good.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'etc/crontab'
2--- etc/crontab 2020-04-27 14:15:32 +0000
3+++ etc/crontab 2020-04-27 23:32:47 +0000
4@@ -13,6 +13,7 @@
5 33 8 * * * DIST=bionic for-project ubuntu-core cron.daily-live --live
6 33 9 * * * DIST=bionic CHANNEL=beta for-project ubuntu-core cron.daily-live --live
7 # core20 daily builds
8+36 7 * * * EXTRA_PPAS=snappy-dev/image DIST=focal CHANNEL=dangerous for-project ubuntu-core cron.daily-live --live
9 36 8 * * * EXTRA_PPAS=snappy-dev/image DIST=focal for-project ubuntu-core cron.daily-live --live
10 36 9 * * * EXTRA_PPAS=snappy-dev/image DIST=focal CHANNEL=beta for-project ubuntu-core cron.daily-live --live
11 # bionic daily builds

Subscribers

People subscribed via source and target branches