← Back to team overview

canonical-hw-cert team mailing list archive

[Merge] ~jocave/hwcert-jenkins-jobs:bluez-uc22-snap-testing into hwcert-jenkins-jobs:master

 

Jonathan Cave has proposed merging ~jocave/hwcert-jenkins-jobs:bluez-uc22-snap-testing 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/426956

Addition of bluez test jobs for the 22 track on UC22
-- 
Your team hwcert-jenkins is requested to review the proposed merge of ~jocave/hwcert-jenkins-jobs:bluez-uc22-snap-testing into hwcert-jenkins-jobs:master.
diff --git a/jobs/snap-testing/projects/cm4l-arm64.yaml b/jobs/snap-testing/projects/cm4l-arm64.yaml
index 6d8b02d..62f5910 100644
--- a/jobs/snap-testing/projects/cm4l-arm64.yaml
+++ b/jobs/snap-testing/projects/cm4l-arm64.yaml
@@ -164,6 +164,16 @@
             declare -A extra_snaps_channels
                     extra_snaps_channels=( ["bluez"]="22/stable" )
           checkbox_channel: beta
+      - '{prefix}-{name}-{snap}-{track}-{channel}':
+          snap: bluez
+          extra_snaps: pi-bluetooth
+          track: 22
+          checkbox_track: 'uc22'
+          provision_data: |
+            provision_data:
+                  url: http://cdimage.ubuntu.com/ubuntu-core/22/dangerous-stable/pending/ubuntu-core-22-arm64+raspi.img.xz
+          custom_launcher:
+            !include-raw-escape: jobs/snap-testing/launchers/bluez-desktop
 
 - project:
     name: cm4l-arm64-focal
diff --git a/jobs/snap-testing/projects/cm4l-armhf.yaml b/jobs/snap-testing/projects/cm4l-armhf.yaml
index c539e6b..9310c88 100644
--- a/jobs/snap-testing/projects/cm4l-armhf.yaml
+++ b/jobs/snap-testing/projects/cm4l-armhf.yaml
@@ -154,6 +154,16 @@
           extra_setup_cmds: |
             declare -A extra_snaps_channels
                     extra_snaps_channels=( ["bluez"]="20/stable" )
+      - '{prefix}-{name}-{snap}-{track}-{channel}':
+          snap: bluez
+          extra_snaps: pi-bluetooth
+          track: 22
+          checkbox_track: 'uc22'
+          provision_data: |
+            provision_data:
+                  url: http://cdimage.ubuntu.com/ubuntu-core/22/dangerous-stable/pending/ubuntu-core-22-armhf+raspi.img.xz
+          custom_launcher:
+            !include-raw-escape: jobs/snap-testing/launchers/bluez-desktop
 
 - project:
     name: cm4l-armhf-focal
diff --git a/jobs/snap-testing/projects/dawson-i.yaml b/jobs/snap-testing/projects/dawson-i.yaml
index b4c9640..1bbc613 100644
--- a/jobs/snap-testing/projects/dawson-i.yaml
+++ b/jobs/snap-testing/projects/dawson-i.yaml
@@ -102,6 +102,13 @@
                     extra_snaps_channels=( ["bluez"]="20/stable" )
           post_setup_cmds: |
             sudo DEBIAN_FRONTEND=noninteractive apt-get -qq install -y checkbox-ng
+      - '{prefix}-{name}-{snap}-{channel}':
+          snap: bluez
+          track: 22
+          checkbox_track: 'uc22'
+          provision_data: |
+            provision_data:
+                  distro: core22-latest
 
 - project:
     name: dawson-i-stress-ng
diff --git a/jobs/snap-testing/projects/dawson-j.yaml b/jobs/snap-testing/projects/dawson-j.yaml
index e276f8a..0c406ed 100644
--- a/jobs/snap-testing/projects/dawson-j.yaml
+++ b/jobs/snap-testing/projects/dawson-j.yaml
@@ -161,3 +161,10 @@
                     extra_snaps_channels=( ["bluez"]="20/stable" )
           post_setup_cmds: |
             sudo DEBIAN_FRONTEND=noninteractive apt-get -qq install -y checkbox-ng
