{% extends "basebuildpage.html" %} {% load humanize %} {% load projecttags %} {% block parentbreadcrumb %} {{build.get_sorted_target_list.0.target}} {%if build.target_set.all.count > 1%}(+ {{build.target_set.all.count|add:"-1"}}){%endif%} {{build.machine}} ({{build.completed_on|date:"d/m/y H:i"}}) {% endblock %} {% block buildinfomain %}
{%if build.outcome == build.SUCCEEDED%}Completed{%elif build.outcome == build.FAILED%}Failed{%else%}{%endif%} on {{build.completed_on|date:"d/m/y H:i"}} {% if build.warnings_no or build.errors_no %}  with {% endif %} {%if build.outcome == build.SUCCEEDED or build.outcome == build.FAILED %} {% if build.errors_no %} {{build.errors_no}} error{{build.errors_no|pluralize}} {% endif %} {% if build.warnings_no %} {% if build.errors_no %} and {% endif %} {{build.warnings_no}} warning{{build.warnings_no|pluralize}} {% endif %} Build time: {{ build.timespent|sectohms }} {%endif%}
{% if build.errors_no %}
{% for error in logmessages %}{% if error.level == 2 %}
{{error.message}}
{% endif %}{% endfor %}
{% endif %} {%if build.outcome == build.SUCCEEDED%}
{% if hasImages %}

Images

{% for target in targets %} {% if target.target.is_image %}

{{target.target}}

Packages included
{{target.npkg}}
Total package size
{{target.pkgsz|filtered_filesizeformat}}
License manifest
{{target.target.license_manifest_path}}
Image files
    {% for i in target.imageFiles %}
  • {{i.path}} ({{i.size|filtered_filesizeformat}})
  • {% endfor %}
{% endif %} {% endfor %} {% endif %}
{%else%} {%endif%}

Build summary

Configuration

Machine
{{build.machine}}
Distro
{{build.distro}}
Layers
{% for i in build.layer_version_build.all|dictsort:"layer.name" %}
{{i.layer.name}}
{%endfor%}

Tasks

Total number of tasks
{% query build.task_build order__gt=0 as alltasks %}{{alltasks.count}}
Tasks executed
{% query build.task_build task_executed=1 order__gt=0 as exectask%}{{exectask.count}}
Tasks not executed
{% query build.task_build task_executed=0 order__gt=0 as noexectask%}{{noexectask.count}}
Reuse
{% query build.task_build order__gt=0 as texec %} {% if noexectask.count|multiply:100|divide:texec.count < 0 %} 0 {% else %} {{noexectask.count|multiply:100|divide:texec.count}} {% endif %} %

Recipes & Packages

Recipes built
{{recipecount}}
Packages built
{{packagecount}}
{% if build.warnings_no %}
{% for warning in logmessages %}{% if warning.level == 1 %}
{{warning.message}}
{% endif %}{% endfor %}
{% endif %} {% endblock %}