From d8d18b50f44f093a465a1e223db6e6b7ff771f94 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Tue, 26 Sep 2023 15:38:24 +0300 Subject: [PATCH] update RAEDME --- jfrog/README.md | 54 +++++++------------------------------------------ 1 file changed, 7 insertions(+), 47 deletions(-) diff --git a/jfrog/README.md b/jfrog/README.md index 119eb28..3583e6f 100644 --- a/jfrog/README.md +++ b/jfrog/README.md @@ -10,58 +10,18 @@ tags: [integration] # JFrog - - - - -```hcl -module "jfrog" { - source = "https://registry.coder.com/modules/jfrog" - -} -``` - -## Examples - -### Example 1 - -Install the Dracula theme from [OpenVSX](https://open-vsx.org/): - -```hcl -module "jfrog" { - source = "https://registry.coder.com/modules/jfrog" - agent_id = coder_agent.example.id - extensions = [ - "dracula-theme.theme-dracula" - ] -} -``` - -Enter the `.` into the extensions array and code-server will automatically install on start. - -### Example 2 - -Configure VS Code's [settings.json](https://code.visualstudio.com/docs/getstarted/settings#_settingsjson) file: +Install the JF CLI and authenticate package managers with Artifactory. ```hcl module "jfrog" { source = "https://registry.coder.com/modules/jfrog" agent_id = coder_agent.example.id - extensions = [ "dracula-theme.theme-dracula" ] - settings = { - "workbench.colorTheme" = "Dracula" + jfrog_host = "YYYY.jfrog.io" + artifactory_access_token = "XXXX" # An admin access token + package_managers = { + "npm": "npm-local", + "go": "go-local", + "pypi": "pypi-local" } } ``` - -### Example 3 - -Run code-server in the background, don't fetch it from GitHub: - -```hcl -module "jfrog" { - source = "https://registry.coder.com/modules/jfrog" - agent_id = coder_agent.example.id - offline = true -} -```