aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/ci-AGL-verify/ci-platform-jjb.yaml
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2017-05-26 22:11:18 +0000
committerKevin Hilman <khilman@baylibre.com>2017-07-23 00:48:20 +0000
commit2895b7c5dd5e411f2e843518ff1d15064810a915 (patch)
tree446572063e99ea5175fe7d2b9c9d886699d27066 /jjb/ci-AGL-verify/ci-platform-jjb.yaml
parent6c80975df08873ddcadb885ac0fd8b1d7655b12e (diff)
ci-platform-jjb: try LAVA job in multiple labs
Currently, LAVA jobs are only submitted to a single lab. This patch adds the ability look for a matching device-type in a list of available labs, and submit the job to the first lab with an available device type. To accomplish this, the job submission part is removed from run-test-short.sh, which now only generates the LAVA YAML job. A new lava-jobs-submit.sh script is added which looks for an available device-type in a list of LAVA labs, and submits the job there. NOTES: - run-test-short.sh should probably be renamed, but was left for now to limit the diff Change-Id: I95086d89a95f39e2b59fec8a8afada70806c52e5 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'jjb/ci-AGL-verify/ci-platform-jjb.yaml')
-rw-r--r--jjb/ci-AGL-verify/ci-platform-jjb.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/jjb/ci-AGL-verify/ci-platform-jjb.yaml b/jjb/ci-AGL-verify/ci-platform-jjb.yaml
index 50b440b0..5d7e02a4 100644
--- a/jjb/ci-AGL-verify/ci-platform-jjb.yaml
+++ b/jjb/ci-AGL-verify/ci-platform-jjb.yaml
@@ -497,6 +497,8 @@
- ../common/include-agl-run-test-prepare.sh
- ../common/include-agl-lava-labs-prepare.sh
- ../common/include-agl-run-test-short.sh
+ - ../common/include-agl-lava-jobs-submit.sh
+
publishers:
- naginator:
max-failed-builds: 2