summaryrefslogtreecommitdiffstats
path: root/templates/base/agl-base.jinja2
blob: 346de325d55ed74bb1a0d8bf30a82528d3ece014 (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
{%- extends 'base/agl-base-defaults.jinja2' %}
{%- block job %}
{%- block metadata %}
{% include 'base/agl-metadata.jinja2' %}
{% endblock %}
{% if do_callback %}
{% include 'base/agl-callback-section.jinja2' %}
{% endif %}
{%- block main %}
device_type: {{ device_type }}
{%- if DEVICE_TAGS %}
tags:
{%- for tag in DEVICE_TAGS %}
- {{ tag|lower }}
{%- endfor %}
{%- endif %}

job_name: {{ name }}

timeouts:
  job:
    minutes: {{ job_timeout }}
  action:
    minutes: {{ action_timeout }}
  connection:
    minutes: {{ connection_timeout }}
  connections:
    lava-test-shell:
      minutes: 15

priority: {{ priority }}
visibility: public
{% endblock %}
{%- block actions %}
actions:
{%- block deploy %}
- deploy:
    timeout:
      minutes: {{ deploy_timeout }}
{%- endblock %}
{%- block boot %}
{% endblock %}
{%- block tests %}
{%- if rootfs_type == "nbd" %}
{% include "tests/veth.jinja2" %}
{%- endif %}
{%-for test_template in test_templates %}
{% include test_template %}
{%- endfor %}
{% endblock %}
{% endblock %}
{% endblock %}