Commit ea2ee4b0 authored by Michele Tartara's avatar Michele Tartara
Browse files

Version bump to 2.9.0~alpha1



Bump the version number to 2.9.0~alpha1.

This also requires updating version numbers in cfgupgrade tool.

Furthermore, a data file for test representing a 2.8 configuration had the
version number set to 2.7 in order to prevent tests failing while the current
branch was artificially kept behind its actual version number. Now that alpha
versions are possible, it can be moved back to 2.8 as it was supposed to be.
Signed-off-by: default avatarMichele Tartara <mtartara@google.com>
Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
parent bb935d8d
# Configure script for Ganeti
m4_define([gnt_version_major], [2])
m4_define([gnt_version_minor], [8])
m4_define([gnt_version_minor], [9])
m4_define([gnt_version_revision], [0])
m4_define([gnt_version_suffix], [~alpha1])
m4_define([gnt_version_full],
......
......@@ -548,5 +548,5 @@
}
},
"serial_no": 7625,
"version": 2070000
"version": 2080000
}
......@@ -52,11 +52,11 @@ args = None
#: Target major version we will upgrade to
TARGET_MAJOR = 2
#: Target minor version we will upgrade to
TARGET_MINOR = 8
TARGET_MINOR = 9
#: Target major version for downgrade
DOWNGRADE_MAJOR = 2
#: Target minor version for downgrade
DOWNGRADE_MINOR = 7
DOWNGRADE_MINOR = 8
class Error(Exception):
......@@ -485,8 +485,8 @@ def main():
config_minor, config_revision))
DowngradeAll(config_data)
# Upgrade from 2.{0..7} to 2.8
elif config_major == 2 and config_minor in range(0, 9):
# Upgrade from 2.{0..7} to 2.9
elif config_major == 2 and config_minor in range(0, 10):
if config_revision != 0:
logging.warning("Config revision is %s, not 0", config_revision)
UpgradeAll(config_data)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment