blob: 143bd6b6880b47e9ffd44a0aa5795e0ad6a99604 [file] [log] [blame]
Chase Qid503f1a2018-08-01 17:49:17 +08001metadata:
2 name: over-ssh
Milosz Wasilewski9063b982020-06-30 13:43:03 +01003 format: "Lava-Test Test Definition 1.0"
Chase Qid503f1a2018-08-01 17:49:17 +08004 description: "Run tests from https://git.linaro.org/qa/test-definitions.git with
5 docker. Test run will be triggered over ssh"
6 maintainer:
7 - chase.qi@linaro.org
8 os:
9 - ubuntu
10 - debian
11 - centos
12 - fedora
13 - openembedded
14 devices:
15 - d03
16 - d05
17 - juno
18 - beaglebone-black
19 - hi6220-hikey
20 - apq8016-sbc
21 - mustang
22 - moonshot
23 - thunderX
24 - x15
25
26 scope:
27 - functional
28 - performance
29
30params:
31 # Skip docker installation or not.
32 SKIP_INSTALL: "false"
33 # Relative patch to test definition file
34 # Example: automated/linux/linpack/linpack.yaml
35 TEST: "automated/linux/smoke/smoke.yaml"
36 # Usage: KEY1=VALUE1 KEY2=VALUE2
37 # Example for smoke test: 'TESTS="pwd, lsb_release -a, uname -a, ip a, lscpu, vmstat, lsblk"'
38 TESTDEF_PARAMS: ""
39 TARGET_IP: "lava-target-ip"
40 SSH_USER: ""
41 SSH_PASSWD: ""
42 # Dockerfile example: https://git.linaro.org/ci/dockerfiles.git/tree/stretch-arm64-testdef
43 DOCKER_IMG: "linaro/testdef-arm64-debian-stretch:b6e5458"
44
45run:
46 steps:
47 - cd automated/linux/dockerized-tests
48 - if [ -z "${TESTDEF_PARAMS}" ]; then
49 - ./over-ssh.sh -s "${SKIP_INSTALL}" -t "${TEST}" -i "${TARGET_IP}" -u "${SSH_USER}" -p "${SSH_PASSWD}" -d "${DOCKER_IMG}"
50 - else
51 - ./over-ssh.sh -s "${SKIP_INSTALL}" -t "${TEST}" -i "${TARGET_IP}" -u "${SSH_USER}" -p "${SSH_PASSWD}" -d "${DOCKER_IMG}" -r "${TESTDEF_PARAMS}"
52 - fi
53 - ../../utils/send-to-lava.sh ./output/result.txt