Skip to content
Merged
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 @@ -19,140 +19,308 @@ Replace `<tag>` with the version tag corresponding to your {product-short} versi
|===
|*Name*
|*Version*
|*Path*
|*Path and required variables*

|*3Scale*
|3.13.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-3scale-backend:<tag>`

`THREESCALE_ACCESS_TOKEN`

`THREESCALE_BASE_URL`

`

|*ArgoCD Backend*
|1.4.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-argocd-backend:<tag>`

`ARGOCD_AUTH_TOKEN`

`ARGOCD_INSTANCE1_URL`

`ARGOCD_PASSWORD`

`ARGOCD_USERNAME`

`

|*Azure DevOps Backend*
|0.27.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-azure-devops-backend:<tag>`

`AZURE_ORG`

`AZURE_TOKEN`

`

|*Catalog Backend Module Azure DevOps Annotator Processor*
|0.18.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-catalog-backend-module-azure-devops-annotator-processor:<tag>`

`

|*Catalog Backend Module Bitbucket Cloud*
|0.5.9|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-plugin-catalog-backend-module-bitbucket-cloud:<tag>`

`BITBUCKET_WORKSPACE`

`

|*Catalog Backend Module Bitbucket Server*
|0.5.9|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-plugin-catalog-backend-module-bitbucket-server:<tag>`

`BITBUCKET_HOST`

`

|*Datadog*
|2.7.2|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/roadiehq-backstage-plugin-datadog:<tag>`

`

|*Dynatrace*
|10.17.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-dynatrace:<tag>`

`

|*GitHub Actions*
|0.22.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-github-actions:<tag>`

`

|*GitHub Deployments*
|0.18.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-github-deployments:<tag>`

`

|*GitHub Discussions*
|0.10.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-github-discussions:<tag>`

`

|*GitHub Discussions Search Backend Module*
|0.11.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-search-backend-module-github-discussions:<tag>`

`GITHUB_DISCUSSIONS_REPO_URL`

`

|*GitHub Insights*
|3.5.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/roadiehq-backstage-plugin-github-insights:<tag>`

`

|*GitHub Issues*
|0.21.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-github-issues:<tag>`

`

|*GitHub Pull Requests*
|3.7.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/roadiehq-backstage-plugin-github-pull-requests:<tag>`

`

|*GitHub Pull Requests Board*
|0.16.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-github-pull-requests-board:<tag>`

`

|*GitLab Backend*
|7.0.1|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/immobiliarelabs-backstage-plugin-gitlab-backend:<tag>`

`GITLAB_HOST`

`GITLAB_TOKEN`

`

|*JFrog Artifactory*
|1.28.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-jfrog-artifactory:<tag>`

`

|*Jenkins Backend*
|0.27.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-jenkins-backend:<tag>`

`JENKINS_TOKEN`

`JENKINS_URL`

`JENKINS_USERNAME`

`

|*Jenkins Scaffolder Backend Module*
|0.20.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-scaffolder-backend-module-jenkins:<tag>`

`

|*Jira*
|2.14.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/roadiehq-backstage-plugin-jira:<tag>`

`

|*Lighthouse Backend*
|0.21.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-lighthouse-backend:<tag>`

`

|*Nexus Repository Manager*
|1.23.2|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-nexus-repository-manager:<tag>`

`

|*PagerDuty Backend*
|0.12.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/pagerduty-backstage-plugin-backend:<tag>`

`PAGERDUTY_API_BASE`

`PAGERDUTY_CLIENT_ID`

`PAGERDUTY_CLIENT_SECRET`

`PAGERDUTY_SUBDOMAIN`

`

|*PagerDuty Entity Processor*
|0.3.10|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/pagerduty-backstage-plugin-entity-processor:<tag>`

`

|*PagerDuty Scaffolder Actions*
|0.2.9|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/pagerduty-backstage-plugin-scaffolder-actions:<tag>`

`

|*Quay Backend*
|1.14.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-quay-backend:<tag>`

`

