]> review.fuel-infra Code Review - tools/sustaining.git/commitdiff
12.0 version of Fuel added to the new versions list 64/32764/1
authorSergii Rizvan <srizvan@mirantis.com>
Tue, 4 Apr 2017 15:19:39 +0000 (18:19 +0300)
committerSergii Rizvan <srizvan@mirantis.com>
Tue, 4 Apr 2017 15:25:31 +0000 (18:25 +0300)
Change-Id: I2dd8cd3be45a8e5c1c3c8a57beff717abd59d02e

jenkins/build_cluster/build_cluster.py

index c3b5d8736a33be16f94cc56aaa144f066400c0e9..7a6f80e94153b74b692d663c4120aaf236737d47 100755 (executable)
@@ -60,7 +60,7 @@ if cfg["ISO_URL"]:
         .split("/")[-1].split(".torrent")[0]
     # new releases such as 8.0 and 9.0 use new interface naming scheme
     # e.g. 'enp0s4' instead of 'eth1' so we should get version of Fuel from ISO name
-    new_versions = ["8.0", "9.0", "10.0", "11.0"]
+    new_versions = ["8.0", "9.0", "10.0", "11.0", "12.0"]
     is_new = any(v in cfg["ISO_URL"] for v in new_versions)
 
 cfg["PREPARE_CLUSTER"] = os.getenv("PREPARE_CLUSTER")
@@ -537,14 +537,14 @@ def do_update(node):
     if not node.execute(["/tmp/"+UPDATE_HELPER,"first",cfg["UPDATE_TO"]]):
         print ("ERROR: First phase of upgrade failed")
         return False
-        
+
     node.execute(["/tmp/"+UPDATE_HELPER,"reboot",cfg["UPDATE_TO"]])
     time.sleep(60 * 5)
 
     if node.put_file(UPDATE_HELPER):
         return node.execute(["/tmp/"+UPDATE_HELPER,"second",cfg["UPDATE_TO"]])
     else:
-        print ("ERROR: Unable to copy update script to admin node") 
+        print ("ERROR: Unable to copy update script to admin node")
         return False