[PATCH 2/2] bodhi-pungi: simplify now that f27 is EOL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Removes conditional logic that considers f27.
---
 roles/bodhi2/backend/templates/pungi.rpm.conf.j2 | 23 ++++++-----------------
 1 file changed, 6 insertions(+), 17 deletions(-)

diff --git a/roles/bodhi2/backend/templates/pungi.rpm.conf.j2 b/roles/bodhi2/backend/templates/pungi.rpm.conf.j2
index f2f058771..4757153fd 100644
--- a/roles/bodhi2/backend/templates/pungi.rpm.conf.j2
+++ b/roles/bodhi2/backend/templates/pungi.rpm.conf.j2
@@ -118,14 +118,12 @@ createiso_skip = [
     ]
 
 {% if env != "staging" %}
-[% if release.id_prefix == 'FEDORA' and release.version_int >= 26 %]
+[% if release.id_prefix == 'FEDORA' %]
 ostree = {
     "^Everything$": [
         # Atomic Host
         {
-            [% if release.version_int >= 28 %]
-                "version": "!VERSION_FROM_VERSION_DATE_RESPIN",
-            [% endif %]
+            "version": "!VERSION_FROM_VERSION_DATE_RESPIN",
             "force_new_commit": True
             "treefile": "fedora-atomic-host.json",
             "config_url": "https://pagure.io/fedora-atomic.git";,
@@ -150,26 +148,17 @@ ostree = {
                 "ostree_ref": "fedora/[[ release.version_int ]]/${basearch}/testing/atomic-host",
             [% endif %]
             "tag_ref": False,
-            "arches": ["x86_64",
-                       [% if release.version_int >= 27 %]
-                       "ppc64le", "aarch64"
-                       [% endif %]
-                      ],
-            [% if release.version_int >= 27 %]
-                "failable": ["ppc64le", "aarch64"],
+            "arches": ["x86_64", "ppc64le", "aarch64" ],
+            "failable": ["ppc64le", "aarch64"],
             [% endif %]
         },
         # Fedora Silverblue
         {
-            [% if release.version_int >= 28 %]
-                "version": "!VERSION_FROM_VERSION_DATE_RESPIN",
-            [% endif %]
+            "version": "!VERSION_FROM_VERSION_DATE_RESPIN",
             [% if release.version_int >= 29 %]
                 "treefile": "fedora-silverblue.yaml",
-            [% elif release.version_int == 28 %]
-                "treefile": "fedora-atomic-workstation-updates-[[ request.name ]].json",
             [% else %]
-                "treefile": "fedora-ostree-workstation-updates-[[ request.name ]].json",
+                "treefile": "fedora-atomic-workstation-updates-[[ request.name ]].json",
             [% endif %]
             "config_url": "https://pagure.io/workstation-ostree-config.git";,
             "config_branch": "f[[ release.version ]]",
-- 
2.14.5
_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux