aboutsummaryrefslogtreecommitdiff
path: root/zephyr-upstream
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2021-04-22 11:05:48 +0300
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2021-04-22 11:05:48 +0300
commitcc7a25b003211a1fe0347947a20c93eb0d24cfd9 (patch)
tree412370af4a16b156f873f5ab9ac3e573d0d7ce54 /zephyr-upstream
parent3955fd6e91641da1e7b29bf727dd79d1d4c698b8 (diff)
zephyr-upstream: Add initial changes to submit lpcxpresso55s69 tests to LAVA
This device is currently available only in staging, so LAVA_SERVER for it. Change-Id: I997fb4ae6ce257f24e80007aab30653b6679b5b7 Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Diffstat (limited to 'zephyr-upstream')
-rw-r--r--zephyr-upstream/lava-job-definitions/lpcxpresso55s69/template.yaml45
1 files changed, 45 insertions, 0 deletions
diff --git a/zephyr-upstream/lava-job-definitions/lpcxpresso55s69/template.yaml b/zephyr-upstream/lava-job-definitions/lpcxpresso55s69/template.yaml
new file mode 100644
index 0000000000..faafce95df
--- /dev/null
+++ b/zephyr-upstream/lava-job-definitions/lpcxpresso55s69/template.yaml
@@ -0,0 +1,45 @@
+device_type: '$device_type'
+job_name: 'zephyr-upstream $test_name'
+
+timeouts:
+ job:
+ minutes: 30
+ action:
+ minutes: 3
+ actions:
+ wait-usb-device:
+ seconds: 40
+
+# We submit gazillion of Zephyr test jobs, so set priority to low, to
+# allow e.g. manually submitted job to preempt such a flow and run sooner
+# than in a few hours.
+priority: low
+visibility: public
+
+actions:
+- deploy:
+ timeout:
+ minutes: 3
+ to: tmpfs
+ images:
+ zephyr:
+ url: '$test_url'
+
+- boot:
+ method: pyocd
+ failure_retry: 3
+ timeout:
+ minutes: 3
+
+- test:
+ timeout:
+ minutes: 10
+$test_action
+
+metadata:
+ build-url: $build_url
+ build-log: $build_url/consoleText
+ zephyr-gcc-variant: $gcc_variant
+ platform: $board_name
+ git-url: https://git.linaro.org/zephyrproject-org/zephyr.git
+ git-commit: $git_commit