CIBT find the LAVA lab before calling releng 43/11743/4
authorLoys Ollivier <lollivier@baylibre.com>
Tue, 7 Nov 2017 14:35:21 +0000 (15:35 +0100)
committerLoys Ollivier <lollivier@baylibre.com>
Tue, 7 Nov 2017 14:54:28 +0000 (15:54 +0100)
commit41f2a94135443b239d3335949726b4223d8c2f3d
tree052e1a32cc23ae77f8c6dcd42883067e26eaa5dd
parentbe498bcfdd7c0c2a3e47de0d8f6a04d9ef455662
CIBT find the LAVA lab before calling releng

Add some logic to lava-labs-prepare:
- Search for the machine in the list of labs
- export the lab name if found

Call releng with the corresponding lab name in run-test-short

Send the job directly to the corresponding lab in lava-jobs-submit.
Keep the 'checking for device' in this script as well, just to make sure
the device is still available and can run the job. Otherwise the script
could be blocked there if the device status changes.

Change-Id: I50646b7fdb607cb9245a1d31e644eee45a2a2356
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
jjb/common/include-agl-lava-jobs-submit.sh
jjb/common/include-agl-lava-labs-prepare.sh
jjb/common/include-agl-run-test-short.sh