You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 15, 2025. It is now read-only.
username_field = "username" # If you are using GitHub to login to both Coder and Artifactory, use username_field = "username"
26
25
package_managers = {
27
26
"npm": "npm",
@@ -106,6 +105,25 @@ jf pip install requests
106
105
pip install requests
107
106
```
108
107
108
+
### Configure code-server with JFrog extension
109
+
110
+
The [JFrog extension](https://open-vsx.org/extension/JFrog/jfrog-vscode-extension) for VS Code allows you to interact with Artifactory from within the IDE.
username_field = "username" # If you are using GitHub to login to both Coder and Artifactory, use username_field = "username"
118
+
configure_code_server = true # Add JFrog extension configuration for code-server
119
+
package_managers = {
120
+
"npm": "npm",
121
+
"go": "go",
122
+
"pypi": "pypi"
123
+
}
124
+
}
125
+
```
126
+
109
127
### Using the access token in other terraform resources
110
128
111
129
JFrog Access token is also available as a terraform output. You can use it in other terraform resources. For example, you can use it to configure an [Artifactory docker registry](https://jfrog.com/help/r/jfrog-artifactory-documentation/docker-registry) with the [docker terraform provider](https://registry.terraform.io/providers/kreuzwerker/docker/latest/docs).
Get a JFrog access token from your Artifactory instance. The token must be an [admin token](https://registry.terraform.io/providers/jfrog/artifactory/latest/docs#access-token). It is recommended to store the token in a secret terraform variable.
artifactory_access_token = var.artifactory_access_token # An admin access token
53
+
package_managers = {
54
+
"npm": "npm-local",
55
+
"go": "go-local",
56
+
"pypi": "pypi-local"
57
+
}
58
58
}
59
59
```
60
60
@@ -72,6 +72,25 @@ go get github.com/golang/example/hello
72
72
pip install requests
73
73
```
74
74
75
+
### Configure code-server with JFrog extension
76
+
77
+
The [JFrog extension](https://open-vsx.org/extension/JFrog/jfrog-vscode-extension) for VS Code allows you to interact with Artifactory from within the IDE.
configure_code_server = true # Add JFrog extension configuration for code-server
86
+
package_managers = {
87
+
"npm": "npm",
88
+
"go": "go",
89
+
"pypi": "pypi"
90
+
}
91
+
}
92
+
```
93
+
75
94
### Using the access token in other terraform resources
76
95
77
96
JFrog Access token is also available as a terraform output. You can use it in other terraform resources. For example, you can use it to configure an [Artifactory docker registry](https://jfrog.com/help/r/jfrog-artifactory-documentation/docker-registry) with the [docker terraform provider](https://registry.terraform.io/providers/kreuzwerker/docker/latest/docs).
0 commit comments