diff options
author | Neil Williams <neil.williams@linaro.org> | 2018-04-20 09:04:02 +0100 |
---|---|---|
committer | Neil Williams <neil.williams@linaro.org> | 2018-04-20 09:04:02 +0100 |
commit | 668992fc4ed6c203d773a74388a95cd6b3bdb12c (patch) | |
tree | 5087628fe81ae63f116a011728fca5944385ba5d | |
parent | 7a8a23edfcc146f08c6c46732c24dec4bcb5816a (diff) |
Add a simple params based test
Change-Id: I9e2fb10c599713a15f8222f7b1107b94fbffd87c
-rw-r--r-- | qemu-stretch-params.yaml | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/qemu-stretch-params.yaml b/qemu-stretch-params.yaml new file mode 100644 index 0000000..4b4e77e --- /dev/null +++ b/qemu-stretch-params.yaml @@ -0,0 +1,73 @@ +device_type: qemu +job_name: qemu, Debian stretch with parameters + +timeouts: + job: + minutes: 20 + action: + minutes: 5 +priority: medium +visibility: public +context: + arch: amd64 + # comment out or change to user if the dispatcher does not support bridging. + # netdevice: tap + +metadata: + source: https://git.linaro.org/lava-team/refactoring.git + path: qemu-stretch-params.yaml + +actions: +- deploy: + timeout: + minutes: 5 + to: tmpfs + images: + rootfs: + image_arg: -drive format=raw,file={rootfs} + url: http://images.validation.linaro.org/kvm/standard/stretch-2.img.gz + compression: gz + os: debian + root_partition: 1 + +- boot: + method: qemu + media: tmpfs + timeout: + minutes: 5 + prompts: + - "root@debian:" + auto_login: + login_prompt: "debian login:" + username: root + +- test: + timeout: + # uses install:deps, so takes longer than singlenode01 + minutes: 15 + definitions: + - repository: http://git.linaro.org/lava-team/lava-functional-tests.git + from: git + path: lava-test-shell/params/params.yaml + name: parse-params + parameters: + VARIABLE_NAME_1: "first variable value" + VARIABLE_NAME_1: "first variable value" + EMPTY_VARIABLE: + - from: git + repository: http://git.linaro.org/lava-team/lava-functional-tests.git + path: lava-test-shell/single-node/singlenode01.yaml + name: singlenode-basic + - from: git + repository: http://git.linaro.org/lava-team/lava-functional-tests.git + path: lava-test-shell/single-node/singlenode02.yaml + name: singlenode-intermediate + - from: git + repository: http://git.linaro.org/lava-team/lava-functional-tests.git + path: lava-test-shell/single-node/singlenode03.yaml + name: singlenode-advanced + revision: master + - from: git + repository: http://git.linaro.org/lava-team/refactoring.git + path: testdefs/testset01.yaml + name: testset-handler |