summaryrefslogtreecommitdiffstats
path: root/templates/base/agl-base.jinja2
blob: 20fc01f8e986d4872cacb127235277e304aadd58 (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 %}
{%- if BUILD_TAGS %}
build-tags:
{%- for tag in BUILD_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: 10

priority: {{ priority }}
visibility: public
{% endblock %}
{%- block actions %}
actions:
{%- block deploy %}
- deploy:
    timeout:
      minutes: {{ deploy_timeout }}
{%- endblock %}
{%- block boot %}
{% endblock %}
{%- block tests %}
{%-for test_template in test_templates %}
{% include test_template %}
{%- endfor %}
{% endblock %}
{% endblock %}
{% endblock %}