From f7658cb277b4dd460510f49fff7a4a17efae1051 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Tue, 11 Sep 2018 22:20:04 +0200 Subject: Add shortcut script for ci tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit call with ./run-flounder-ci-tests 5.99.x lava-tool needs the auth-token setup. Signed-off-by: Jan-Simon Möller --- utils/run-flounder-ci-tests | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 utils/run-flounder-ci-tests (limited to 'utils/run-flounder-ci-tests') diff --git a/utils/run-flounder-ci-tests b/utils/run-flounder-ci-tests new file mode 100755 index 0000000..0ca408d --- /dev/null +++ b/utils/run-flounder-ci-tests @@ -0,0 +1,19 @@ +#!/bin/bash + + + +SERVER="https://jsmoeller@lava.automotivelinux.org" +MACHINES="dra7xx-evm m3ulcb qemux86-64 raspberrypi3" +AGLVERSION="$1" + +if test x"" = x"${AGLVERSION}" ; then + echo "Need to specify version number to test" + exit 1 +fi + +for MACHINE in $MACHINES ; do + +./create-jobs.py --machine ${MACHINE} --url https://download.automotivelinux.org/AGL/upload/ci/flounder/${AGLVERSION}/${MACHINE}/deploy/images/${MACHINE}/ --test all --build-type release -n AGL-Flounder-${AGLVERSION}-${MACHINE} > /tmp/1.yaml +lava-tool submit-job https://jsmoeller@lava.automotivelinux.org /tmp/1.yaml + +done \ No newline at end of file -- cgit 1.2.3-korg