Skip to content
Closed
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Secrets must be manually created in the namespace.
|upstream.backstage.image.repository
|{backstage} image repository.
|string
|"rhdh/rhdh-hub-rhel9@sha256"
|"rhdh/rhdh-hub-rhel10 @sha256"

|upstream.backstage.image.tag
a|{backstage} image tag.
Expand Down Expand Up @@ -510,7 +510,7 @@ using your own external database is recommended for production.
|upstream.postgresql.image
|Changes default PostgreSQL image location.
|object
|{"registry":"registry.redhat.io","repository":"rhel9/postgresql-15@sha256"}
|{"registry":"registry.redhat.io","repository":"rhel10/postgresql-18@sha256"}

|upstream.service
|Service parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,42 @@
= Enable the Nexus Repository Manager plugin
Comment thread
deerskindoll marked this conversation as resolved.

[role="_abstract"]
To enable the Nexus Repository Manager plugin, set the `disabled` property to `false`.
Enable the Nexus Repository Manager plugin and configure its frontend mount point to view build artifact details on entity pages in {product-short}.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we clarify that this plugin in community-supported and available from the Optional Extras catalog in 2.1?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could also just yeet this whole thing. and add Nexus to the list of plugins we'll have to remove from docs. or start slapping a huge warning on the procedures that they're for plugins that are community supported


.Prerequisites
* You have a running Nexus Repository Manager instance.

.Procedure
* To enable the Nexus Repository Manager plugin, set the `disabled` property to `false` in your `dynamic-plugins.yaml` file as follows:
* Add the following configuration to your `dynamic-plugins.yaml` file to enable the plugin and configure its frontend mount point:
+
[source,yaml,subs="+quotes"]
----
plugins:
- package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-nexus-repository-manager:__<tag>__
disabled: false
pluginConfig:
Comment thread
deerskindoll marked this conversation as resolved.
dynamicPlugins:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

frontend:
backstage-community.plugin-nexus-repository-manager:
mountPoints:
- mountPoint: entity.page.image-registry/cards
importName: NexusRepositoryManagerPage
config:
layout:
gridColumn: 1 / -1
if:
anyOf:
- isNexusRepositoryManagerAvailable
----
+
include::{docdir}/artifacts/snip-tag-for-OCI-package-paths.adoc[]
+
where:

`pluginConfig`:: Configures how the frontend component renders in {product-short}.
`mountPoint: entity.page.image-registry/cards`:: Mounts the artifact view on the *Image Registry* tab of the entity page.
`importName: NexusRepositoryManagerPage`:: The frontend component that displays artifact information.
`isNexusRepositoryManagerAvailable`:: A condition that renders the component only for entities that have Nexus Repository Manager annotations.

.Additional sources
* link:https://github.com/redhat-developer/rhdh-plugin-export-overlays/blob/main/workspaces/nexus-repository-manager/metadata/backstage-community-plugin-nexus-repository-manager.yaml#L30[Latest Nexus Repository Manager metadata for {product-very-short}]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for 2.1 you probably want to use the release-2.1 branch instead of main.

Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ For components in the {product} catalog, you can view build artifacts from the N
.Procedure

. Open your {product-short} application and select a component from the *Catalog* page.
. Go to the *BUILD ARTIFACTS* tab.
. Go to the *Image Registry* tab.
+
The *BUILD ARTIFACTS* tab contains a list of build artifacts and related information, such as *VERSION*, *REPOSITORY*, *REPOSITORY TYPE*, *MANIFEST*, *MODIFIED*, and *SIZE*.
The *Image Registry* tab displays artifact details from Nexus Repository Manager, such as *Version*, *Artifact*, *Repository Type*, *Checksum*, *Modified*, and *Size*.
Comment thread
deerskindoll marked this conversation as resolved.
+
image::extend_using-dynamic-plugins-in-rhdh/nexus-repository-manager.png["Build Artifacts tab showing Nexus Repository Manager artifacts"]
image::extend_using-dynamic-plugins-in-rhdh/nexus-repository-manager.png["Image Registry tab showing Nexus Repository Manager artifacts"]
Loading