Add support for adding a family to an image. - #704
Conversation
|
Hi. Changes look good. So the feature in GCE is beta? Any idea when it will be completed? @erjohnso |
|
The feature is already in beta, but our plan for releasing it into the v1 API includes making third party client updates. You can view the documentation for a new "getFromFamily" API endpoint here: https://cloud.google.com/compute/docs/reference/beta/images/getFromFamily Image publishers need to create new images with the family property set before the feature will be generally useful. In order to begin the transition, we are making API client updates that enable using the feature during image creation. |
|
Understood. Wouldn't want to introduce a chicken & egg then. Changes LGTM 👍 |
| image_data['zone'] = volume.extra['zone'].name | ||
| elif isinstance(volume, str) and \ | ||
| volume.startswith('https://') and volume.endswith('tar.gz'): | ||
| elif (isinstance(volume, str) and |
There was a problem hiding this comment.
should make a todo here about unicode support wrt, Python 2/3
The feature is currently in beta, and will allow users to reference the latest, non-deprecated, image for a given family via the API.