This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/events/build_event.html

34 lines
1.3 KiB
HTML
Raw Normal View History

2019-11-12 16:09:47 +00:00
<a href="{{ event_data.homepage }}">Build {{ event_data.build_id[:7] }}</a> {% block eventkind %}{% endblock %} for
{% if event_data.trigger_id %}
change
{% if event_data.trigger_metadata %}
{% if event_data.trigger_metadata.commit_info %}
<a href="{{ event_data.trigger_metadata.commit_info.url }}">
{{ event_data.trigger_metadata.commit[:7] }}
</a> to
{% if event_data.trigger_metadata.ref.split('/')[1] == 'tags' %}
tag
{% else %}
branch
{% endif %}
{{ event_data.trigger_metadata.ref.split('/')[2] }}
{% if event_data.trigger_metadata.commit_info.author %}
by <a href="{{ event_data.trigger_metadata.commit_info.author.url }}">
{% if event_data.trigger_metadata.commit_info.author.avatar_url %}
<img src="{{ event_data.trigger_metadata.commit_info.author.avatar_url }}" width="16" height="16">{% endif %}{{ event_data.trigger_metadata.commit_info.author.username }}
</a>
{% endif %}
{% else %}
{{ event_data.trigger_metadata.commit[:7] }}
{% endif %}
{% else %}
to {{ event_data.trigger_kind }} repository
{% endif %}
{% else %}
uploaded Dockerfile
{% endif %}
for repository {{ event_data.repository | repository_reference }}
{% if event_data.error_message %}
<br>{{ event_data.error_message }}
{% endif %}