You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NOTE: If the repository name (ex: plugin-name-dynamic) in the namespace specified by `REGISTRY_NAMESPACE` does not exist, the dynamic plugin factory will create a new registry. Depending on the registry specified by `REGISTRY_URL`, the newly created repository may be private. This will be the case for `quay.io`.
389
+
388
390
## Examples
389
391
390
392
See the `examples` directory for complete configuration examples:
@@ -420,6 +422,50 @@ podman run --rm -it \
420
422
--no-push-images
421
423
```
422
424
425
+
#### Package Verification
426
+
427
+
Afterwards, you can verify that the plugin functions correctly by dynamically installing them into your RHDH instance by adding the newly published plugins into the `dynamic-plugins.yaml` file of your RHDH instance. You may need to add additional `pluginConfig` fields if your plugin requires additional configurations.
We will show an example of how to verify with [RHDH Local](https://github.com/redhat-developer/rhdh-local).
451
+
452
+
1. If the OCI images were pushed to a previously non-existent repository, please ensure it's now a public repository (or you can setup podman credentials for subsequent steps)
453
+
2. Create a `dynamic-plugins.override.yaml` file with the plugin config above. Replace the `{REGISTRY_NAMESPACE}` with the registry namespace used to publish the plugins.
454
+
3. Import a catalog entity the `todo` plugin with. We will be importing the backstage repository via `config/app-config/app-config.local.yaml`:
4. Start the RHDH instance with `podman compose up -d`
466
+
5. Navigate to <http://localhost:7007/catalog/default/component/backstage/todo> and verify that the `backstage` catalog entity appears, and a `todo` tab appears containing a table of all `TODO` comments in the source code of the catalog entity.
467
+
6. Clean up with `podman compose down --volumes`
468
+
423
469
### Gitlab Workspace Example
424
470
425
471
Located at [`examples/example-config-gitlab`](./examples/example-config-gitlab/)
0 commit comments