aboutsummaryrefslogtreecommitdiffstats
path: root/utils/run-flounder-ci-tests
blob: fb31b003b59395db6b4a33e62d5a8d4ef645bc44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash



SERVER="https://jsmoeller@lava.automotivelinux.org"
MACHINES="qemux86-64 raspberrypi4"
AGLBRANCH="$1"
AGLVERSION="$2"

if test x"" = x"${AGLBRANCH}" ; then
    echo "Need to specify branch and version number to test"
    exit 1
fi

if test x"" = x"${AGLVERSION}" ; then
    echo "Need to specify branch and 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/${AGLBRANCH}/${AGLVERSION}/${MACHINE}/deploy/images/${MACHINE}/ --callback-from lab-jsmoeller --test all --build-type release -n AGL-${AGLBRANCH}-${AGLVERSION}-${MACHINE} > /tmp/1.yaml
lava-tool submit-job https://jsmoeller@lava.automotivelinux.org /tmp/1.yaml

done