Lower macOS Namespace runner default
This commit is contained in:
parent
5c57ac3655
commit
6300c661ff
5 changed files with 4 additions and 4 deletions
Binary file not shown.
|
|
@ -144,7 +144,7 @@ instances:
|
||||||
- labels: ["namespace-profile-macos-large"]
|
- labels: ["namespace-profile-macos-large"]
|
||||||
min_idle: 0
|
min_idle: 0
|
||||||
ttl: "90m"
|
ttl: "90m"
|
||||||
machine_type: "12x28"
|
machine_type: "6x14"
|
||||||
- labels: ["namespace-profile-windows-large"]
|
- labels: ["namespace-profile-windows-large"]
|
||||||
min_idle: 0
|
min_idle: 0
|
||||||
ttl: "45m"
|
ttl: "45m"
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ instances:
|
||||||
- labels: ["namespace-profile-macos-large"]
|
- labels: ["namespace-profile-macos-large"]
|
||||||
min_idle: 0
|
min_idle: 0
|
||||||
ttl: "90m"
|
ttl: "90m"
|
||||||
machine_type: "12x28"
|
machine_type: "6x14"
|
||||||
- labels: ["namespace-profile-windows-large"]
|
- labels: ["namespace-profile-windows-large"]
|
||||||
min_idle: 0
|
min_idle: 0
|
||||||
ttl: "45m"
|
ttl: "45m"
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ instances:
|
||||||
- labels: ["namespace-profile-macos-large"]
|
- labels: ["namespace-profile-macos-large"]
|
||||||
min_idle: 0
|
min_idle: 0
|
||||||
ttl: "90m"
|
ttl: "90m"
|
||||||
machine_type: "12x28"
|
machine_type: "6x14"
|
||||||
- labels: ["namespace-profile-windows-large"]
|
- labels: ["namespace-profile-windows-large"]
|
||||||
min_idle: 0
|
min_idle: 0
|
||||||
ttl: "45m"
|
ttl: "45m"
|
||||||
|
|
|
||||||
|
|
@ -116,7 +116,7 @@ func (d *Dispatcher) LaunchRunner(ctx context.Context, req LaunchRequest) (strin
|
||||||
// Compute macOS shapes differ from the Linux "run" defaults. If the request
|
// Compute macOS shapes differ from the Linux "run" defaults. If the request
|
||||||
// didn't specify a machine type, ensure we pick a macOS-valid default.
|
// didn't specify a machine type, ensure we pick a macOS-valid default.
|
||||||
if machineType == "" || machineType == d.opts.DefaultMachine {
|
if machineType == "" || machineType == d.opts.DefaultMachine {
|
||||||
machineType = "12x28"
|
machineType = "6x14"
|
||||||
}
|
}
|
||||||
|
|
||||||
// Prefer the Compute API path because it uses the service token (NSC_TOKEN_FILE)
|
// Prefer the Compute API path because it uses the service token (NSC_TOKEN_FILE)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue