aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base/agl-base.jinja2
blob: 8d3e690a2d54c222eaaef9cbf698ca4f03943a7c (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
{%- 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 %}
{% if device_type == "r8a7795-h3ulcb-kf" or device_type == "bcm2711-rpi-4-b" or device_type == "r8a7795-agl-refhw" %}
{% include "tests/hack-SPEC3655.jinja2" %}
{%- endif %}
{%-for test_template in test_templates %}
{% include test_template %}
{%- endfor %}
{% endblock %}
{% endblock %}
{% endblock %}