+      - '{prefix}-{name}-{snap}-{channel}':
+          snap: bluez
+          track: 22
+          checkbox_track: 'uc22'
+          provision_data: |
+            provision_data:
+                  distro: core22-latest
diff --git a/jobs/snap-testing/projects/rpi3bplus-arm64.yaml b/jobs/snap-testing/projects/rpi3bplus-arm64.yaml
index f6a656f..409987a 100644
--- a/jobs/snap-testing/projects/rpi3bplus-arm64.yaml
+++ b/jobs/snap-testing/projects/rpi3bplus-arm64.yaml
@@ -176,3 +176,16 @@
             declare -A extra_snaps_channels
                     extra_snaps_channels=( ["bluez"]="22/stable" )
           checkbox_channel: beta
+      - '{prefix}-{name}-{snap}-{track}-{channel}':
+          snap: bluez
+          extra_snaps: pi-bluetooth
+          track: 22
+          checkbox_track: 'uc22'
+          provision_data: |
+            provision_data:
+                  url: http://cdimage.ubuntu.com/ubuntu-core/22/dangerous-stable/pending/ubuntu-core-22-arm64+raspi.img.xz
+          custom_launcher:
+            !include-raw-escape: jobs/snap-testing/launchers/bluez-desktop
+          extra_setup_cmds: |
+            declare -A snap_track_map
+                    snap_track_map=( ["pi"]="22" ["pi-kernel"]="22" ["network-manager"]="22" )
diff --git a/jobs/snap-testing/projects/rpi3bplus-armhf.yaml b/jobs/snap-testing/projects/rpi3bplus-armhf.yaml
index ffec12e..2245d50 100644
--- a/jobs/snap-testing/projects/rpi3bplus-armhf.yaml
+++ b/jobs/snap-testing/projects/rpi3bplus-armhf.yaml
@@ -338,6 +338,19 @@
             _run sudo reboot
                     wait_for_ssh
                     sudo DEBIAN_FRONTEND=noninteractive apt-get -qq install -y checkbox-ng
+      - '{prefix}-{name}-{snap}-{track}-{channel}':
+          snap: bluez
+          extra_snaps: pi-bluetooth
+          track: 22
+          checkbox_track: 'uc22'
+          provision_data: |
+            provision_data:
+                  url: http://cdimage.ubuntu.com/ubuntu-core/22/dangerous-stable/pending/ubuntu-core-22-armhf+raspi.img.xz
+          custom_launcher:
+            !include-raw-escape: jobs/snap-testing/launchers/bluez-desktop
+          extra_setup_cmds: |
+            declare -A snap_track_map
+                    snap_track_map=( ["pi"]="22" ["pi-kernel"]="22" ["network-manager"]="22" )
 
 - project:
     name: rpi3bplus-armhf-bionic
diff --git a/jobs/snap-testing/projects/rpi400-arm64.yaml b/jobs/snap-testing/projects/rpi400-arm64.yaml
index 582f9c3..f28f4b2 100644
--- a/jobs/snap-testing/projects/rpi400-arm64.yaml
+++ b/jobs/snap-testing/projects/rpi400-arm64.yaml
@@ -244,3 +244,16 @@
             _run sudo reboot
                     wait_for_ssh
                     sudo DEBIAN_FRONTEND=noninteractive apt-get -qq install -y checkbox-ng
+      - '{prefix}-{name}-{snap}-{track}-{channel}':
+          snap: bluez
+          extra_snaps: pi-bluetooth
+          track: 22
+          checkbox_track: 'uc22'
+          provision_data: |
+            provision_data:
+                  url: http://cdimage.ubuntu.com/ubuntu-core/22/dangerous-stable/pending/ubuntu-core-22-arm64+raspi.img.xz
+          custom_launcher:
+            !include-raw-escape: jobs/snap-testing/launchers/bluez-desktop
+          extra_setup_cmds: |
+            declare -A snap_track_map
+                    snap_track_map=( ["pi"]="22" ["pi-kernel"]="22" ["network-manager"]="22" )
diff --git a/jobs/snap-testing/projects/rpi400-armhf.yaml b/jobs/snap-testing/projects/rpi400-armhf.yaml
index 2b6acc2..26716f7 100644
--- a/jobs/snap-testing/projects/rpi400-armhf.yaml
+++ b/jobs/snap-testing/projects/rpi400-armhf.yaml
@@ -199,3 +199,16 @@
             declare -A extra_snaps_channels
                     extra_snaps_channels=( ["bluez"]="22/stable" )
           checkbox_channel: beta
