From ed8a31d27d5958fe6c8ce1dd0a0199011fab8577 Mon Sep 17 00:00:00 2001 From: Kevin Hilman Date: Mon, 19 Jun 2017 23:43:05 +0000 Subject: raspberrypi3-64: test: add LAVA env and job template Change-Id: Iea65e4986f3ab7ea41bcbf98bc63be8f4a4e2eba Signed-off-by: Kevin Hilman Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9949 Reviewed-by: Jan-Simon Moeller Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account --- .../raspberrypi3-64/test/testjob_short.yaml | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 templates/machine/raspberrypi3-64/test/testjob_short.yaml (limited to 'templates/machine/raspberrypi3-64/test/testjob_short.yaml') diff --git a/templates/machine/raspberrypi3-64/test/testjob_short.yaml b/templates/machine/raspberrypi3-64/test/testjob_short.yaml new file mode 100644 index 000000000..2ff1ac995 --- /dev/null +++ b/templates/machine/raspberrypi3-64/test/testjob_short.yaml @@ -0,0 +1,49 @@ +# Your first LAVA JOB definition for a porter board +device_type: @REPLACE_DEVICE_TYPE@ +job_name: AGL-short-smoke + +protocols: + lava-xnbd: + port: auto + +timeouts: + job: + minutes: 30 + action: + minutes: 15 + connection: + minutes: 5 + bootloader-commands: + minutes: 4 +priority: medium +visibility: public + +# ACTION_BLOCK +actions: +- deploy: + timeout: + minutes: 15 + to: nbd + dtb: + url: '@REPLACE_URL_PREFIX@/@REPLACE_DTB@' + kernel: + url: '@REPLACE_URL_PREFIX@/@REPLACE_KERNEL@' + initrd: + url: '@REPLACE_URL_PREFIX@/@REPLACE_INITRAMFS@' + allow_modify: false + nbdroot: + url: '@REPLACE_URL_PREFIX@/@REPLACE_NBDROOT@' + compression: @REPLACE_NBDROOT_COMPRESSION@ + os: debian + failure_retry: 2 + +# BOOT_BLOCK +- boot: + method: @REPLACE_BOOT_METHOD@ + commands: nbd + type: @REPLACE_BOOT_TYPE@ + prompts: ["root@@REPLACE_MACHINE@:~"] + auto_login: + login_prompt: "login:" + username: root + -- cgit 1.2.3-korg