diff --git a/config/app-config-rhdh.yaml b/config/app-config-rhdh.yaml index c4e9986..b4103f2 100644 --- a/config/app-config-rhdh.yaml +++ b/config/app-config-rhdh.yaml @@ -22,6 +22,10 @@ auth: resolvers: - resolver: emailLocalPartMatchingUserEntityName signInPage: oidc +integrations: + github: + - host: github.com + token: ${GH_BOT_PAT} catalog: import: entityFilename: catalog-info.yaml @@ -34,6 +38,8 @@ catalog: target: https://github.com/redhat-developer/rhdh/blob/main/catalog-entities/all.yaml - type: url target: https://github.com/redhat-developer/red-hat-developer-hub-software-templates/blob/main/templates.yaml + - type: url + target: https://github.com/backstage/backstage/blob/master/catalog-info.yaml providers: keycloakOrg: default: diff --git a/config/dynamic-plugins.yaml b/config/dynamic-plugins.yaml index 1707b52..8d3cb14 100644 --- a/config/dynamic-plugins.yaml +++ b/config/dynamic-plugins.yaml @@ -3,4 +3,33 @@ includes: plugins: - package: ./dynamic-plugins/dist/backstage-community-plugin-catalog-backend-module-keycloak-dynamic disabled: false + # Scorecard backend + - package: 'oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-scorecard-backend:bs_1.45.3__2.3.5!red-hat-developer-hub-backstage-plugin-scorecard-backend' + disabled: false + # Scorecard backend module - GitHub + - package: 'oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-scorecard-backend-module-github:bs_1.45.3__2.3.5!red-hat-developer-hub-backstage-plugin-scorecard-backend-module-github' + disabled: false + # Scorecard backend module - Jira (disabled - requires JIRA_URL and JIRA_TOKEN) + - package: 'oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-scorecard-backend-module-jira:bs_1.45.3__2.3.5!red-hat-developer-hub-backstage-plugin-scorecard-backend-module-jira' + disabled: true + # Scorecard frontend + - package: 'oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-scorecard:bs_1.45.3__2.3.5!red-hat-developer-hub-backstage-plugin-scorecard' + disabled: false + pluginConfig: + dynamicPlugins: + frontend: + red-hat-developer-hub.backstage-plugin-scorecard: + entityTabs: + - path: '/scorecard' + title: Scorecard + mountPoint: entity.page.scorecard + mountPoints: + - mountPoint: entity.page.scorecard/cards + importName: EntityScorecardContent + config: + layout: + gridColumn: 1 / -1 + if: + allOf: + - isKind: component \ No newline at end of file diff --git a/config/rhdh-secrets.yaml b/config/rhdh-secrets.yaml index 26085c3..9e745be 100644 --- a/config/rhdh-secrets.yaml +++ b/config/rhdh-secrets.yaml @@ -10,4 +10,5 @@ stringData: KEYCLOAK_LOGIN_REALM: $KEYCLOAK_LOGIN_REALM KEYCLOAK_REALM: $KEYCLOAK_REALM KEYCLOAK_CLIENT_ID: $KEYCLOAK_CLIENT_ID - KEYCLOAK_CLIENT_SECRET: $KEYCLOAK_CLIENT_SECRET \ No newline at end of file + KEYCLOAK_CLIENT_SECRET: $KEYCLOAK_CLIENT_SECRET + GH_BOT_PAT: $GH_BOT_PAT \ No newline at end of file