Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ ARGS:
[runner-configuration.url]
[runner-configuration.token]
[runner-configuration.provider] (unknown_provider | github | gitlab)
[runner-configuration.download-runner]
[runner-configuration.action] (unknown_action | remove | update | add)
[runner-configuration.id]
[runner-configuration.labels.{index}]
[applied-runner-configurations.runner-configuration-ids.{index}]
[enable-kext] Enable kernel extensions
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-3)
Expand Down
36 changes: 20 additions & 16 deletions docs/commands/apple-silicon.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,22 +286,26 @@ scw apple-silicon server create [arg=value ...]

**Arguments:**

| Name | Description | Argument Specifications |
|----------------------------------------------------------------|------------------------------------------------------------------------------|---------------------------------------------------|
| name | Create a server with this given name | Default: `<generated>` |
| project-id | Project ID to use. If none is passed the default project ID will be used | |
| type | Create a server of the given type | |
| os-id | Create a server with the given os_id | |
| enable-vpc | Activate the Private Network feature for this server | |
| commitment-type | Activate commitment for this server | One of: `duration_24h`, `renewed_monthly`, `none` |
| public-bandwidth-bps | Public bandwidth to configure for this server. Expressed in bits per second. | |
| runner-configuration.name | | |
| runner-configuration.url | | |
| runner-configuration.token | | |
| runner-configuration.provider | | One of: `unknown_provider`, `github`, `gitlab` |
| applied-runner-configurations.runner-configuration-ids.{index} | | |
| enable-kext | Enable kernel extensions | |
| zone | Zone to target. If none is passed will use default zone from the config | Default: `fr-par-1`<br />One of: `fr-par-3` |
| Name | Description | Argument Specifications |
|----------------------------------------------------------------|------------------------------------------------------------------------------|-----------------------------------------------------|
| name | Create a server with this given name | Default: `<generated>` |
| project-id | Project ID to use. If none is passed the default project ID will be used | |
| type | Create a server of the given type | |
| os-id | Create a server with the given os_id | |
| enable-vpc | Activate the Private Network feature for this server | |
| commitment-type | Activate commitment for this server | One of: `duration_24h`, `renewed_monthly`, `none` |
| public-bandwidth-bps | Public bandwidth to configure for this server. Expressed in bits per second. | |
| runner-configuration.name | | |
| runner-configuration.url | | |
| runner-configuration.token | | |
| runner-configuration.provider | | One of: `unknown_provider`, `github`, `gitlab` |
| runner-configuration.download-runner | | |
| runner-configuration.action | | One of: `unknown_action`, `remove`, `update`, `add` |
| runner-configuration.id | | |
| runner-configuration.labels.{index} | | |
| applied-runner-configurations.runner-configuration-ids.{index} | | |
| enable-kext | Enable kernel extensions | |
| zone | Zone to target. If none is passed will use default zone from the config | Default: `fr-par-1`<br />One of: `fr-par-3` |



Expand Down
30 changes: 30 additions & 0 deletions internal/namespaces/applesilicon/v1alpha1/applesilicon_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,36 @@ func appleSiliconServerCreate() *core.Command {
"gitlab",
},
},
{
Name: "runner-configuration.download-runner",
Required: false,
Deprecated: false,
Positional: false,
},
{
Name: "runner-configuration.action",
Required: false,
Deprecated: false,
Positional: false,
EnumValues: []string{
"unknown_action",
"remove",
"update",
"add",
},
},
{
Name: "runner-configuration.id",
Required: false,
Deprecated: false,
Positional: false,
},
{
Name: "runner-configuration.labels.{index}",
Required: false,
Deprecated: false,
Positional: false,
},
{
Name: "applied-runner-configurations.runner-configuration-ids.{index}",
Required: false,
Expand Down
Loading