Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(dynamic plugins): add missing... #834

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ The following preinstalled dynamic plugins are enabled by default:
* `@backstage-community/plugin-scaffolder-backend-module-regex`
* `@backstage/plugin-techdocs-backend`
* `@backstage/plugin-techdocs`
* `@red-hat-developer-hub/backstage-plugin-dynamic-home-page`

The dynamic plugins that require custom configuration are disabled by default.

Expand Down
14 changes: 11 additions & 3 deletions modules/dynamic-plugins/ref-rh-supported-plugins.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

= {company-name} supported plugins

{company-name} supports the following 18 plugins:
{company-name} supports the following 20 plugins:

[%header,cols=4*]
|===
Expand Down Expand Up @@ -36,6 +36,10 @@
`ARGOCD_AUTH_TOKEN2`


|Dynamic Home Page |`https://npmjs.com/package/@red-hat-developer-hub/backstage-plugin-dynamic-home-page/v/1.0.1[@red-hat-developer-hub/backstage-plugin-dynamic-home-page]` |1.0.1
|`./dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-dynamic-home-page`


|GitHub |`https://npmjs.com/package/@backstage/plugin-catalog-backend-module-github/v/0.7.6[@backstage/plugin-catalog-backend-module-github]` |0.7.6
|`./dynamic-plugins/dist/backstage-plugin-catalog-backend-module-github-dynamic`

Expand Down Expand Up @@ -74,6 +78,10 @@
`K8S_CLUSTER_TOKEN`


|Kubernetes |`https://npmjs.com/package/@backstage-community/plugin-scaffolder-backend-module-kubernetes/v/2.2.2[@backstage-community/plugin-scaffolder-backend-module-kubernetes]` |2.2.2
|`./dynamic-plugins/dist/backstage-community-plugin-scaffolder-backend-module-kubernetes-dynamic`


|OCM |`https://npmjs.com/package/@backstage-community/plugin-ocm/v/5.2.4[@backstage-community/plugin-ocm]` |5.2.4
|`./dynamic-plugins/dist/backstage-community-plugin-ocm`

Expand All @@ -96,7 +104,7 @@
|`./dynamic-plugins/dist/backstage-community-plugin-scaffolder-backend-module-quay-dynamic`


|RBAC |`https://npmjs.com/package/@backstage-community/plugin-rbac/v/1.33.2[@backstage-community/plugin-rbac]` |1.33.2
|RBAC |`https://npmjs.com/package/@backstage-community/plugin-rbac/v/1.33.4[@backstage-community/plugin-rbac]` |1.33.4
|`./dynamic-plugins/dist/backstage-community-plugin-rbac`


Expand All @@ -116,7 +124,7 @@
|`./dynamic-plugins/dist/backstage-plugin-techdocs-backend-dynamic`


|Tekton |`https://npmjs.com/package/@backstage-community/plugin-tekton/v/3.16.2[@backstage-community/plugin-tekton]` |3.16.2
|Tekton |`https://npmjs.com/package/@backstage-community/plugin-tekton/v/3.17.0[@backstage-community/plugin-tekton]` |3.17.0
|`./dynamic-plugins/dist/backstage-community-plugin-tekton`


