Skip to content

Commit d82cb5b

Browse files
committed
revert: remove non-tem related changes from branch
1 parent 9d29b05 commit d82cb5b

File tree

6 files changed

+22
-38
lines changed

6 files changed

+22
-38
lines changed

cmd/scw/testdata/test-all-usage-apple-silicon-server-create-usage.golden

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,18 @@ USAGE:
66
scw apple-silicon server create [arg=value ...]
77

88
ARGS:
9-
[name=<generated>] Create a server with this given name
10-
[project-id] Project ID to use. If none is passed the default project ID will be used
11-
[type] Create a server of the given type
12-
[os-id] Create a server with the given os_id
13-
[enable-vpc] Activate the Private Network feature for this server
14-
[commitment-type] Activate commitment for this server (duration_24h | renewed_monthly | none)
15-
[public-bandwidth-bps] Public bandwidth to configure for this server. Expressed in bits per second.
16-
[runner-configuration.name]
17-
[runner-configuration.url]
18-
[runner-configuration.token]
19-
[runner-configuration.provider] (unknown_provider | github | gitlab)
20-
[applied-runner-configurations.runner-configuration-ids.{index}]
21-
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-3)
9+
[name=<generated>] Create a server with this given name
10+
[project-id] Project ID to use. If none is passed the default project ID will be used
11+
[type] Create a server of the given type
12+
[os-id] Create a server with the given os_id
13+
[enable-vpc] Activate the Private Network feature for this server
14+
[commitment-type] Activate commitment for this server (duration_24h | renewed_monthly | none)
15+
[public-bandwidth-bps] Public bandwidth to configure for this server. Expressed in bits per second.
16+
[runner-configuration.name]
17+
[runner-configuration.url]
18+
[runner-configuration.token]
19+
[runner-configuration.provider] (unknown_provider | github | gitlab)
20+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-3)
2221

2322
FLAGS:
2423
-h, --help help for create

cmd/scw/testdata/test-all-usage-apple-silicon-server-update-usage.golden

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,13 @@ USAGE:
66
scw apple-silicon server update <server-id ...> [arg=value ...]
77

88
ARGS:
9-
server-id UUID of the server you want to update
10-
[name] Updated name for your server
11-
[schedule-deletion] Specify whether the server should be flagged for automatic deletion
12-
[enable-vpc] Activate or deactivate Private Network support for this server
13-
[commitment-type.commitment-type] (duration_24h | renewed_monthly | none)
14-
[public-bandwidth-bps] Public bandwidth configured for this server
15-
[applied-runner-configurations.runner-configuration-ids.{index}]
16-
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-3)
9+
server-id UUID of the server you want to update
10+
[name] Updated name for your server
11+
[schedule-deletion] Specify whether the server should be flagged for automatic deletion
12+
[enable-vpc] Activate or deactivate Private Network support for this server
13+
[commitment-type.commitment-type] (duration_24h | renewed_monthly | none)
14+
[public-bandwidth-bps] Public bandwidth configured for this server
15+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-3)
1716

1817
FLAGS:
1918
-h, --help help for update

docs/commands/apple-silicon.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,6 @@ scw apple-silicon server create [arg=value ...]
201201
| runner-configuration.url | | |
202202
| runner-configuration.token | | |
203203
| runner-configuration.provider | One of: `unknown_provider`, `github`, `gitlab` | |
204-
| applied-runner-configurations.runner-configuration-ids.{index} | | |
205204
| zone | Default: `fr-par-1`<br />One of: `fr-par-3` | Zone to target. If none is passed will use default zone from the config |
206205

207206

@@ -353,7 +352,6 @@ scw apple-silicon server update <server-id ...> [arg=value ...]
353352
| enable-vpc | | Activate or deactivate Private Network support for this server |
354353
| commitment-type.commitment-type | One of: `duration_24h`, `renewed_monthly`, `none` | |
355354
| public-bandwidth-bps | | Public bandwidth configured for this server |
356-
| applied-runner-configurations.runner-configuration-ids.{index} | | |
357355
| zone | Default: `fr-par-1`<br />One of: `fr-par-3` | Zone to target. If none is passed will use default zone from the config |
358356

359357

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/scaleway/scaleway-cli/v2
33
go 1.25.0
44

55
require (
6-
github.com/aws/aws-sdk-go-v2 v1.40.0
6+
github.com/aws/aws-sdk-go-v2 v1.39.6
77
github.com/aws/aws-sdk-go-v2/service/s3 v1.90.2
88
github.com/buildpacks/pack v0.38.2
99
github.com/c-bata/go-prompt v0.2.6

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ github.com/aphistic/sweet v0.2.0/go.mod h1:fWDlIh/isSE9n6EPsRmC0det+whmX6dJid3st
6363
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio=
6464
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
6565
github.com/aws/aws-sdk-go v1.20.6/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
66-
github.com/aws/aws-sdk-go-v2 v1.40.0 h1:/WMUA0kjhZExjOQN2z3oLALDREea1A7TobfuiBrKlwc=
67-
github.com/aws/aws-sdk-go-v2 v1.40.0/go.mod h1:c9pm7VwuW0UPxAEYGyTmyurVcNrbF6Rt/wixFqDhcjE=
66+
github.com/aws/aws-sdk-go-v2 v1.39.6 h1:2JrPCVgWJm7bm83BDwY5z8ietmeJUbh3O2ACnn+Xsqk=
67+
github.com/aws/aws-sdk-go-v2 v1.39.6/go.mod h1:c9pm7VwuW0UPxAEYGyTmyurVcNrbF6Rt/wixFqDhcjE=
6868
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.3 h1:DHctwEM8P8iTXFxC/QK0MRjwEpWQeM9yzidCRjldUz0=
6969
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.3/go.mod h1:xdCzcZEtnSTKVDOmUZs4l/j3pSV6rpo1WXl5ugNsL8Y=
7070
github.com/aws/aws-sdk-go-v2/config v1.31.6 h1:a1t8fXY4GT4xjyJExz4knbuoxSCacB5hT/WgtfPyLjo=

internal/namespaces/applesilicon/v1alpha1/applesilicon_cli.go

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -232,12 +232,6 @@ func appleSiliconServerCreate() *core.Command {
232232
"gitlab",
233233
},
234234
},
235-
{
236-
Name: "applied-runner-configurations.runner-configuration-ids.{index}",
237-
Required: false,
238-
Deprecated: false,
239-
Positional: false,
240-
},
241235
core.ZoneArgSpec(scw.ZoneFrPar3),
242236
},
243237
Run: func(ctx context.Context, args any) (i any, e error) {
@@ -476,12 +470,6 @@ func appleSiliconServerUpdate() *core.Command {
476470
Deprecated: false,
477471
Positional: false,
478472
},
479-
{
480-
Name: "applied-runner-configurations.runner-configuration-ids.{index}",
481-
Required: false,
482-
Deprecated: false,
483-
Positional: false,
484-
},
485473
core.ZoneArgSpec(scw.ZoneFrPar3),
486474
},
487475
Run: func(ctx context.Context, args any) (i any, e error) {

0 commit comments

Comments
 (0)