Skip to content

Commit

Permalink
Remove has_upgrade
Browse files Browse the repository at this point in the history
This is handledled in the install script so the flag is no longer needed.
  • Loading branch information
vladbogo committed Apr 4, 2024
1 parent c219c9c commit 58e7276
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
8 changes: 2 additions & 6 deletions constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,15 +252,11 @@
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)
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")
if addUpgrade:
builders_upgrade.append(builder_name_autobake + "-minor-upgrade")
builders_upgrade.append(builder_name_autobake + "-major-upgrade")
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)
Expand Down
6 changes: 0 additions & 6 deletions os_info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,11 @@ fedora-40:
- amd64
- aarch64
type: rpm
has_upgrade: False
opensuse-15:
version_name: 15
arch:
- amd64
type: rpm
has_upgrade: False
rhel-7:
version_name: 7
arch:
Expand Down Expand Up @@ -120,14 +118,12 @@ sles-12:
arch:
- s390x
type: rpm
has_upgrade: False
sles-15:
version_name: 15
arch:
- amd64
- s390x
type: rpm
has_upgrade: False
ubuntu-2004:
version_name: focal
arch:
Expand All @@ -150,7 +146,6 @@ ubuntu-2310:
- amd64
- aarch64
type: deb
has_upgrade: False
ubuntu-2404:
version_name: noble
arch:
Expand All @@ -159,4 +154,3 @@ ubuntu-2404:
- ppc64le
- s390x
type: deb
has_upgrade: False

0 comments on commit 58e7276

Please sign in to comment.