File tree 3 files changed +6
-20
lines changed
3 files changed +6
-20
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Automatically install [Visual Studio Code Server](https://code.visualstudio.com/
15
15
module "vscode-web" {
16
16
count = data.coder_workspace.me.start_count
17
17
source = "registry.coder.com/modules/vscode-web/coder"
18
- version = "1.0.30 "
18
+ version = "1.0.29 "
19
19
agent_id = coder_agent.example.id
20
20
accept_license = true
21
21
}
@@ -31,7 +31,7 @@ module "vscode-web" {
31
31
module "vscode-web" {
32
32
count = data.coder_workspace.me.start_count
33
33
source = "registry.coder.com/modules/vscode-web/coder"
34
- version = "1.0.30 "
34
+ version = "1.0.29 "
35
35
agent_id = coder_agent.example.id
36
36
install_prefix = "/home/coder/.vscode-web"
37
37
folder = "/home/coder"
@@ -45,7 +45,7 @@ module "vscode-web" {
45
45
module "vscode-web" {
46
46
count = data.coder_workspace.me.start_count
47
47
source = "registry.coder.com/modules/vscode-web/coder"
48
- version = "1.0.30 "
48
+ version = "1.0.29 "
49
49
agent_id = coder_agent.example.id
50
50
extensions = ["github.copilot", "ms-python.python", "ms-toolsai.jupyter"]
51
51
accept_license = true
@@ -60,7 +60,7 @@ Configure VS Code's [settings.json](https://code.visualstudio.com/docs/getstarte
60
60
module "vscode-web" {
61
61
count = data.coder_workspace.me.start_count
62
62
source = "registry.coder.com/modules/vscode-web/coder"
63
- version = "1.0.30 "
63
+ version = "1.0.29 "
64
64
agent_id = coder_agent.example.id
65
65
extensions = ["dracula-theme.theme-dracula"]
66
66
settings = {
Original file line number Diff line number Diff line change @@ -59,12 +59,6 @@ variable "install_prefix" {
59
59
default = " /tmp/vscode-web"
60
60
}
61
61
62
- variable "vscode_web_commit_id" {
63
- type = string
64
- description = " Specify the commit ID of the VS Code Web binary to pin to a specific version. If left empty, the latest stable version is used."
65
- default = " "
66
- }
67
-
68
62
variable "extensions" {
69
63
type = list (string )
70
64
description = " A list of extensions to install."
@@ -157,7 +151,6 @@ resource "coder_script" "vscode-web" {
157
151
FOLDER : var.folder,
158
152
AUTO_INSTALL_EXTENSIONS : var.auto_install_extensions,
159
153
SERVER_BASE_PATH : local.server_base_path,
160
- VSCODE_WEB_COMMIT_ID : var.vscode_web_commit_id,
161
154
})
162
155
run_on_start = true
163
156
Original file line number Diff line number Diff line change @@ -59,15 +59,8 @@ case "$ARCH" in
59
59
;;
60
60
esac
61
61
62
- # Check if a specific VS Code Web commit ID was provided
63
- if [ -n " ${VSCODE_WEB_COMMIT_ID} " ]; then
64
- HASH=" ${VSCODE_WEB_COMMIT_ID} "
65
- else
66
- HASH=$( curl -fsSL https://update.code.visualstudio.com/api/commits/stable/server-linux-$ARCH -web | cut -d ' "' -f 2)
67
- fi
68
- printf " $$ {BOLD}VS Code Web commit id version $HASH .\n"
69
-
70
- output=$( curl -fsSL " https://vscode.download.prss.microsoft.com/dbazure/download/stable/$HASH /vscode-server-linux-$ARCH -web.tar.gz" | tar -xz -C " ${INSTALL_PREFIX} " --strip-components 1)
62
+ HASH=$( curl -fsSL https://update.code.visualstudio.com/api/commits/stable/server-linux-$ARCH -web | cut -d ' "' -f 2)
63
+ output=$( curl -fsSL https://vscode.download.prss.microsoft.com/dbazure/download/stable/$HASH /vscode-server-linux-$ARCH -web.tar.gz | tar -xz -C ${INSTALL_PREFIX} --strip-components 1)
71
64
72
65
if [ $? -ne 0 ]; then
73
66
echo " Failed to install Microsoft Visual Studio Code Server: $output "
You can’t perform that action at this time.
0 commit comments