aboutsummaryrefslogtreecommitdiff
path: root/kvm-simple.yaml
blob: 7fc8f76896911339ca8ea2db011e06b559a9d114 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
device_type: qemu
job_name: QEMU amd64 Stretch

timeouts:
  job:
    minutes: 15
  action:
    minutes: 5
  connection:
    minutes: 2
priority: medium
visibility: public
context:
  arch: amd64

metadata:
  source: https://git.linaro.org/lava-team/refactoring.git
  path: kvm-simple.yaml

actions:
- deploy:
    timeout:
      minutes: 5
    to: tmpfs
    images:
        rootfs:
          image_arg: -drive format=raw,file={rootfs}
          url: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/standard/debian/stretch/amd64/2/stretch.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:
      minutes: 5
    definitions:
    - from: inline
      repository:
        metadata:
          format: Lava-Test Test Definition 1.0
          name: smoke-tests-basic
          description: "Basic system test command for Linaro Ubuntu images"
        run:
          steps:
          - printenv
      name: env-dut-inline
      path: inline/env-dut.yaml

- test:
    timeout:
      minutes: 5
    definitions:
    - repository: http://git.linaro.org/lava-team/lava-functional-tests.git
      from: git
      path: lava-test-shell/smoke-tests-basic.yaml
      name: smoke-tests
    - from: git
      repository: http://git.linaro.org/lava-team/lava-functional-tests.git
      path: lava-test-shell/single-node/singlenode03.yaml
      name: singlenode-advanced