+      - '{prefix}-{name}-{snap}-{track}-{channel}':
+          snap: bluez
+          extra_snaps: pi-bluetooth
+          track: 22
+          checkbox_track: 'uc22'
+          provision_data: |
+            provision_data:
+                  url: http://cdimage.ubuntu.com/ubuntu-core/22/dangerous-stable/pending/ubuntu-core-22-armhf+raspi.img.xz
+          custom_launcher:
+            !include-raw-escape: jobs/snap-testing/launchers/bluez-desktop
+          extra_setup_cmds: |
+            declare -A snap_track_map
+                    snap_track_map=( ["pi"]="22" ["pi-kernel"]="22" ["network-manager"]="22" )
diff --git a/jobs/snap-testing/projects/rpi4b1g-arm64.yaml b/jobs/snap-testing/projects/rpi4b1g-arm64.yaml
index bafa56c..1edc4e3 100644
--- a/jobs/snap-testing/projects/rpi4b1g-arm64.yaml
+++ b/jobs/snap-testing/projects/rpi4b1g-arm64.yaml
@@ -167,3 +167,16 @@
             declare -A extra_snaps_channels
                     extra_snaps_channels=( ["bluez"]="22/stable" )
           checkbox_channel: beta
+      - '{prefix}-{name}-{snap}-{track}-{channel}':
+          snap: bluez
+          extra_snaps: pi-bluetooth
+          track: 22
+          checkbox_track: 'uc22'
+          provision_data: |
+            provision_data:
+                  url: http://cdimage.ubuntu.com/ubuntu-core/22/dangerous-stable/pending/ubuntu-core-22-arm64+raspi.img.xz
+          custom_launcher:
+            !include-raw-escape: jobs/snap-testing/launchers/bluez-desktop
+          extra_setup_cmds: |
+            declare -A snap_track_map
+                    snap_track_map=( ["pi"]="22" ["pi-kernel"]="22" ["network-manager"]="22" )
diff --git a/jobs/snap-testing/projects/rpi4b1g-armhf.yaml b/jobs/snap-testing/projects/rpi4b1g-armhf.yaml
index f731ec9..76a0afa 100644
--- a/jobs/snap-testing/projects/rpi4b1g-armhf.yaml
+++ b/jobs/snap-testing/projects/rpi4b1g-armhf.yaml
@@ -230,3 +230,16 @@
             declare -A extra_snaps_channels
                     extra_snaps_channels=( ["bluez"]="22/stable" )
           checkbox_channel: beta
+      - '{prefix}-{name}-{snap}-{track}-{channel}':
+          snap: bluez
+          extra_snaps: pi-bluetooth
+          track: 22
+          checkbox_track: 'uc22'
+          provision_data: |
+            provision_data:
+                  url: http://cdimage.ubuntu.com/ubuntu-core/22/dangerous-stable/pending/ubuntu-core-22-armhf+raspi.img.xz
+          custom_launcher:
+            !include-raw-escape: jobs/snap-testing/launchers/bluez-desktop
+          extra_setup_cmds: |
+            declare -A snap_track_map
+                    snap_track_map=( ["pi"]="22" ["pi-kernel"]="22" ["network-manager"]="22" )
diff --git a/jobs/snap-testing/projects/rpi4b2g-arm64.yaml b/jobs/snap-testing/projects/rpi4b2g-arm64.yaml
index 916128f..e5d93b1 100644
--- a/jobs/snap-testing/projects/rpi4b2g-arm64.yaml
+++ b/jobs/snap-testing/projects/rpi4b2g-arm64.yaml
@@ -180,3 +180,16 @@
             declare -A extra_snaps_channels
                     extra_snaps_channels=( ["bluez"]="22/stable" )
           checkbox_channel: beta
+      - '{prefix}-{name}-{snap}-{track}-{channel}':
+          snap: bluez
+          extra_snaps: pi-bluetooth
+          track: 22
+          checkbox_track: 'uc22'
+          provision_data: |
+            provision_data:
+                  url: http://cdimage.ubuntu.com/ubuntu-core/22/dangerous-stable/pending/ubuntu-core-22-arm64+raspi.img.xz
+          custom_launcher:
+            !include-raw-escape: jobs/snap-testing/launchers/bluez-desktop
+          extra_setup_cmds: |
+            declare -A snap_track_map
+                    snap_track_map=( ["pi"]="22" ["pi-kernel"]="22" ["network-manager"]="22" )
\ No newline at end of file
diff --git a/jobs/snap-testing/projects/rpi4b2g-armhf.yaml b/jobs/snap-testing/projects/rpi4b2g-armhf.yaml
index 8ebccef..20942f4 100644
--- a/jobs/snap-testing/projects/rpi4b2g-armhf.yaml
+++ b/jobs/snap-testing/projects/rpi4b2g-armhf.yaml
@@ -245,3 +245,16 @@
             declare -A extra_snaps_channels
                     extra_snaps_channels=( ["bluez"]="22/stable" )
           checkbox_channel: beta
