diff options
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/common/include-agl-run-test-short.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/jjb/common/include-agl-run-test-short.sh b/jjb/common/include-agl-run-test-short.sh index fca819b4..13031e55 100644 --- a/jjb/common/include-agl-run-test-short.sh +++ b/jjb/common/include-agl-run-test-short.sh @@ -15,20 +15,22 @@ 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: " pip show jinja2 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 " + CREATE_ARGS+="--machine ${__MACHINE} " + CREATE_ARGS+="--url ci " + [[ ! -z $GERRIT_CHANGE_NUMBER ]] && CREATE_ARGS+="--changeid $GERRIT_CHANGE_NUMBER " + [[ ! -z $GERRIT_PATCHSET_NUMBER ]] && CREATE_ARGS+="--patchset $GERRIT_PATCHSET_NUMBER " 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 " CREATE_ARGS+="--build-version $BUILD_VERSION " CREATE_ARGS+="--callback lab-baylibre-legacy " - CREATE_ARGS+="--test all -- " + CREATE_ARGS+="--test all" $RELENG/utils/create-jobs.py ${CREATE_ARGS} ${__MACHINE} > testjob.yaml cat testjob.yaml else |