8000 docs: simplify JFrog integration docs by matifali · Pull Request #11787 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

docs: simplify JFrog integration docs #11787

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Jan 26, 2024
Prev Previous commit
fmt
  • Loading branch information
matifali committed Jan 26, 2024
commit 3b5bc0a0a92b5b255c3092acce22cda5f30cfdf5
15 changes: 12 additions & 3 deletions docs/guides/artifactory-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,14 @@ and self-hosted(on-premises) Artifactory instances.

To set this up, follow these steps:

1. 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) with scope `applied-permissions/admin`.
2. Create or edit a Coder template and use the [JFrog-Token](https://registry.coder.com/modules/jfrog-token) module to configure the integration and pass the admin token. It is recommended to store the token in a sensitive terraform variable to prevent it from being displayed in plain text in the terraform state.
1. 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)
with scope `applied-permissions/admin`.
2. Create or edit a Coder template and use the
[JFrog-Token](https://registry.coder.com/modules/jfrog-token) module to
configure the integration and pass the admin token. It is recommended to
store the token in a sensitive terraform variable to prevent it from being
displayed in plain text in the terraform state.

```hcl
variable "artifactory_access_token" {
Expand Down Expand Up @@ -149,7 +155,10 @@ The admin-level access token is used to provision user tokens and is never expos
developers or stored in workspaces.
</blockquote>

If you do not want to use the official modules, you can check example template that uses Docker as the underlying compute [here](https://github.com/coder/coder/tree/main/examples/jfrog/docker). The same concepts apply to all compute types.
If you do not want to use the official modules, you can check example template
that uses Docker as the underlying compute
[here](https://github.com/coder/coder/tree/main/examples/jfrog/docker). The same
concepts apply to all compute types.

## Offline Deployments

Expand Down
0