aboutsummaryrefslogtreecommitdiff
path: root/lt-qcom/lava-job-definitions/dragonboard-410c/template-pmwg.yaml
blob: 1dc68bf438b60123963a1562e8c91684f862544a (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
72
73
74
75
76
77
78
- test:
    namespace: dragonboard410c
    timeout:
      minutes: 5
    definitions:
    - from: inline
      repository:
        metadata:
          format: Lava-Test Test Definition 1.0
          name: ssh-enable-target-login
          description: "Enable SSH Root login on Target"
        run:
          steps:
          - echo -ne "linaro123\nlinaro123\n" | passwd root
          - echo PermitRootLogin yes >> /etc/ssh/sshd_config
          - systemctl restart ssh.service
      name: ssh-enable-target-login-inline
      path: inline/ssh-enable-target-login.yaml

- test:
    namespace: tlxc
    timeout:
      minutes: 10
    definitions:
    - repository: https://git.linaro.org/lava-team/refactoring.git
      from: git
      path: testdefs/arm-probe.yaml
      name: arm-probe

- test:
    namespace: tlxc
    timeout:
      minutes: 60
    definitions:
    - from: inline
      repository:
        metadata:
          format: Lava-Test Test Definition 1.0
          name: prep-tests
          description: "Download energy-probe-ext instrumentation"
        run:
          steps:
          - apt-get update
          - apt-get -y install trace-cmd git
          - cd /root
          - git clone https://git.linaro.org/power/energy-probe-ext.git /energy-probe-ext
          - export TARGET_IP=$$(lava-target-ip)
          - echo $$TARGET_IP lava-target-ip >> /etc/hosts
      name: prep-inline
      path: inline/prep.yaml
    - repository: https://git.linaro.org/qa/test-definitions.git
      from: git
      path: automated/linux/workload-automation/workload-automation.yaml
      params:
        CONFIG: config/generic-linux-remote.py
        AGENDA: agenda/qcomlt/linux-workloads-db410c.yaml
        WA_EXTENSION_PATHS: /energy-probe-ext
        ARTIFACTORIAL_URL: https://archive.validation.linaro.org/artifacts/team/qcomlt/
      name: linux-pmwg

device_type: ${DEVICE_TYPE}
job_name: lt-qcom-${OS_INFO}-pmwg-${BUILD_NUMBER}
timeouts:
  job:
    minutes: 90
  action:
    minutes: 15
  connection:
    minutes: 2
priority: medium
visibility: public

secrets:
  ARTIFACTORIAL_TOKEN: "${ARTIFACTORIAL_TOKEN}"

metadata:
  source: https://git.linaro.org/ci/job/configs.git
  path: lt-qcom/lava-job-definitions/dragonboard-410c/template-pmwg.yaml