Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 99979a7

Browse files
authored
docs: update jfrog-artifactory integration docs (#17413)
1 parent 669e790 commit 99979a7

File tree

1 file changed

+20
-28
lines changed

1 file changed

+20
-28
lines changed

docs/admin/integrations/jfrog-artifactory.md

+20-28
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
# JFrog Artifactory Integration
22

3-
<div>
4-
<a href="https://github.com/matifali" style="text-decoration: none; color: inherit;">
5-
<span style="vertical-align:middle;">M Atif Ali</span>
6-
<img src="https://github.com/matifali.png" alt="matifali" width="24px" height="24px" style="vertical-align:middle; margin: 0px;"/>
7-
</a>
8-
</div>
9-
January 24, 2024
10-
11-
---
12-
133
Use Coder and JFrog Artifactory together to secure your development environments
144
without disturbing your developers' existing workflows.
155

@@ -60,8 +50,8 @@ To set this up, follow these steps:
6050
```
6151
6252
1. Create a new Application Integration by going to
63-
`https://JFROG_URL/ui/admin/configuration/integrations/new` and select the
64-
Application Type as the integration you created in step 1.
53+
`https://JFROG_URL/ui/admin/configuration/integrations/app-integrations/new` and select the
54+
Application Type as the integration you created in step 1 or `Custom Integration` if you are using SaaS instance i.e. example.jfrog.io.
6555

6656
1. Add a new [external authentication](../../admin/external-auth.md) to Coder by setting these
6757
environment variables in a manner consistent with your Coder deployment. Replace `JFROG_URL` with your JFrog Artifactory base URL:
@@ -82,16 +72,18 @@ To set this up, follow these steps:
8272

8373
```tf
8474
module "jfrog" {
85-
source = "registry.coder.com/modules/jfrog-oauth/coder"
86-
version = "1.0.0"
87-
agent_id = coder_agent.example.id
88-
jfrog_url = "https://jfrog.example.com"
89-
configure_code_server = true # this depends on the code-server
75+
count = data.coder_workspace.me.start_count
76+
source = "registry.coder.com/modules/jfrog-oauth/coder"
77+
version = "1.0.19"
78+
agent_id = coder_agent.example.id
79+
jfrog_url = "https://example.jfrog.io"
9080
username_field = "username" # If you are using GitHub to login to both Coder and Artifactory, use username_field = "username"
81+
9182
package_managers = {
92-
"npm": "npm",
93-
"go": "go",
94-
"pypi": "pypi"
83+
npm = ["npm", "@scoped:npm-scoped"]
84+
go = ["go", "another-go-repo"]
85+
pypi = ["pypi", "extra-index-pypi"]
86+
docker = ["example-docker-staging.jfrog.io", "example-docker-production.jfrog.io"]
9587
}
9688
}
9789
```
@@ -117,16 +109,16 @@ To set this up, follow these steps:
117109
}
118110
119111
module "jfrog" {
120-
source = "registry.coder.com/modules/jfrog-token/coder"
121-
version = "1.0.0"
122-
agent_id = coder_agent.example.id
123-
jfrog_url = "https://example.jfrog.io"
124-
configure_code_server = true # this depends on the code-server
112+
source = "registry.coder.com/modules/jfrog-token/coder"
113+
version = "1.0.30"
114+
agent_id = coder_agent.example.id
115+
jfrog_url = "https://XXXX.jfrog.io"
125116
artifactory_access_token = var.artifactory_access_token
126117
package_managers = {
127-
"npm": "npm",
128-
"go": "go",
129-
"pypi": "pypi"
118+
npm = ["npm", "@scoped:npm-scoped"]
119+
go = ["go", "another-go-repo"]
120+
pypi = ["pypi", "extra-index-pypi"]
121+
docker = ["example-docker-staging.jfrog.io", "example-docker-production.jfrog.io"]
130122
}
131123
}
132124
```

0 commit comments

Comments
 (0)