Use releng for rapsberrypi3 07/11707/3
authorLoys Ollivier <lollivier@baylibre.com>
Mon, 6 Nov 2017 14:22:44 +0000 (15:22 +0100)
committerLoys Ollivier <lollivier@baylibre.com>
Mon, 6 Nov 2017 14:55:20 +0000 (15:55 +0100)
Add the rapsebrrypi3 to the list of boards using releng-scripts for
LAVA job definition generation.

Change-Id: Ibd6449c101aff829d2814d3b15a7c9feae6d4b52
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
jjb/common/include-agl-run-test-short.sh

index fca819b..6600f24 100644 (file)
@@ -15,6 +15,7 @@ cd $REPODIR
 __MACHINE=${MACHINE%-nogfx} # releng doesn't care
 if [ ! -z $RELENG ] && \
        [[ x$__MACHINE == x"qemux86-64" || \
+       [[ x$__MACHINE == x"raspberrypi3" || \
          x$__MACHINE == x"m3ulcb" ]]; then
     # releng-scripts depends on jinja2 >= 2.9
     echo "## Check version of python-jinja2: "
@@ -22,7 +23,6 @@ if [ ! -z $RELENG ] && \
     CREATE_ARGS=""
     [[ ! -z $GERRIT_CHANGE_NUMBER ]] && CREATE_ARGS+="-j $GERRIT_CHANGE_NUMBER "
     [[ ! -z $GERRIT_PATCHSET_NUMBER ]] && CREATE_ARGS+="-i $GERRIT_PATCHSET_NUMBER "
-    [[ ! -z $TARGETIMAGE ]] && CREATE_ARGS+="--rootfs-img ${TARGETIMAGE}-${__MACHINE}.ext4.xz "
     BUILD_VERSION="AGL-gerrit-$GERRIT_CHANGE_NUMBER-$GERRIT_PATCHSET_NUMBER"
     [[ -e output/repo-manifest-r.txt.sha1 ]] && BUILD_VERSION+="-$(cat output/repo-manifest-r.txt.sha1)"
     CREATE_ARGS+="--name AGL-gerrit "