{% extends "layouts/content.html" %} {% load static %} {% load utils %} {% block styles %} {% endblock %} {% block content %}

Job definition file - {% if job.is_multinode %}{{ job.sub_id }}{% else %}{{ job.id }}{% endif %} download

{% if job.is_multinode %} {{ job.sub_id }} is part of a multinode job. Use the Multinode Definition to resubmit. {% endif %}
{% if job.actual_device %}
Name
{{ job.actual_device.hostname }} (reports)
{% endif %} {% if job.requested_device_type %}
Requested type
{{ job.requested_device_type }} (reports)
{% endif %}
{% if job.is_multinode %}
{% for subjob in job.sub_jobs_list %}
{{ subjob.sub_id }} {% if '0' in subjob.sub_id and '0' not in job.sub_id %} (?) {% endif %}
{% if subjob.actual_device.hostname %} on: {{ subjob.actual_device.hostname }} as: {{ subjob.device_role }}  {% else %} No device assigned as {{ subjob.device_role }}.
{% endif %} {% endfor %}
{% endif %}

{% with job.display_definition|split_definition as definition_data %} {% for line in definition_data %}
{{ line.rstrip|replace_python_unicode }}
{% endfor %} {% endwith %}

Pipeline Description YAML

Pipeline jobs use the job definition to generate a descriptive YAML file when the pipeline is validated. The file represents the data sent to the dispatcher at the start of the job, including details of the device as well as the job parameters and the details of the parameters sent to each of the deploy, boot and test actions in the job pipeline.

Click on the Action headings below to see some of the structural information from the description file for this job or download the complete file as YAML using the link above. The name of the action can be used to change the timeout of that specific action. e.g.

timeouts:
  apply-overlay-image:
    minutes: 5

The information in this pane is based on the validation step prior to the job starting to run. This includes checks on remote URLs but does not operations which are only done at runtime. Therefore, the filesize of remote downloads can be displayed, based on the headers when checking that the URL was correct - checksums of the actual download will not appear as the actual download only happens after the job has started.

{% get_pipeline_levels pipeline as levels %} {% get_pipeline_sections pipeline as sections %}

Pipeline

{% for level, data in levels.items %} [ Sections ] [ List of actions ]

{{ level }}: {{ data.summary }}

name
{{ data.name }}
description
{{ data.description }}
output
{{ job.id }}#action_{{ level }}
{% if data.timeout %}
timeout
{% comment %} add a link to help content of this topic {% endcomment %}
{{ data.timeout.duration|floatformat:"0" }} seconds
{% if data.url %}
URL
{{ data.url|urlize }}
{% endif %} {% if data.size %}
size
{{ data.size|filesizeformat }}
{% endif %} {% endif %}
{% endfor %}

Pipeline actions

Pipeline sections
{% endblock content %} {% block scripts %} {% endblock %}