SPEC-3904: add support for BBE 36/26336/1
authorCorentin LABBE <clabbe@baylibre.com>
Mon, 10 May 2021 07:26:47 +0000 (07:26 +0000)
committerCorentin LABBE <clabbe@baylibre.com>
Mon, 10 May 2021 07:26:47 +0000 (07:26 +0000)
Add support for CIBT for BBE in ci-management.

Change-Id: Icf86432821f3b6e24f0cc0e0ebe576218013d613
Bug-AGL: SPEC-3904
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
jjb/ci-AGL-verify/ci-platform-jjb.yaml
jjb/common/include-agl-kci-publish-build-meta.sh
jjb/common/include-agl-run-test-prepare.sh

index 8fe3865..517de6b 100644 (file)
@@ -9,6 +9,7 @@
       - qemuarm64
       - raspberrypi4
     testmachine:
+      - bbe
       - h3ulcb-nogfx
       - qemux86-64
       - qemuarm
           name: CIB-{project}-devboards
           condition: SUCCESSFUL
           projects:
+            - name: 'ci-platform-{project}-verify-CIB-bbe'
+              current-parameters: true
+              #abort-all-job: true
+              kill-phase-on: NEVER
             - name: 'ci-platform-{project}-verify-CIB-qemuarm'
               current-parameters: true
               #abort-all-job: true
               current-parameters: true
               #abort-all-job: true
               kill-phase-on: FAILURE
-            - name: 'ci-platform-{project}-verify-CIB-bbe'
-              current-parameters: true
-              #abort-all-job: true
-              kill-phase-on: NEVER
             - name: 'ci-platform-{project}-verify-CIB-h3ulcb-nogfx'
               current-parameters: true
               #abort-all-job: true
           name: CIBT-{project}
           condition: SUCCESSFUL
           projects:
+            - name: 'ci-platform-{project}-verify-CIBT-bbe'
+              current-parameters: true
+              #abort-all-job: true
+              kill-phase-on: NEVER
             - name: 'ci-platform-{project}-verify-CIBT-qemux86-64'
               current-parameters: true
               #abort-all-job: true
index b4dec25..f8d8d89 100644 (file)
@@ -38,6 +38,9 @@ kci-publish() {
 
        # TARGETARCH exists only in ci-apps
        case $TARGETMACHINE in
+       bbe)
+               TARGETARCH="arm"
+       ;;
        qemuarm64)
                TARGETARCH="arm64"
        ;;
index ed59718..cb83a85 100644 (file)
@@ -75,6 +75,11 @@ gen_info() {
 # but the LAVA job need to be generated only for qemu. So we need to have lava_device and releng_device for it.
 export BOARDOUT=$(mktemp --directory)
 case $MACHINE in
+bbe)
+       lava_device=am335x-sancloud-bbe
+       releng_device=am335x-sancloud-bbe
+       gen_info || exit 0
+;;
 qemux86-64)
        lava_device=upsquare
        releng_device=upsquare