Pending Machine Upgrades Report
+Generated at {{ timestamp }}.
+diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bbd4c916..8ceb980e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -88,6 +88,14 @@ check-layers: - kas shell --update --force-checkout ci/base.yml:ci/meta-arm-autonomy.yml:ci/meta-openembedded.yml --command \ "$CI_PROJECT_DIR/ci/check-layers.py $CI_PROJECT_DIR/ci/check-layers.yml $CI_PROJECT_DIR $KAS_WORK_DIR" +pending-updates: + extends: .setup + artifacts: + paths: + - update-report.html + script: + - kas shell ci/qemuarm64.yml:ci/meta-openembedded.yml -c "$CI_PROJECT_DIR/scripts/machine-summary.py -t updates.html -o $CI_PROJECT_DIR/update-report.html $($CI_PROJECT_DIR/ci/listmachines.py meta-arm meta-arm-bsp)" + corstone500: extends: .build diff --git a/scripts/machine-summary-overview.txt.jinja b/scripts/machine-summary-overview.txt.jinja new file mode 100644 index 00000000..d585065e --- /dev/null +++ b/scripts/machine-summary-overview.txt.jinja @@ -0,0 +1,12 @@ +Machine Overview +Generated at {{ timestamp }}. +{% for machine, data in data|dictsort %} + +MACHINE: {{ machine }} +{% for recipe in recipes|sort %} +{% if recipe in data %} +{% set details = data[recipe] %} +{{ details.recipe }}: {{ details.version }} +{% endif %} +{% endfor %} +{% endfor %} diff --git a/scripts/machine-summary-updates.html.jinja b/scripts/machine-summary-updates.html.jinja new file mode 100644 index 00000000..d3ac2ff6 --- /dev/null +++ b/scripts/machine-summary-updates.html.jinja @@ -0,0 +1,47 @@ + + +
+Generated at {{ timestamp }}.
+| Machine | + {% for recipe in recipes|sort %} +{{ recipe }} ({{releases[recipe]|default("?")}}) | + {% endfor %} +|
|---|---|---|
| {{ machine }} | + {% for recipe in recipes|sort %} + {% if recipe in data %} + {% set details = data[recipe] %} + {% set is_old = details.version is old(details.upstream) %} ++ {{ details.recipe if details.recipe != recipe}} + {{ details.version }} + {{ "(patched)" if details.patched }} + | + {% else %} +- | + {% endif %} + {% endfor %} +