Ce contenu n'est pas disponible dans la langue sélectionnée.

Jfrog Artifactory plugin for Backstage


Red Hat Plug-ins for Backstage 2.0

The Jfrog Artifactory plugin for Backstage

Red Hat Customer Content Services

Abstract

The Jfrog Artifactory plugin displays information about your container images within the Jfrog Artifactory registry.

Chapter 1. Jfrog Artifactory plugin for Backstage

The Jfrog Artifactory plugin displays information about your container images within the Jfrog Artifactory registry.

1.1. For administrators

1.1.1. Installing and configuring the Jfrog Artifactory plugin

The Red Hat Plug-ins for Backstage (RHPIB) packages are hosted in a separate NPM registry, which is maintained by Red Hat. To use these packages, you must adjust your NPM configuration to pull the @redhat scoped packages:

# update your .npmrc or .yarnrc file
yarn config set "@redhat:registry" https://npm.registry.redhat.com
# then pull a package
yarn add @redhat/backstage-plugin-quay

For more information, see npm docs.

Creating a .npmrc file ensures that all the packages are scoped under @redhat and are fetched from Red Hat’s NPM registry, while the rest dependencies remain sourced from other registry.

Procedure

  1. Run the following command to install the Jfrog Artifactory plugin:

    yarn workspace app add @redhat/backstage-plugin-jfrog-artifactory
  2. Set the proxy to the desired Artifactory server in the app-config.yaml file as follows:

    proxy:
        '/jfrog-artifactory/api':
        target: 'http://<hostname>:8082' # or https://<customer>.jfrog.io
        headers:
            # Authorization: 'Bearer <YOUR TOKEN>'
            # Change to "false" in case of using self hosted artifactory instance with a self-signed certificate
        secure: true
  3. Enable the JFROG ARTIFACTORY tab on the entity view page in packages/app/src/components/catalog/EntityPage.tsx file as follows:

    /* highlight-add-start */
    import {
        isJfrogArtifactoryAvailable,
        JfrogArtifactoryPage,
    } from "@redhat/backstage-plugin-jfrog-artifactory";
    
    /* highlight-add-end */
    
    const serviceEntityPage = (
        <EntityPageLayout>
            // ...
            {/* highlight-add-start */}
            <EntityLayout.Route
                if={isJfrogArtifactoryAvailable}
                path="/jfrog-artifactory"
                title="Jfrog Artifactory"
            >
                <JfrogArtifactoryPage />
            </EntityLayout.Route>
            {/* highlight-add-end */}
        </EntityPageLayout>
    );
  4. Annotate your entity using the following annotations:

    metadata:
        annotations:
            'jfrog-artifactory/image-name': '<IMAGE-NAME>'

1.2. For users

1.2.1. Using the Jfrog Artifactory plugin in Backstage

Jfrog Artifactory is a front-end plugin that enables you to view the information about the container images that are available in your Jfrog Artifactory registry.

Prerequisites

Procedure

  1. Open your Backstage application and select a component from the Catalog page.
  2. Go to the JFROG ARTIFACTORY tab.

    jfrog-tab

    The JFROG ARTIFACTORY tab contains a list of container images and related information, such as VERSION, REPOSITORIES, MANIFEST, MODIFIED, and SIZE.

Legal Notice

Copyright © 2024 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2026 Red Hat
Retour au début