+      - '{prefix}-{name}-{snap}-{track}-{channel}':
+          snap: bluez
+          extra_snaps: pi-bluetooth
+          track: 22
+          checkbox_track: 'uc22'
+          provision_data: |
+            provision_data:
+                  url: http://cdimage.ubuntu.com/ubuntu-core/22/dangerous-stable/pending/ubuntu-core-22-armhf+raspi.img.xz
+          custom_launcher:
+            !include-raw-escape: jobs/snap-testing/launchers/bluez-desktop
+          extra_setup_cmds: |
+            declare -A snap_track_map
+                    snap_track_map=( ["pi"]="22" ["pi-kernel"]="22" ["network-manager"]="22" )
diff --git a/jobs/snap-testing/projects/rpi4b4g-arm64.yaml b/jobs/snap-testing/projects/rpi4b4g-arm64.yaml
index eab54c4..1b3e10d 100644
--- a/jobs/snap-testing/projects/rpi4b4g-arm64.yaml
+++ b/jobs/snap-testing/projects/rpi4b4g-arm64.yaml
@@ -221,6 +221,19 @@
             declare -A extra_snaps_channels
                     extra_snaps_channels=( ["bluez"]="22/stable" )
           checkbox_channel: beta
+      - '{prefix}-{name}-{snap}-{track}-{channel}':
+          snap: bluez
+          extra_snaps: pi-bluetooth
+          track: 22
+          checkbox_track: 'uc22'
+          provision_data: |
+            provision_data:
+                  url: http://cdimage.ubuntu.com/ubuntu-core/22/dangerous-stable/pending/ubuntu-core-22-arm64+raspi.img.xz
+          custom_launcher:
+            !include-raw-escape: jobs/snap-testing/launchers/bluez-desktop
+          extra_setup_cmds: |
+            declare -A snap_track_map
+                    snap_track_map=( ["pi"]="22" ["pi-kernel"]="22" ["network-manager"]="22" )
 
 - project:
     name: rpi4b4g-arm64-edgex
diff --git a/jobs/snap-testing/projects/rpi4b4g-armhf.yaml b/jobs/snap-testing/projects/rpi4b4g-armhf.yaml
index 330ae78..dbd151f 100644
--- a/jobs/snap-testing/projects/rpi4b4g-armhf.yaml
+++ b/jobs/snap-testing/projects/rpi4b4g-armhf.yaml
@@ -310,3 +310,16 @@
           queue: cert-rpi4b4g-cs
           manifest:
             !include-raw-escape: jobs/snap-testing/manifests/rpi4b4g_camera_manifest.conf
+      - '{prefix}-{name}-{snap}-{track}-{channel}':
+          snap: bluez
+          extra_snaps: pi-bluetooth
+          track: 22
+          checkbox_track: 'uc22'
+          provision_data: |
+            provision_data:
+                  url: http://cdimage.ubuntu.com/ubuntu-core/22/dangerous-stable/pending/ubuntu-core-22-armhf+raspi.img.xz
+          custom_launcher:
+            !include-raw-escape: jobs/snap-testing/launchers/bluez-desktop
+          extra_setup_cmds: |
+            declare -A snap_track_map
+                    snap_track_map=( ["pi"]="22" ["pi-kernel"]="22" ["network-manager"]="22" )
diff --git a/jobs/snap-testing/projects/rpi4b8g-arm64.yaml b/jobs/snap-testing/projects/rpi4b8g-arm64.yaml
index 01f4fc4..f7f917d 100644
--- a/jobs/snap-testing/projects/rpi4b8g-arm64.yaml
+++ b/jobs/snap-testing/projects/rpi4b8g-arm64.yaml
@@ -260,6 +260,19 @@
             _run sudo reboot
                     wait_for_ssh
                     sudo DEBIAN_FRONTEND=noninteractive apt-get -qq install -y checkbox-ng