|*Roadie ArgoCD Backend*
|4.8.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/roadiehq-backstage-plugin-argo-cd-backend:<tag>`

`ARGOCD_AUTH_TOKEN`

`ARGOCD_INSTANCE1_URL`

`ARGOCD_PASSWORD`

`ARGOCD_USERNAME`

`

|*Scaffolder Backend ArgoCD*
|1.8.1|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/roadiehq-scaffolder-backend-argocd:<tag>`

`ARGOCD_AUTH_TOKEN`

`ARGOCD_INSTANCE1_URL`

`ARGOCD_PASSWORD`

`ARGOCD_USERNAME`

`

|*Scaffolder Backend Module AWS*
|2.8.2|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/roadiehq-scaffolder-backend-module-aws:<tag>`

`AWS_ACCESS_KEY_ID`

`AWS_SECRET_ACCESS_KEY`

`

|*Scaffolder Backend Module Azure*
|0.2.19|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-plugin-scaffolder-backend-module-azure:<tag>`

`

|*Scaffolder Backend Module Azure DevOps*
|0.23.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-scaffolder-backend-module-azure-devops:<tag>`

`

|*Scaffolder Backend Module Bitbucket Cloud*
|0.3.4|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-plugin-scaffolder-backend-module-bitbucket-cloud:<tag>`

`

|*Scaffolder Backend Module Bitbucket Server*
|0.2.19|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-plugin-scaffolder-backend-module-bitbucket-server:<tag>`

`

|*Scaffolder Backend Module DotNet*
|0.13.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-scaffolder-backend-module-dotnet:<tag>`

`

|*Scaffolder Backend Module Gerrit*
|0.2.19|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-plugin-scaffolder-backend-module-gerrit:<tag>`

`

|*Scaffolder Backend Module Quay*
|2.18.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-scaffolder-backend-module-quay:<tag>`

`

|*Scaffolder Backend Module ServiceNow*
|2.15.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-scaffolder-backend-module-servicenow:<tag>`

`SERVICENOW_BASE_URL`

`SERVICENOW_PASSWORD`

`SERVICENOW_USERNAME`

`

|*Scaffolder Backend Module SonarQube*
|2.15.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-scaffolder-backend-module-sonarqube:<tag>`

`

|*Scaffolder Backend Module Utils*
|4.1.2|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/roadiehq-scaffolder-backend-module-utils:<tag>`

`

|*Search Backend Module Azure DevOps*
|0.5.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-search-backend-module-azure-devops:<tag>`

`AZURE_DEVOPS_BASE_URL`

`AZURE_DEVOPS_ORGANIZATION`

`AZURE_DEVOPS_PROJECT`

`AZURE_DEVOPS_TOKEN`

`AZURE_DEVOPS_WIKI_IDENTIFIER`

`

|*Security Insights*
|3.3.1|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/roadiehq-backstage-plugin-security-insights:<tag>`

`

|*SonarQube Backend*
|1.1.1|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-sonarqube-backend:<tag>`

`SONARQUBE_TOKEN`

`SONARQUBE_URL`

`

|*Tekton*
|3.37.0|`oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-tekton:<tag>`

