Need to move it to use non-branched location for f28.
Added the if/else for future when we start using branched
f29.
---
 roles/bodhi2/backend/templates/pungi.rpm.conf.j2 | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/roles/bodhi2/backend/templates/pungi.rpm.conf.j2 
b/roles/bodhi2/backend/templates/pungi.rpm.conf.j2
index 1b02fd2df..26846fc3b 100644
--- a/roles/bodhi2/backend/templates/pungi.rpm.conf.j2
+++ b/roles/bodhi2/backend/templates/pungi.rpm.conf.j2
@@ -205,7 +205,13 @@ image_build = {
                 'disk_size': 6,
                 'target': 'f[[ release.version_int ]]',
                 'arches': ['x86_64', 'aarch64', 'ppc64le'],
-                'install_tree_from': "https://kojipkgs{{ env_suffix 
}}.fedoraproject.org/compose/branched/latest-Fedora-[[ release.version_int 
]]/compose/Everything/$arch/os/"
+                'install_tree_from': 
+                    # For f29 the compose location is under /compose/branched/
+                    [% if release.version_int == 29 %]
+                        "https://kojipkgs{{ env_suffix 
}}.fedoraproject.org/compose/branched/latest-Fedora-[[ release.version_int 
]]/compose/Everything/$arch/os/",
+                    [% else %]
+                        "https://kojipkgs{{ env_suffix 
}}.fedoraproject.org/compose/[[ release.version_int ]]/latest-Fedora-[[ 
release.version_int ]]/compose/Everything/$arch/os/",
+                    [% endif %]
                 'subvariant': 'AtomicHost',
                 'failable': ['*'],
             }
-- 
2.14.3
_______________________________________________
infrastructure mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]/message/XRIAOB5ZTY3PWW6Q3D2EHNOVW7RSY7SJ/

Reply via email to