← Back to team overview

canonical-hw-cert team mailing list archive

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

 

Jonathan Cave has proposed merging ~jocave/hwcert-jenkins-jobs:se30-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/434620

snap-track-map is needed so that when the snaps are reset to stable they do so against the correct track and not "latest"
-- 
Your team hwcert-jenkins is requested to review the proposed merge of ~jocave/hwcert-jenkins-jobs:se30-snap-track-map into hwcert-jenkins-jobs:master.
diff --git a/jobs/snap-testing/projects/austin.yaml b/jobs/snap-testing/projects/austin.yaml
index 75197ba..3c8d552 100644
--- a/jobs/snap-testing/projects/austin.yaml
+++ b/jobs/snap-testing/projects/austin.yaml
@@ -17,6 +17,11 @@
     custom_launcher:
       !include-raw-escape: jobs/snap-testing/launchers/client-cert-iot-ubuntucore-20-no-tpm2
     snap_reset_needed: True
+    extra_setup_cmds: |
+      declare -A snap_track_map
+              snap_track_map=( ["intel-kernel"]="20" ["pc"]="20" ["bluez"]="20" ["modem-manager"]="20" ["network-manager"]="20" )
+              # declare -A extra_snaps_channels
+              # extra_snaps_channels=( ["bluez"]="20/stable" ["modem-manager"]="20/stable" ["network-manager"]="20/stable" )
     jobs:
       - '{prefix}-{name}-{snap}-{track}-{channel}':
           snap: pc

References