aboutsummaryrefslogtreecommitdiff
path: root/lite-aeolus
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2018-08-06 14:16:18 +0300
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2018-08-06 14:16:18 +0300
commitb33d6e86fe2b4f6752102f78013f6aa05f98f322 (patch)
treeb345926c896289dcf321924233d79d5b0730b2ba /lite-aeolus
parentb82ac81a45efac640eb93f8852eee0bf2508bf88 (diff)
lite-aeolus: Add LAAV job template for disco-l475-iot1.
Change-Id: I051fce23d5cad3e8689739545f37fdf684127df4
Diffstat (limited to 'lite-aeolus')
-rw-r--r--lite-aeolus/lava-job-definitions/disco-l475-iot1/template.yaml42
1 files changed, 42 insertions, 0 deletions
diff --git a/lite-aeolus/lava-job-definitions/disco-l475-iot1/template.yaml b/lite-aeolus/lava-job-definitions/disco-l475-iot1/template.yaml
new file mode 100644
index 00000000..13a7f1a9
--- /dev/null
+++ b/lite-aeolus/lava-job-definitions/disco-l475-iot1/template.yaml
@@ -0,0 +1,42 @@
+device_type: '$DEVICE_TYPE'
+job_name: '$JOB_NAME_SHORT $BUILD_DISPLAY_NAME'
+
+timeouts:
+ job:
+ minutes: 6
+ action:
+ minutes: 3
+ actions:
+ wait-usb-device:
+ seconds: 40
+
+priority: medium
+visibility: public
+
+actions:
+- deploy:
+ timeout:
+ minutes: 3
+ to: tmpfs
+ images:
+ zephyr:
+ url: '$IMAGE_URL'
+
+- boot:
+ method: cmsis-dap
+ timeout:
+ minutes: 3
+
+- test:
+$TEST_SPEC
+
+metadata:
+ # For some reason, LAVA doesn't allow to query by real job name,
+ # so we need to duplicate it as metadata.
+ job_name: '$JOB_NAME_SHORT'
+ build-url: $BUILD_URL
+ build-log: ${BUILD_URL}consoleText
+ zephyr-gcc-variant: $ZEPHYR_GCC_VARIANT
+ platform: $PLATFORM
+ git-url: $GIT_URL
+ git-commit: $GIT_COMMIT