For the complete documentation index, see llms.txt. This page is also available as Markdown.

JFrog Artifactory Libs plugin

A frontend plugin provides a simple way to display generated artifact (library) details and allows you to copy library definition for the package managers.

Plugin details

Created by

Category

Discovery

Source

Type

Open-source plugin

Configuration

Application configuration YAML

This plugin requires a backend proxy configuration to make calls to JFrog with authentication.

  • Under the Plugins tab in Configure, go to app-config.yaml and Edit YAML to configure your JFrog endpoint in the target field and add your artifactory URL (used for UI browse links) in the format as shown below.

Secrets

  • You need to add the ARTIFACTORY_TOKEN as a Harness Secret.

  • Create secret in Harness to store API token, click on “New Secret Text” and enter values as shown below.

Layout

No action required

This plugin exports a page that you can use as a new JFrog page on the Sidenav. The following configuration is set by default in Layout under Sidenav Layout and you do not need to change anything:

This plugin exports the JFrogLibArtifactCard that you can show on the Overview tab of a service or any other layout page. The following configuration is set by default in Layout under Catalog Entities for Service and you do not need to change anything:

Also, you could add a conditional like isJfrogArtifactAvailable which is met when jfrog.com/artifactory-artifact annotation is present in the software component's catalog-info.yaml definition file.

Annotations

  • Artifact details are correlated to IDP entities using an annotation added in the entity's catalog-info.yaml file.

The version of a package is shown only when it has a release version (one which follows Semantic Versioning). And that is it! The plugin should now be integrated into your Harness IDP, and you should see the Artifact card when you navigate to the entity page where it is included.

  • For a docker image you define repository and artifact name. Both formats are supported:

Read more

Support

The plugin is owned by Vity and managed in this repository as an open-source project. Create a GitHub issue to report bugs or suggest new features for the plugin.

Last updated

Was this helpful?