aboutsummaryrefslogtreecommitdiffstats
path: root/lava-templates/generate-jobconfig.jinja2
blob: 61fbcad669bfd539b0e5d119b278babae2d005c5 (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
device_type: {{ device_type }}
job_name: {{ job_name }}
timeouts: 
  job:
    minutes: {{ timeout.job.minutes }}
  action:
    minutes: {{ timeout.action.minutes }}
  connection:
    minutes: {{ timeout.connection.minutes }}
priority: {{ priority }}
visibility: {{ visibility }}
actions:
- deploy:
    timeout:
      minutes: {{ deploy.timeout }}
    to: {{ deploy.to }}
    kernel:
      url: {{ deploy.kernel.url }}
      type: {{ deploy.kernel.type }}
    modules:
      url: {{ deploy.modules.url }}
      compression: {{ deploy.modules.compression }}
    nfsrootfs:
      url: {{ deploy.nfsrootfs.url }}
      compression: {{ deploy.nfsrootfs.compression }}
    os: {{ deploy.os }}
- boot:
    timeout:
      minutes: {{ boot.timeout }}
    method: {{ boot.method }}
    commands: {{ boot.commands }}
    auto_login: { login_prompt: {{ boot.auto_login.login_prompt }}, username: {{ boot.auto_login.username }} }
    prompts:
      - {{ boot.prompts }}
- test:
    timeout:
      minutes: {{ test.timeout }}
    name: {{ test.name }}
    definitions:
    - repository: {{ test.definitions.repository }}
      from: {{ test.definitions.from }}
      path: {{ test.definitions.path }}
      name: {{ test.definitions.name }}