blob: 8c00dd7a221333d22ee966e3955e97f95ffc3b73 [file] [log] [blame]
Arthur She07c91b52021-07-15 15:03:10 -07001{#------------------------------------------------------------------------------
Xinyu Zhang82dab282022-10-09 16:33:19 +08002# Copyright (c) 2020-2022, Arm Limited and Contributors. All rights reserved.
Arthur She07c91b52021-07-15 15:03:10 -07003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-----------------------------------------------------------------------------#}
7{% extends 'jinja2_templates/base.jinja2' %}
8{% block actions %}
9actions:
10 - deploy:
11 timeout:
12 minutes: 12
13 to: flasher
14 images:
15 tarball:
16 url: {{ tarball_url }}
17
18 - boot:
19 method: musca
20
21 - test:
22 monitors:
Xinyu Zhang22a12752022-10-10 17:21:21 +080023 {%- for monitor in monitors %}
Arthur She07c91b52021-07-15 15:03:10 -070024 - name: "{{monitor.name}}"
25 start: "{{monitor.start}}"
26 end: "{{monitor.end}}"
27 pattern: "{{monitor.pattern}}"
28 fixupdict:
29 '{{monitor.fixup.pass}}': pass
30 '{{monitor.fixup.fail}}': fail
Paul Sokolovsky18f110e2022-01-31 23:45:43 +030031 {%- if monitor.fixup.skip %}
32 '{{monitor.fixup.skip}}': skip
33 {%- endif %}
Arthur She07c91b52021-07-15 15:03:10 -070034 {% endfor %}
35{% endblock %}
36
37{% block metadata %}
38metadata:
39 build_no: {{ build_no }}
Arthur She07c91b52021-07-15 15:03:10 -070040 name: {{ name }}
41 platform: {{ platform }}
42 build_name: {{ build_name }}
Xinyu Zhang82dab282022-10-09 16:33:19 +080043 device_type: {{ device_type }}
Arthur She07c91b52021-07-15 15:03:10 -070044 build_job_url: {{ build_job_url }}
45{% endblock %}