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