← Back to team overview

canonical-hw-cert team mailing list archive

[Merge] ~jocave/hwcert-jenkins-jobs:katy-snap-track-map into hwcert-jenkins-jobs:master

 

Jonathan Cave has proposed merging ~jocave/hwcert-jenkins-jobs:katy-snap-track-map into hwcert-jenkins-jobs:master.

Requested reviews:
  hwcert-jenkins (hwcert-jenkins)

For more details, see:
https://code.launchpad.net/~jocave/hwcert-jenkins-jobs/+git/hwcert-jenkins-jobs/+merge/436202

Setup a snap-track-map for the iot-kernel snap on the katy device so it refreshes correctly 
-- 
Your team hwcert-jenkins is requested to review the proposed merge of ~jocave/hwcert-jenkins-jobs:katy-snap-track-map into hwcert-jenkins-jobs:master.
diff --git a/jobs/snap-testing/projects/katy.yaml b/jobs/snap-testing/projects/katy.yaml
index 19b714c..455304f 100644
--- a/jobs/snap-testing/projects/katy.yaml
+++ b/jobs/snap-testing/projects/katy.yaml
@@ -9,8 +9,10 @@
     provision_data: |
       provision_data:
             distro: core20-latest-stable
-    extra_setup_cmds:
-        _run sudo snap install bluez --channel=latest/stable
+    extra_snaps: bluez
+    extra_setup_cmds: |
+      declare -A snap_track_map
+              snap_track_map=( ["iot-kernel"]="20" )
     custom_launcher:
         !include-raw-escape: jobs/snap-testing/launchers/katy-automated
     has-serial-assertion: False

Follow ups