diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2019-05-01 15:57:56 +0200 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2019-05-01 15:57:56 +0200 |
commit | 498dd4a921bfc0dc4e457d72f08c6687e60a9a18 (patch) | |
tree | 2a9b8cd28dd8fc4d2d54e7b6d830445526cd795a /jjb/ci-AGL-verify | |
parent | 8ed94f54d94a5fbd0a50c30517ecd3f541050199 (diff) |
Add test scripts for CIBT cases
and adapt the common job to not use '' .
Change-Id: I15b4fa1a4ab181c55c53885fb746cfd56403c698
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/ci-AGL-verify')
-rwxr-xr-x | jjb/ci-AGL-verify/ci-platform-CIBT-qemux86-64-run.sh | 42 | ||||
-rwxr-xr-x | jjb/ci-AGL-verify/ci-platform-CIBT-rpi3-run.sh | 42 |
2 files changed, 84 insertions, 0 deletions
diff --git a/jjb/ci-AGL-verify/ci-platform-CIBT-qemux86-64-run.sh b/jjb/ci-AGL-verify/ci-platform-CIBT-qemux86-64-run.sh new file mode 100755 index 00000000..625c88e5 --- /dev/null +++ b/jjb/ci-AGL-verify/ci-platform-CIBT-qemux86-64-run.sh @@ -0,0 +1,42 @@ +#!/bin/bash +set -x +function usage () { + +echo "Usage: $0 ChangeID PatchID" +echo " LAVA credentials are in ~/.lava-cimanagement.cfg" + +} + +if [[ -z $1 ]] || [[ -z $2 ]] ; then + usage + exit 1 +fi + +export MACHINE=qemux86-64 + +export GERRIT_CHANGE_NUMBER=$1 +export GERRIT_PATCHSET_NUMBER=$2 + +# the file needs to entries: +# export LAB_AGL_USER= +# export LAB_AGL_TOKEN= +# or +# export LAB_BAYLIBRE_USER= +# export LAB_BAYLIBRE_TOKEN= +if [[ -f ~/.lava-cimanagement.cfg ]] ; then + source ~/.lava-cimanagement.cfg +else + echo "you need ~/.lava-cimanagement.cfg" +fi + +set -x +set -e +export COMMON="$(pwd)/../common" + +source ${COMMON}/include-agl-header.sh +source ${COMMON}/include-agl-repo.sh +source ${COMMON}/include-agl-select.sh +source ${COMMON}/include-agl-run-test-prepare.sh +source ${COMMON}/include-agl-lava-labs-prepare.sh +source ${COMMON}/include-agl-run-test-short.sh +source ${COMMON}/include-agl-lava-jobs-submit.sh diff --git a/jjb/ci-AGL-verify/ci-platform-CIBT-rpi3-run.sh b/jjb/ci-AGL-verify/ci-platform-CIBT-rpi3-run.sh new file mode 100755 index 00000000..ac86919c --- /dev/null +++ b/jjb/ci-AGL-verify/ci-platform-CIBT-rpi3-run.sh @@ -0,0 +1,42 @@ +#!/bin/bash +set -x +function usage () { + +echo "Usage: $0 ChangeID PatchID" +echo " LAVA credentials are in ~/.lava-cimanagement.cfg" + +} + +if [[ -z $1 ]] || [[ -z $2 ]] ; then + usage + exit 1 +fi + +export MACHINE=raspberrypi3 + +export GERRIT_CHANGE_NUMBER=$1 +export GERRIT_PATCHSET_NUMBER=$2 + +# the file needs to entries: +# export LAB_AGL_USER= +# export LAB_AGL_TOKEN= +# or +# export LAB_BAYLIBRE_USER= +# export LAB_BAYLIBRE_TOKEN= +if [[ -f ~/.lava-cimanagement.cfg ]] ; then + source ~/.lava-cimanagement.cfg +else + echo "you need ~/.lava-cimanagement.cfg" +fi + +set -x +set -e +export COMMON="$(pwd)/../common" + +source ${COMMON}/include-agl-header.sh +source ${COMMON}/include-agl-repo.sh +source ${COMMON}/include-agl-select.sh +source ${COMMON}/include-agl-run-test-prepare.sh +source ${COMMON}/include-agl-lava-labs-prepare.sh +source ${COMMON}/include-agl-run-test-short.sh +source ${COMMON}/include-agl-lava-jobs-submit.sh |