You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
modules/jfrog
Muhammad Atif Ali 83a4e40a6d
add jfrog integration module (#50)
* add jfrog integration module

* update RAEDME

* cleanup

* fixup!

* cleanup

* fix

* fix

* fixup!

* fixup

* use owner_email

* fix script

* add screenshot

* update docs

* fix permission

* fix install script permission

* add tests

* fix typo

* use new config for npm

* Fix JFrog test

* add example to use

* trim https://

* cleanup!

* update README

* all test pass

* fix README.md

* fmt

---------

Co-authored-by: Kyle Carberry <kyle@carberry.com>
2 years ago
..
README.md add jfrog integration module (#50) 2 years ago
main.test.ts add jfrog integration module (#50) 2 years ago
main.tf add jfrog integration module (#50) 2 years ago
run.sh add jfrog integration module (#50) 2 years ago

README.md

display_name description icon maintainer_github partner_github verified tags
JFrog Install the JF CLI and authenticate with Artifactory ../.icons/jfrog.svg coder jfrog true
integration

JFrog

Install the JF CLI and authenticate package managers with Artifactory.

JFrog

Examples

Configure npm, go, and pypi to use Artifactory

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-local",
      "go": "go-local",
      "pypi": "pypi-local"
    }
}

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.

variable "artifactory_access_token" {
    type      = string
    sensitive = true
}