From 99a41dcea2e755cd7a42bf7d4002684368eea851 Mon Sep 17 00:00:00 2001 From: Amrutha Ramanathan <105342664+ramrutha497@users.noreply.github.com> Date: Sat, 26 Oct 2024 06:47:57 +0530 Subject: [PATCH] Test Automation - GKE | Preferred instances and instance family types (#187) --- CHANGELOG.md | 10 +++++++--- docs/models/ocean/gcp.md | 2 +- spotinst_sdk2/models/ocean/gcp/__init__.py | 4 ++-- spotinst_sdk2/version.py | 2 +- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 70024d5..e6bc446 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,14 +2,18 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [3.17.1] - 2024-10-26 +### Fixed +- `instance_name` field in the `Roll` model for Ocean GCP + ## [3.17.0] - 2024-10-24 ### Added -- "Detach Instances", "Instance Types Filters Simulation" API support added in the GCP Ocean Client -- Added Create/Update Cluster 'Preferred Instance Type' model for the GCP Ocean +- `Detach Instances` ans `Instance Types Filters Simulation` APIs support added in the GCP Ocean Client +- Added Create/Update Cluster `Preferred Instance Type` model for the GCP Ocean ## [3.16.1] - 2024-10-22 ### Added -- "Delete Volume in a Stateful Instance" API support added in the AWS Elastigroup Client. +- `Delete Volume in a Stateful Instance` API support added in the AWS Elastigroup Client. - Added `DynamicIops` model for AWS Elastigroup. ## [3.16.0] - 2024-10-21 diff --git a/docs/models/ocean/gcp.md b/docs/models/ocean/gcp.md index 38dfc7e..29249ab 100644 --- a/docs/models/ocean/gcp.md +++ b/docs/models/ocean/gcp.md @@ -865,7 +865,7 @@ Roll( batch_size_percentage: int = 'd3043820717d74d9a17694c176d39733', comment: str = 'd3043820717d74d9a17694c176d39733', launch_spec_ids: typing.List[str] = 'd3043820717d74d9a17694c176d39733', - instance_ids: typing.List[str] = 'd3043820717d74d9a17694c176d39733', + instance_names: typing.List[str] = 'd3043820717d74d9a17694c176d39733', respect_pdb: bool = 'd3043820717d74d9a17694c176d39733') ``` diff --git a/spotinst_sdk2/models/ocean/gcp/__init__.py b/spotinst_sdk2/models/ocean/gcp/__init__.py index 2d73e4e..3358c75 100644 --- a/spotinst_sdk2/models/ocean/gcp/__init__.py +++ b/spotinst_sdk2/models/ocean/gcp/__init__.py @@ -988,12 +988,12 @@ def __init__( batch_size_percentage: int = none, comment: str = none, launch_spec_ids: List[str] = none, - instance_ids: List[str] = none, + instance_names: List[str] = none, respect_pdb: bool = none): self.batch_min_healthy_percentage = batch_min_healthy_percentage self.batch_size_percentage = batch_size_percentage self.comment = comment - self.instance_ids = instance_ids + self.instance_names = instance_names self.launch_spec_ids = launch_spec_ids self.respect_pdb = respect_pdb diff --git a/spotinst_sdk2/version.py b/spotinst_sdk2/version.py index 5d5b52e..075ff0f 100644 --- a/spotinst_sdk2/version.py +++ b/spotinst_sdk2/version.py @@ -1 +1 @@ -__version__ = '3.17.0' +__version__ = '3.17.1'