bodhi-pungi: simplify now that f27 is EOL

Removes conditional logic that considers f27.
This commit is contained in:
Dusty Mabe 2019-01-08 13:54:44 -05:00
parent 7c8ef39653
commit 2b93c4d1a6
No known key found for this signature in database
GPG key ID: 3302DBD73952E671

View file

@ -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 ]]",