You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2019/07/04 21:09:27 UTC

[libcloud] branch trunk updated: add new gce image families

This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 4257831  add new gce image families
     new 5345879  Merge pull request #1304 from XN137/gce-new-image-families
4257831 is described below

commit 42578311a4ecc1b68182187ad06094a6987d194b
Author: Christopher Lambert <Ch...@Datastax.com>
AuthorDate: Thu Jul 4 14:40:44 2019 +0200

    add new gce image families
---
 libcloud/compute/drivers/gce.py | 32 ++++++++++++++++++++++++++++----
 1 file changed, 28 insertions(+), 4 deletions(-)

diff --git a/libcloud/compute/drivers/gce.py b/libcloud/compute/drivers/gce.py
index 4614ca8..317898f 100644
--- a/libcloud/compute/drivers/gce.py
+++ b/libcloud/compute/drivers/gce.py
@@ -1785,16 +1785,38 @@ class GCENodeDriver(NodeDriver):
         "coreos-cloud": ["coreos-alpha", "coreos-beta", "coreos-stable"],
         "debian-cloud": ["debian-8", "debian-9"],
         "opensuse-cloud": ["opensuse-leap"],
-        "rhel-cloud": ["rhel-6", "rhel-7"],
-        "suse-cloud": ["sles-11", "sles-12"],
+        "rhel-cloud": [
+            "rhel-6",
+            "rhel-7",
+            "rhel-8",
+        ],
+        "suse-cloud": [
+            "sles-11",
+            "sles-12",
+            "sles-15",
+        ],
         "suse-byos-cloud": [
             "sles-11-byos", "sles-12-byos",
             "sles-12-sp2-sap-byos", "sles-12-sp3-sap-byos",
             "suse-manager-proxy-byos", "suse-manager-server-byos"
         ],
-        "suse-sap-cloud": ["sles-12-sp2-sap", "sles-12-sp3-sap"],
+        "suse-sap-cloud": [
+            "sles-12-sp2-sap",
+            "sles-12-sp3-sap",
+            "sles-12-sp4-sap",
+            "sles-15-sap",
+        ],
         "ubuntu-os-cloud": [
-            "ubuntu-1404-lts", "ubuntu-1604-lts", "ubuntu-1710"
+            "ubuntu-1404-lts",
+            "ubuntu-1604-lts",
+            "ubuntu-minimal-1604-lts",
+            "ubuntu-1710",
+            "ubuntu-1804-lts",
+            "ubuntu-minimal-1804-lts",
+            "ubuntu-1810",
+            "ubuntu-minimal-1810",
+            "ubuntu-1904",
+            "ubuntu-minimal-1904",
         ],
         "windows-cloud": [
             "windows-1709-core-for-containers", "windows-1709-core",
@@ -7253,6 +7275,8 @@ class GCENodeDriver(NodeDriver):
                     if image_family.startswith(short_name):
                         image = _try_image_family(image_family,
                                                   project=img_proj)
+                        if image:
+                            break
 
         if not image:
             raise ResourceNotFoundError('Could not find image for family '