+      - '{prefix}-{name}-{snap}-{track}-{channel}':
+          snap: bluez
+          extra_snaps: pi-bluetooth
+          track: 22
+          checkbox_track: 'uc22'
+          provision_data: |
+            provision_data:
+                  url: http://cdimage.ubuntu.com/ubuntu-core/22/dangerous-stable/pending/ubuntu-core-22-arm64+raspi.img.xz
+          custom_launcher:
+            !include-raw-escape: jobs/snap-testing/launchers/bluez-desktop
+          extra_setup_cmds: |
+            declare -A snap_track_map
+                    snap_track_map=( ["pi"]="22" ["pi-kernel"]="22" ["network-manager"]="22" )
 
 - project:
     name: rpi4b8g-arm64-bionic
diff --git a/jobs/snap-testing/projects/rpi4b8g-armhf.yaml b/jobs/snap-testing/projects/rpi4b8g-armhf.yaml
index be5d537..f62c575 100644
--- a/jobs/snap-testing/projects/rpi4b8g-armhf.yaml
+++ b/jobs/snap-testing/projects/rpi4b8g-armhf.yaml
@@ -264,3 +264,16 @@
             declare -A extra_snaps_channels
                     extra_snaps_channels=( ["bluez"]="22/stable" )
           checkbox_channel: beta
+      - '{prefix}-{name}-{snap}-{track}-{channel}':
+          snap: bluez
+          extra_snaps: pi-bluetooth
+          track: 22
+          checkbox_track: 'uc22'
+          provision_data: |
+            provision_data:
+                  url: http://cdimage.ubuntu.com/ubuntu-core/22/dangerous-stable/pending/ubuntu-core-22-armhf+raspi.img.xz
+          custom_launcher:
+            !include-raw-escape: jobs/snap-testing/launchers/bluez-desktop
+          extra_setup_cmds: |
+            declare -A snap_track_map
+                    snap_track_map=( ["pi"]="22" ["pi-kernel"]="22" ["network-manager"]="22" )
diff --git a/jobs/snap-testing/projects/rpiz2-arm64.yaml b/jobs/snap-testing/projects/rpiz2-arm64.yaml
index 9a0dc02..690357f 100644
--- a/jobs/snap-testing/projects/rpiz2-arm64.yaml
+++ b/jobs/snap-testing/projects/rpiz2-arm64.yaml
@@ -52,3 +52,16 @@
             declare -A extra_snaps_channels
                     extra_snaps_channels=( ["bluez"]="22/stable" )
           checkbox_channel: beta
+      - '{prefix}-{name}-{snap}-{track}-{channel}':
+          snap: bluez
+          extra_snaps: pi-bluetooth
+          track: 22
+          checkbox_track: 'uc22'
+          provision_data: |
+            provision_data:
+                  url: http://cdimage.ubuntu.com/ubuntu-core/22/dangerous-stable/pending/ubuntu-core-22-arm64+raspi.img.xz
+          custom_launcher:
+            !include-raw-escape: jobs/snap-testing/launchers/bluez-desktop
+          extra_setup_cmds: |
+            declare -A snap_track_map
+                    snap_track_map=( ["pi"]="22" ["pi-kernel"]="22" ["network-manager"]="22" )
diff --git a/jobs/snap-testing/projects/rpiz2-armhf.yaml b/jobs/snap-testing/projects/rpiz2-armhf.yaml
index 7174aa3..b3e84d5 100644
--- a/jobs/snap-testing/projects/rpiz2-armhf.yaml
+++ b/jobs/snap-testing/projects/rpiz2-armhf.yaml
@@ -52,3 +52,16 @@
             declare -A extra_snaps_channels
                     extra_snaps_channels=( ["bluez"]="22/stable" )
           checkbox_channel: beta
+      - '{prefix}-{name}-{snap}-{track}-{channel}':
+          snap: bluez
+          extra_snaps: pi-bluetooth
+          track: 22
+          checkbox_track: 'uc22'
+          provision_data: |
+            provision_data:
+                  url: http://cdimage.ubuntu.com/ubuntu-core/22/dangerous-stable/pending/ubuntu-core-22-armhf+raspi.img.xz
+          custom_launcher:
+            !include-raw-escape: jobs/snap-testing/launchers/bluez-desktop
+          extra_setup_cmds: |
+            declare -A snap_track_map
+                    snap_track_map=( ["pi"]="22" ["pi-kernel"]="22" ["network-manager"]="22" )

Follow ups