Skip to content
Snippets Groups Projects
Commit 2fcd9410 authored by Emanuele Aina's avatar Emanuele Aina
Browse files

Fix the OSTree preconditions macro not populating reponame and branch


Address a regression introduced in commit 6b2fd91e "Turn the OSTree
preconditions into a list" where the iteration on the preconditions list
was done improperly.

Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent e1cf79ce
No related branches found
No related tags found
1 merge request!163Fix the OSTree preconditions macro not populating reponame and branch
Pipeline #135785 failed
......@@ -8,8 +8,8 @@
<p><kbd>$ ssh user@$DUT_IP</kbd></p>
{% endmacro %}
{% macro ostree_preconditions(precondition) %}
{% for reponame, branch in precondition %}
{% macro ostree_preconditions(preconditions) %}
{% for precondition in preconditions %}
<li class="mb-sm-2">From a PC, download and unpack the test data tarball from the gitlab test repository:</li>
<p><kbd>$ wget https://gitlab.apertis.org/tests/{{ precondition.reponame }}/-/archive/{{ precondition.branch }}/{{ precondition.reponame }}.tar.gz</kbd></p>
<p><kbd>$ tar -xvf {{ precondition.reponame }}.tar.gz</kbd></p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment