Do use a separate matrix for testmachines
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Wed, 20 Jan 2021 15:03:03 +0000 (16:03 +0100)
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>
Wed, 20 Jan 2021 15:03:29 +0000 (16:03 +0100)
This enables NxM (build x test) machines.

Bug-AGL: SPEC-3714
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I651e2c25d86a3052d1fd10c78aa4ddd5f36bad2e

jjb/ci-AGL-verify/ci-platform-jjb.yaml

index 59154c4..333fbe9 100644 (file)
@@ -8,6 +8,14 @@
       - qemuarm
       - qemuarm64
       - raspberrypi4
+    testmachine:
+      - h3ulcb-nogfx
+      - qemux86-64
+      - qemuarm
+      - qemuarm64
+      - raspberrypi4
+      - upsquare
+      - r8a7795-agl-refhw
     project:
       - meta-agl
       - meta-agl-demo
@@ -22,7 +30,7 @@
       - ci-platform-{project}-verify-CIB-finish-success
       - ci-platform-{project}-verify-failure
       # - ci-platform-{project}-verify-CIBT-start            #unused
-      - ci-platform-{project}-verify-CIBT-{machine}
+      - ci-platform-{project}-verify-CIBT-{testmachine}
       - ci-platform-{project}-verify-CIBT-complete
       - ci-platform-{project}-verify-CIBT-finish-success
       - ci-platform-{project}-remove-artifacts
               current-parameters: true
               #abort-all-job: true
               kill-phase-on: NEVER
+            - name: 'ci-platform-{project}-verify-CIBT-upsquare'
+              current-parameters: true
+              #abort-all-job: true
+              kill-phase-on: NEVER
+            - name: 'ci-platform-{project}-verify-CIBT-r8a7795-agl-refhw'
+              current-parameters: true
+              #abort-all-job: true
+              kill-phase-on: NEVER
       - multijob:
           name: 'CIBT-{project}-complete'
           condition: ALWAYS
 # -verify-CIBT-{machine} = CI BOOT TEST on machine
 ################################################################################
 - job-template:
-    name: 'ci-platform-{project}-verify-CIBT-{machine}'
+    name: 'ci-platform-{project}-verify-CIBT-{testmachine}'
     project-type: freestyle
     concurrent: true
     node: hwtest-slave
           description: "patchset # to build"
       - string:
           name: MACHINE
-          default: '{machine}'
+          default: '{testmachine}'
           description: "Machine to build"
     build-discarder:
       days-to-keep: 30
           - ../common/include-agl-lava-labs-prepare.sh
           - ../common/include-agl-run-test-short.sh
           - ../common/include-agl-lava-jobs-submit.sh
-      - conditional-step:
-          condition-kind: always
-          steps:
-              - shell:
-                  !include-raw-escape:
-                  - ../common/include-agl-get-cost.sh
 
 #    publishers:
 #      - naginator: