diff --git a/constants.py b/constants.py index 5b3059b8..7451f434 100644 --- a/constants.py +++ b/constants.py @@ -252,14 +252,15 @@ if not ("install_only" in os_info[os_i] and os_info[os_i]["install_only"]): all_platforms.add(arch) builders_autobake.append(builder_name_autobake) - # Currently there are no VMs for x86 and s390x and OpenSUSE and SLES - addInstall = True - if "has_install" in os_info[os_i]: - addInstall = os_info[os_i]["has_install"] - if arch not in ["s390x", "x86"] and addInstall: + addUpgrade = True + if "has_upgrade" in os_info[os_i]: + addUpgrade = os_info[os_i]["has_upgrade"] + # Currently there are no VMs for x86 and s390x and OpenSUSE and SLES + if arch not in ["s390x", "x86"]: builders_install.append(builder_name_autobake + "-install") - builders_upgrade.append(builder_name_autobake + "-minor-upgrade") - builders_upgrade.append(builder_name_autobake + "-major-upgrade") + if addUpgrade: + builders_upgrade.append(builder_name_autobake + "-minor-upgrade") + builders_upgrade.append(builder_name_autobake + "-major-upgrade") builders_galera = list( map(lambda x: "gal-" + "-".join(x.split("-")[:3]), builders_autobake) diff --git a/os_info.yaml b/os_info.yaml index fe25a65a..ae90056b 100644 --- a/os_info.yaml +++ b/os_info.yaml @@ -23,7 +23,6 @@ centos-stream8: - aarch64 - ppc64le type: rpm - has_install: False centos-stream9: version_name: 9 arch: @@ -31,7 +30,6 @@ centos-stream9: - aarch64 - ppc64le type: rpm - has_install: False debian-10: version_name: buster arch: @@ -73,20 +71,19 @@ fedora-39: - amd64 - aarch64 type: rpm - has_install: False fedora-40: version_name: 40 arch: - amd64 - aarch64 type: rpm - has_install: False + has_upgrade: False opensuse-15: version_name: 15 arch: - amd64 type: rpm - has_install: False + has_upgrade: False rhel-7: version_name: 7 arch: @@ -123,14 +120,14 @@ sles-12: arch: - s390x type: rpm - has_install: False + has_upgrade: False sles-15: version_name: 15 arch: - amd64 - s390x type: rpm - has_install: False + has_upgrade: False ubuntu-2004: version_name: focal arch: @@ -153,7 +150,7 @@ ubuntu-2310: - amd64 - aarch64 type: deb - has_install: False + has_upgrade: False ubuntu-2404: version_name: noble arch: @@ -162,3 +159,4 @@ ubuntu-2404: - ppc64le - s390x type: deb + has_upgrade: False