chore: update metadata (#54)
This commit is contained in:
committed by
GitHub
parent
ab527c8ffd
commit
c3d8a9949c
@@ -12,11 +12,34 @@ tags: [integration]
|
||||
|
||||
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
|
||||
jfrog_url = "https://YYYY.jfrog.io"
|
||||
artifactory_access_token = var.artifactory_access_token # An admin access token
|
||||
package_managers = {
|
||||
"npm": "npm-remote",
|
||||
"go": "go-remote",
|
||||
"pypi": "pypi-remote"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Get a JFrog access token from your Artifactory instance. The token must have admin permissions. It is recommended to store the token in a secret terraform variable.
|
||||
|
||||
```hcl
|
||||
variable "artifactory_access_token" {
|
||||
type = string
|
||||
sensitive = true
|
||||
}
|
||||
```
|
||||
|
||||

|
||||
|
||||
## Examples
|
||||
|
||||
### Configure npm, go, and pypi to use Artifactory
|
||||
### Configure npm, go, and pypi to use Artifactory local repositories
|
||||
|
||||
```hcl
|
||||
module "jfrog" {
|
||||
@@ -31,14 +54,3 @@ module "jfrog" {
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Authentication
|
||||
|
||||
Get a JFrog access token from your Artifactory instance. The token must have admin permissions. It is recommended to store the token in a secret terraform variable.
|
||||
|
||||
```hcl
|
||||
variable "artifactory_access_token" {
|
||||
type = string
|
||||
sensitive = true
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user