Skip to content

Latest commit

 

History

History
89 lines (80 loc) · 2.34 KB

latestIBs.md

File metadata and controls

89 lines (80 loc) · 2.34 KB
title layout related
CMS Offline Software
default

Latest IBs

{% assign sortedReleaseQueues = site.data.LatestIBsSummary | sort %} {% assign sortedArchs = site.data.LatestIBsSummary.all_archs | sort %}

{% assign previous_name = '' %} {% for arch in sortedArchs %} {% endfor %} {% assign previous_name = '' %} {% assign previous_os = '' %} {% for arch in sortedArchs %} {% endfor %} {% for arch in sortedArchs %} {% endfor %}

{% for releaseQueue in sortedReleaseQueues reversed %} {% if releaseQueue[0] != 'all_archs' %}

{% for arch in sortedArchs %} {% endfor %} {% endif %} {% endfor %}

{% assign name = arch | split:"_" %} {% if previous_name != name[0] %} {{ name[0] }} {% endif %} {% assign previous_name = name[0] %}
{% assign name = arch | split:"_" %} {% if previous_name != name[1] or previous_os != name[0]%} {{ name[1] }} {% endif %} {% assign previous_name = name[1] %} {% assign previous_os = name[0] %}
{% assign name = arch | split:"_" %} {{ name[2] }}
{{ releaseQueue[0] }} {% if releaseQueue[1] contains arch %} {% assign ib_name_parts = releaseQueue[1][arch]['latest_IB'] | split:"_201" %} {% if releaseQueue[1][arch]['status'] == 'ok' %} {% assign text_color = 'green' %} {% elsif releaseQueue[1][arch]['status'] == 'unknown' %} {% assign text_color = 'gray' %} {% elsif releaseQueue[1][arch]['status'] == 'warning' %} {% assign text_color = 'GoldenRod' %} {% else %} {% assign text_color = 'red' %} {% endif %}
201{{ ib_name_parts[1] }}
{% endif %}