mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: per template opt into cached terraform directories (#20609)
For experimental and dogfood purposes, this adds the ability to opt in a single template. Leaving the rest of the templates as is. For GA, this setting might be removed or changed.
This commit is contained in:
Generated
+16
-7
@@ -80,7 +80,8 @@ To include deprecated templates, specify `deprecated:true` in the search query.
|
||||
"time_til_dormant_autodelete_ms": 0,
|
||||
"time_til_dormant_ms": 0,
|
||||
"updated_at": "2019-08-24T14:15:22Z",
|
||||
"use_classic_parameter_flow": true
|
||||
"use_classic_parameter_flow": true,
|
||||
"use_terraform_workspace_cache": true
|
||||
}
|
||||
]
|
||||
```
|
||||
@@ -138,6 +139,7 @@ Restarts will only happen on weekdays in this list on weeks which line up with W
|
||||
|`» time_til_dormant_ms`|integer|false|||
|
||||
|`» updated_at`|string(date-time)|false|||
|
||||
|`» use_classic_parameter_flow`|boolean|false|||
|
||||
|`» use_terraform_workspace_cache`|boolean|false|||
|
||||
|
||||
#### Enumerated Values
|
||||
|
||||
@@ -266,7 +268,8 @@ curl -X POST http://coder-server:8080/api/v2/organizations/{organization}/templa
|
||||
"time_til_dormant_autodelete_ms": 0,
|
||||
"time_til_dormant_ms": 0,
|
||||
"updated_at": "2019-08-24T14:15:22Z",
|
||||
"use_classic_parameter_flow": true
|
||||
"use_classic_parameter_flow": true,
|
||||
"use_terraform_workspace_cache": true
|
||||
}
|
||||
```
|
||||
|
||||
@@ -416,7 +419,8 @@ curl -X GET http://coder-server:8080/api/v2/organizations/{organization}/templat
|
||||
"time_til_dormant_autodelete_ms": 0,
|
||||
"time_til_dormant_ms": 0,
|
||||
"updated_at": "2019-08-24T14:15:22Z",
|
||||
"use_classic_parameter_flow": true
|
||||
"use_classic_parameter_flow": true,
|
||||
"use_terraform_workspace_cache": true
|
||||
}
|
||||
```
|
||||
|
||||
@@ -832,7 +836,8 @@ To include deprecated templates, specify `deprecated:true` in the search query.
|
||||
"time_til_dormant_autodelete_ms": 0,
|
||||
"time_til_dormant_ms": 0,
|
||||
"updated_at": "2019-08-24T14:15:22Z",
|
||||
"use_classic_parameter_flow": true
|
||||
"use_classic_parameter_flow": true,
|
||||
"use_terraform_workspace_cache": true
|
||||
}
|
||||
]
|
||||
```
|
||||
@@ -890,6 +895,7 @@ Restarts will only happen on weekdays in this list on weeks which line up with W
|
||||
|`» time_til_dormant_ms`|integer|false|||
|
||||
|`» updated_at`|string(date-time)|false|||
|
||||
|`» use_classic_parameter_flow`|boolean|false|||
|
||||
|`» use_terraform_workspace_cache`|boolean|false|||
|
||||
|
||||
#### Enumerated Values
|
||||
|
||||
@@ -1036,7 +1042,8 @@ curl -X GET http://coder-server:8080/api/v2/templates/{template} \
|
||||
"time_til_dormant_autodelete_ms": 0,
|
||||
"time_til_dormant_ms": 0,
|
||||
"updated_at": "2019-08-24T14:15:22Z",
|
||||
"use_classic_parameter_flow": true
|
||||
"use_classic_parameter_flow": true,
|
||||
"use_terraform_workspace_cache": true
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1140,7 +1147,8 @@ curl -X PATCH http://coder-server:8080/api/v2/templates/{template} \
|
||||
"time_til_dormant_ms": 0,
|
||||
"update_workspace_dormant_at": true,
|
||||
"update_workspace_last_used_at": true,
|
||||
"use_classic_parameter_flow": true
|
||||
"use_classic_parameter_flow": true,
|
||||
"use_terraform_workspace_cache": true
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1207,7 +1215,8 @@ curl -X PATCH http://coder-server:8080/api/v2/templates/{template} \
|
||||
"time_til_dormant_autodelete_ms": 0,
|
||||
"time_til_dormant_ms": 0,
|
||||
"updated_at": "2019-08-24T14:15:22Z",
|
||||
"use_classic_parameter_flow": true
|
||||
"use_classic_parameter_flow": true,
|
||||
"use_terraform_workspace_cache": true
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user