diff options
author | 2017-10-04 18:45:39 +0000 | |
---|---|---|
committer | 2017-10-04 18:58:07 +0000 | |
commit | 7bd2c46ab035185a1e70c0163d916ea875968254 (patch) | |
tree | 80bcece86fcec2bb9ef64fdde6a7d38e2c127423 /jjb | |
parent | 13bc29cda2259856aac1b25328c606a97c907dd6 (diff) |
jjb/common: run-test-short: add tests, unique version and callbacks
Use the gerrit changeset/patch numbers in combination with a SHA1 of
the repo manifest to create a unique build_version for the metadata.
Enable jobs to send results to lab-baylibre-legacy backend.
Send all tests (there are so few, might as well run them all.)
Change-Id: I7009621e0ab0eefbf345e5f801623b029cd7c332
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/common/include-agl-run-test-short.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/jjb/common/include-agl-run-test-short.sh b/jjb/common/include-agl-run-test-short.sh index f8fdc829..a2a3dda6 100644 --- a/jjb/common/include-agl-run-test-short.sh +++ b/jjb/common/include-agl-run-test-short.sh @@ -20,7 +20,12 @@ if [ ! -z $RELENG ] && \ [[ ! -z $GERRIT_CHANGE_NUMBER ]] && CREATE_ARGS+="-j $GERRIT_CHANGE_NUMBER " [[ ! -z $GERRIT_PATCHSET_NUMBER ]] && CREATE_ARGS+="-i $GERRIT_PATCHSET_NUMBER " [[ ! -z $TARGETIMAGE ]] && CREATE_ARGS+="--img-name $TARGETIMAGE --img-ext ext4.xz " - CREATE_ARGS+="--test smoke -- " + 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 -- " $RELENG/utils/create-jobs.py ${CREATE_ARGS} ${__MACHINE} > testjob.yaml cat testjob.yaml else |