diff options
Diffstat (limited to 'jjb/common/include-agl-run-test-short.sh')
-rw-r--r-- | jjb/common/include-agl-run-test-short.sh | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/jjb/common/include-agl-run-test-short.sh b/jjb/common/include-agl-run-test-short.sh index 83bfc18c..fda2da9e 100644 --- a/jjb/common/include-agl-run-test-short.sh +++ b/jjb/common/include-agl-run-test-short.sh @@ -5,10 +5,19 @@ ## Run SHORT CI test ################################################################################ - set -x +# +# LAVA lab names for releng-scripts +# +declare -A lava_labs +lava_labs=( + [agl]="lab-agl-core" + [baylibre]="lab-baylibre-legacy" + ) + echo "## ${MACHINE} ##" +echo "# ${lava_labs[$LAVA_LAB]} #" cd $REPODIR # WIP: use $RELENG for subset of boards @@ -29,7 +38,7 @@ if [ ! -z $RELENG ] && \ [[ -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+="--callback ${lava_labs[$LAVA_LAB]} " CREATE_ARGS+="--test all" $RELENG/utils/create-jobs.py ${CREATE_ARGS} > testjob.yaml cat testjob.yaml |