`

|===


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Replace `<tag>` with the version tag corresponding to your {product-short} versi
|===
|*Name*
|*Version*
|*Path*
|*Path and required variables*

%%COMMUNITY_TABLE_CONTENT%%
|===
Expand Down
39 changes: 23 additions & 16 deletions modules/extend_dynamic-plugins-reference/rhdh-supported-plugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,23 @@
done; echo;
}

# Extract ${VAR_NAME} placeholders from spec.appConfigExamples[0].content for docs tables.
get_required_variables() {

Check warning on line 150 in modules/extend_dynamic-plugins-reference/rhdh-supported-plugins.sh

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Add an explicit return statement at the end of the function.

See more on https://sonarcloud.io/project/issues?id=redhat-developer_red-hat-developers-documentation-rhdh&issues=AZ4ZKp9yM1S423HtSpQO&open=AZ4ZKp9yM1S423HtSpQO&pullRequest=2186
local metadata_file="$1"
local Required_Variables=""

Check warning on line 152 in modules/extend_dynamic-plugins-reference/rhdh-supported-plugins.sh

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Local variable 'Required_Variables' should use lower_case naming convention.

See more on https://sonarcloud.io/project/issues?id=redhat-developer_red-hat-developers-documentation-rhdh&issues=AZ4ZKp9yM1S423HtSpQP&open=AZ4ZKp9yM1S423HtSpQP&pullRequest=2186
local appConfig

Check warning on line 153 in modules/extend_dynamic-plugins-reference/rhdh-supported-plugins.sh

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Local variable 'appConfig' should use lower_case naming convention.

See more on https://sonarcloud.io/project/issues?id=redhat-developer_red-hat-developers-documentation-rhdh&issues=AZ4ZKp9yM1S423HtSpQQ&open=AZ4ZKp9yM1S423HtSpQQ&pullRequest=2186
appConfig=$(yq -r '.spec.appConfigExamples[0].content // empty' "$metadata_file" 2>/dev/null)
if [[ -n "$appConfig" && "$appConfig" != "null" ]]; then
# Extract ${VARIABLE_NAME} patterns
# shellcheck disable=SC2016
while IFS= read -r var; do
[[ -n "$var" ]] && Required_Variables="${Required_Variables}\`${var}\`\\n\\n"
done < <(echo "$appConfig" | grep -o '\${[^}]*}' | sed 's/\${//g' | sed 's/}//g' | LC_ALL=C sort -u)
fi
printf '%s' "$Required_Variables"
}


generate_dynamic_plugins_table() {
# generate a list of plugin:version mapping from the following files
# * dynamic-plugins/imports/package.json#.peerDependencies or .dependencies
Expand Down Expand Up @@ -330,18 +347,7 @@
fi

# compute Required_Variables from appConfigExamples in YAML
Required_Variables=""
appConfig=$(yq -r '.spec.appConfigExamples[0].content // empty' "$y" 2>/dev/null)
if [[ -n "$appConfig" && "$appConfig" != "null" ]]; then
# Extract ${VARIABLE_NAME} patterns
# shellcheck disable=SC2016
vars=$(echo "$appConfig" | grep -o '\${[^}]*}' | sed 's/\${//g' | sed 's/}//g' | LC_ALL=C sort -u)
for var in $vars; do
if [[ $var ]]; then
Required_Variables="${Required_Variables}\`$var\`\n\n"
fi
done
fi
Required_Variables=$(get_required_variables "$y")
Required_Variables_CSV=$(echo -e "$Required_Variables" | tr -s "\n" ";")
# not currently used due to policy and support concern with upstream content linked from downstream doc
# URL="https://www.npmjs.com/package/$Plugin"
Expand Down Expand Up @@ -612,6 +618,7 @@
plugin_version=$(yq -r '.spec.version // ""' "$metadata_file")
dynamic_artifact=$(yq -r '.spec.dynamicArtifact // ""' "$metadata_file")
support=$(yq -r '.spec.support // "unknown"' "$metadata_file")
Required_Variables=$(get_required_variables "$metadata_file")

# Skip if not a community plugin or no dynamic artifact
[[ "$support" != "community" ]] && continue
Expand Down Expand Up @@ -639,14 +646,14 @@
display_title="${plugin_title:-$plugin_name}"

if [[ $QUIET -eq 0 ]]; then
echo " * Plugin: $display_title"
echo " Version: $plugin_version"
echo " Path: $new_path"
echo " * Plugin: $display_title"
echo " Version: $plugin_version"
printf ' Path: %s\n\n%b\n' "$new_path" "$Required_Variables"
fi

# Add to community table (sorted by title)
# shellcheck disable=SC2028
echo "${display_title}||*${display_title}*\n|${plugin_version}|\`${new_path}\`" >> "$COMMUNITY_TABLE_FILE"
echo "${display_title}||*${display_title}*\n|${plugin_version}|\`${new_path}\`\n\n${Required_Variables}\`" >> "$COMMUNITY_TABLE_FILE"

community_count=$((community_count + 1))
done
Expand Down
Loading