Este contenido no está disponible en el idioma seleccionado.
Chapter 5. Enable and configure the Nexus Repository Manager plugin
Use the Nexus Repository Manager plugin to view build artifacts in your Developer Hub application. You can find this community-sourced plugin in the Community plugins migration table.
5.1. Enable the Nexus Repository Manager plugin Copiar enlaceEnlace copiado en el portapapeles!
To enable the Nexus Repository Manager plugin, set the disabled property to false.
Procedure
Set the value to
falseas follows:global: dynamic: includes: - dynamic-plugins.default.yaml plugins: - package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-nexus-repository-manager:<tag> disabled: falseThe
<tag>variable is your RHDH application's version of Backstage and the plugin version, in the format:bs_<backstage-version>__<plugin-version>(note the double underscore delimiter).To find the correct image tag for
<tag>:- Look in the RHDH release notes preface for your Backstage version.
-
Locate the plugin version for paths starting with
oci://ghcr.iowithin one of the tables in the Dynamic Plugins Reference guide.
For example, because RHDH 1.9 is based on Backstage 1.45.3, the tag will have the format bs_1.45.3__<plugin-version>.
To ensure environment stability, use a SHA256 digest instead of a version tag. See Determining SHA256 Digests.
5.2. Configure the Nexus Repository Manager plugin Copiar enlaceEnlace copiado en el portapapeles!
Configure the Nexus Repository Manager plugin to display artifact information from your Nexus Repository Manager instance.
Procedure
Set the proxy to the required Nexus Repository Manager server in the
app-config.yamlfile as follows:proxy: '/nexus-repository-manager': target: 'https://<NEXUS_REPOSITORY_MANAGER_URL>' headers: X-Requested-With: 'XMLHttpRequest' # Uncomment the following line to access a private Nexus Repository Manager using a token # Authorization: 'Bearer <YOUR TOKEN>' changeOrigin: true # Change to "false" in case of using self hosted Nexus Repository Manager instance with a self-signed certificate secure: trueOptional: Change the base URL of Nexus Repository Manager proxy as follows:
nexusRepositoryManager: # default path is `/nexus-repository-manager` proxyPath: /custom-pathOptional: Enable the following experimental annotations:
nexusRepositoryManager: experimentalAnnotations: trueAnnotate your entity using the following annotations:
metadata: annotations: # insert the chosen annotations here # example nexus-repository-manager/docker.image-name: `<ORGANIZATION>/<REPOSITORY>`,