Expand Down
6 changes: 4 additions & 2 deletions modules/dynamic-plugins/rhdh-supported-plugins.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@
"Analytics Provider Segment ","@backstage-community/plugin-analytics-provider-segment","Frontend","1.10.2","Production","./dynamic-plugins/dist/backstage-community-plugin-analytics-provider-segment","`SEGMENT_WRITE_KEY`;`SEGMENT_TEST_MODE`;","Enabled"
"Argo CD ","@roadiehq/backstage-plugin-argo-cd","Frontend","2.8.4","Production","./dynamic-plugins/dist/roadiehq-backstage-plugin-argo-cd",";","Disabled"
"Argo CD ","@roadiehq/backstage-plugin-argo-cd-backend","Backend","3.2.3","Production","./dynamic-plugins/dist/roadiehq-backstage-plugin-argo-cd-backend-dynamic","`ARGOCD_USERNAME`;`ARGOCD_PASSWORD`;`ARGOCD_INSTANCE1_URL`;`ARGOCD_AUTH_TOKEN`;`ARGOCD_INSTANCE2_URL`;`ARGOCD_AUTH_TOKEN2`;","Disabled"
"Dynamic Home Page ","@red-hat-developer-hub/backstage-plugin-dynamic-home-page","Frontend","1.0.1","Production","./dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-dynamic-home-page",";","Enabled"
"GitHub ","@backstage/plugin-catalog-backend-module-github","Backend","0.7.6","Production","./dynamic-plugins/dist/backstage-plugin-catalog-backend-module-github-dynamic","`GITHUB_ORG`;","Disabled"
"GitHub Org ","@backstage/plugin-catalog-backend-module-github-org","Backend","0.3.3","Production","./dynamic-plugins/dist/backstage-plugin-catalog-backend-module-github-org-dynamic","`GITHUB_URL`;`GITHUB_ORG`;","Disabled"
"Keycloak ","@backstage-community/plugin-catalog-backend-module-keycloak","Backend","3.2.2","Production","./dynamic-plugins/dist/backstage-community-plugin-catalog-backend-module-keycloak-dynamic","`KEYCLOAK_BASE_URL`;`KEYCLOAK_LOGIN_REALM`;`KEYCLOAK_REALM`;`KEYCLOAK_CLIENT_ID`;`KEYCLOAK_CLIENT_SECRET`;","Disabled"
"Kubernetes ","@backstage/plugin-kubernetes-backend","Backend","0.18.7","Production","./dynamic-plugins/dist/backstage-plugin-kubernetes-backend-dynamic","`K8S_CLUSTER_NAME`;`K8S_CLUSTER_URL`;`K8S_CLUSTER_TOKEN`;","Disabled"
"Kubernetes ","@backstage-community/plugin-scaffolder-backend-module-kubernetes","Backend","2.2.2","Production","./dynamic-plugins/dist/backstage-community-plugin-scaffolder-backend-module-kubernetes-dynamic",";","Disabled"
"OCM ","@backstage-community/plugin-ocm","Frontend","5.2.4","Production","./dynamic-plugins/dist/backstage-community-plugin-ocm",";","Disabled"
"OCM ","@backstage-community/plugin-ocm-backend","Backend","5.2.3","Production","./dynamic-plugins/dist/backstage-community-plugin-ocm-backend-dynamic","`OCM_HUB_NAME`;`OCM_HUB_URL`;`OCM_SA_TOKEN`;","Disabled"
"Quay ","@backstage-community/plugin-quay","Frontend","1.14.4","Production","./dynamic-plugins/dist/backstage-community-plugin-quay",";","Disabled"
"Quay ","@backstage-community/plugin-scaffolder-backend-module-quay","Backend","2.2.2","Production","./dynamic-plugins/dist/backstage-community-plugin-scaffolder-backend-module-quay-dynamic",";","Enabled"
"RBAC ","@backstage-community/plugin-rbac","Frontend","1.33.2","Production","./dynamic-plugins/dist/backstage-community-plugin-rbac",";","Disabled"
"RBAC ","@backstage-community/plugin-rbac","Frontend","1.33.4","Production","./dynamic-plugins/dist/backstage-community-plugin-rbac",";","Disabled"
"Regex ","@backstage-community/plugin-scaffolder-backend-module-regex","Backend","2.2.3","Production","./dynamic-plugins/dist/backstage-community-plugin-scaffolder-backend-module-regex-dynamic",";","Enabled"
"Signals ","@backstage/plugin-signals-backend","Backend","0.2.2","Production","./dynamic-plugins/dist/backstage-plugin-signals-backend-dynamic",";","Disabled"
"Tekton ","@backstage-community/plugin-tekton","Frontend","3.16.2","Production","./dynamic-plugins/dist/backstage-community-plugin-tekton",";","Disabled"
"Tekton ","@backstage-community/plugin-tekton","Frontend","3.17.0","Production","./dynamic-plugins/dist/backstage-community-plugin-tekton",";","Disabled"
"Topology ","@backstage-community/plugin-topology","Frontend","1.29.7","Production","./dynamic-plugins/dist/backstage-community-plugin-topology",";","Disabled"
"3scale ","@backstage-community/plugin-3scale-backend","Backend","3.0.3","Red Hat Tech Preview","./dynamic-plugins/dist/backstage-community-plugin-3scale-backend-dynamic","`THREESCALE_BASE_URL`;`THREESCALE_ACCESS_TOKEN`;","Disabled"
"Ansible Automation Platform (AAP) ","@janus-idp/backstage-plugin-aap-backend","Backend","2.2.0","Red Hat Tech Preview","./dynamic-plugins/dist/janus-idp-backstage-plugin-aap-backend-dynamic","`AAP_BASE_URL`;`AAP_AUTH_TOKEN`;","Disabled"
Expand Down
2 changes: 1 addition & 1 deletion modules/dynamic-plugins/rhdh-supported-plugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ for j in $jsons; do

# echo "Path = $Path"
# shellcheck disable=SC2016
found_in_default_config1=$(yq -r --arg Path "${Path/-dynamic/}" '.plugins[] | select(.package == $Path)' /tmp/backstage-showcase/dynamic-plugins.default.yaml)
found_in_default_config1=$(yq -r --arg Path "${Path%-dynamic}" '.plugins[] | select(.package == $Path)' /tmp/backstage-showcase/dynamic-plugins.default.yaml)
# shellcheck disable=SC2016
found_in_default_config2=$(yq -r --arg Path "${Path}" '.plugins[] | select(.package == $Path)' /tmp/backstage-showcase/dynamic-plugins.default.yaml)
# echo "[DEBUG] default configs:"
Expand Down
Loading