Skip to content

Commit 90044b5

Browse files
authored
feat(applesilicon): remove runner_configuration (#1292)
1 parent 4415935 commit 90044b5

File tree

6 files changed

+0
-26
lines changed

6 files changed

+0
-26
lines changed

scaleway-async/scaleway_async/applesilicon/v1alpha1/api.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -642,15 +642,13 @@ async def reinstall_server(
642642
server_id: str,
643643
zone: Optional[ScwZone] = None,
644644
os_id: Optional[str] = None,
645-
runner_configuration: Optional[RunnerConfiguration] = None,
646645
) -> Server:
647646
"""
648647
Reinstall a server.
649648
Reinstall an existing Apple silicon server (specified by its server ID) from a new image (OS). All the data on the disk is deleted and all configuration is reset to the defailt configuration values of the image (OS).
650649
:param server_id: UUID of the server you want to reinstall.
651650
:param zone: Zone to target. If none is passed will use default zone from the config.
652651
:param os_id: Reinstall the server with the target OS, when no os_id provided the default OS for the server type is used.
653-
:param runner_configuration: Specify the configuration to install an optional CICD runner on the server during installation.
654652
:return: :class:`Server <Server>`
655653
656654
Usage:
@@ -672,7 +670,6 @@ async def reinstall_server(
672670
server_id=server_id,
673671
zone=zone,
674672
os_id=os_id,
675-
runner_configuration=runner_configuration,
676673
),
677674
self.client,
678675
),

scaleway-async/scaleway_async/applesilicon/v1alpha1/marshalling.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,11 +1060,6 @@ def marshal_ReinstallServerRequest(
10601060
if request.os_id is not None:
10611061
output["os_id"] = request.os_id
10621062

1063-
if request.runner_configuration is not None:
1064-
output["runner_configuration"] = marshal_RunnerConfiguration(
1065-
request.runner_configuration, defaults
1066-
)
1067-
10681063
return output
10691064

10701065

scaleway-async/scaleway_async/applesilicon/v1alpha1/types.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -915,11 +915,6 @@ class ReinstallServerRequest:
915915
Reinstall the server with the target OS, when no os_id provided the default OS for the server type is used.
916916
"""
917917

918-
runner_configuration: Optional[RunnerConfiguration] = None
919-
"""
920-
Specify the configuration to install an optional CICD runner on the server during installation.
921-
"""
922-
923918

924919
@dataclass
925920
class SetServerPrivateNetworksResponse:

scaleway/scaleway/applesilicon/v1alpha1/api.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -642,15 +642,13 @@ def reinstall_server(
642642
server_id: str,
643643
zone: Optional[ScwZone] = None,
644644
os_id: Optional[str] = None,
645-
runner_configuration: Optional[RunnerConfiguration] = None,
646645
) -> Server:
647646
"""
648647
Reinstall a server.
649648
Reinstall an existing Apple silicon server (specified by its server ID) from a new image (OS). All the data on the disk is deleted and all configuration is reset to the defailt configuration values of the image (OS).
650649
:param server_id: UUID of the server you want to reinstall.
651650
:param zone: Zone to target. If none is passed will use default zone from the config.
652651
:param os_id: Reinstall the server with the target OS, when no os_id provided the default OS for the server type is used.
653-
:param runner_configuration: Specify the configuration to install an optional CICD runner on the server during installation.
654652
:return: :class:`Server <Server>`
655653
656654
Usage:
@@ -672,7 +670,6 @@ def reinstall_server(
672670
server_id=server_id,
673671
zone=zone,
674672
os_id=os_id,
675-
runner_configuration=runner_configuration,
676673
),
677674
self.client,
678675
),

scaleway/scaleway/applesilicon/v1alpha1/marshalling.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,11 +1060,6 @@ def marshal_ReinstallServerRequest(
10601060
if request.os_id is not None:
10611061
output["os_id"] = request.os_id
10621062

1063-
if request.runner_configuration is not None:
1064-
output["runner_configuration"] = marshal_RunnerConfiguration(
1065-
request.runner_configuration, defaults
1066-
)
1067-
10681063
return output
10691064

10701065

scaleway/scaleway/applesilicon/v1alpha1/types.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -915,11 +915,6 @@ class ReinstallServerRequest:
915915
Reinstall the server with the target OS, when no os_id provided the default OS for the server type is used.
916916
"""
917917

918-
runner_configuration: Optional[RunnerConfiguration] = None
919-
"""
920-
Specify the configuration to install an optional CICD runner on the server during installation.
921-
"""
922-
923918

924919
@dataclass
925920
class SetServerPrivateNetworksResponse:

0 commit comments

Comments
 (0)