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

[release-1.5] chore: add marketplace/extension catalog entities #2527

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
3 changes: 3 additions & 0 deletions .rhdh/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,9 @@ COPY --from=build "$REMOTE_SOURCES_DIR"/dynamic-plugins/dist/ ./dynamic-plugins/
# RHIDP-4220 - make Konflux preflight and EC checks happy - [check-container] Create a directory named /licenses and include all relevant licensing
COPY $EXTERNAL_SOURCE/LICENSE /licenses/

# RHIDP-5216/RHIDP-5215 - interim marketplace catalog entities until these data will be loaded from container images
COPY $EXTERNAL_SOURCE/catalog-entities/marketplace /marketplace/catalog-entities/

# Copy script to gather dynamic plugins; copy embedded dynamic plugins to root folder; fix permissions
COPY docker/install-dynamic-plugins.py docker/install-dynamic-plugins.sh ./
RUN chmod -R a+r ./dynamic-plugins/ ./install-dynamic-plugins.py; \
Expand Down
8 changes: 8 additions & 0 deletions catalog-entities/marketplace/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Plugins are manually created

# Packages are generated with

```
# in rhdh root
npx --yes @red-hat-developer-hub/marketplace-cli generate --namespace rhdh -p dynamic-plugins.default.yaml -o catalog-entities/marketplace/packages
```
12 changes: 12 additions & 0 deletions catalog-entities/marketplace/collections/all.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
namespace: rhdh
name: collections
spec:
targets: []
#- ./cicd.yaml
#- ./featured.yaml
#- ./openshift.yaml
#- ./recommended.yaml
#- ./redhat.yaml
14 changes: 14 additions & 0 deletions catalog-entities/marketplace/collections/cicd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/redhat-developer/rhdh-plugins/refs/heads/main/workspaces/marketplace/json-schema/collections.json
apiVersion: extensions.backstage.io/v1alpha1
kind: PluginCollection
metadata:
name: cicd
namespace: rhdh
title: CI/CD plugins
description: TODO
tags: []
spec:
# filter based collections are not implemented yet!!!
type: filter
filter:
metadata.tags: cicd
13 changes: 13 additions & 0 deletions catalog-entities/marketplace/collections/featured.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/redhat-developer/rhdh-plugins/refs/heads/main/workspaces/marketplace/json-schema/collections.json
apiVersion: extensions.backstage.io/v1alpha1
kind: PluginCollection
metadata:
name: featured
namespace: rhdh
title: Featured plugins
tags: []
description: TODO
spec:
type: curated
plugins:
- tekton
13 changes: 13 additions & 0 deletions catalog-entities/marketplace/collections/openshift.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/redhat-developer/rhdh-plugins/refs/heads/main/workspaces/marketplace/json-schema/collections.json
apiVersion: extensions.backstage.io/v1alpha1
kind: PluginCollection
metadata:
name: openshift
namespace: rhdh
title: OpenShift related plugins
tags: []
description: TODO
spec:
type: curated
plugins:
- tekton
13 changes: 13 additions & 0 deletions catalog-entities/marketplace/collections/recommended.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/redhat-developer/rhdh-plugins/refs/heads/main/workspaces/marketplace/json-schema/collections.json
apiVersion: extensions.backstage.io/v1alpha1
kind: PluginCollection
metadata:
name: recommended
namespace: rhdh
title: Recommended plugins
description: ''
tags: []
spec:
type: curated
plugins:
- tekton
14 changes: 14 additions & 0 deletions catalog-entities/marketplace/collections/redhat.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/redhat-developer/rhdh-plugins/refs/heads/main/workspaces/marketplace/json-schema/collections.json
apiVersion: extensions.backstage.io/v1alpha1
kind: PluginCollection
metadata:
name: redhat
namespace: rhdh
title: Plugins build by Red Hat
description: ''
tags: []
spec:
# filter based collections are not implemented yet!!!
type: filter-based
filter:
metadata.authors.name: Red Hat
86 changes: 86 additions & 0 deletions catalog-entities/marketplace/packages/all.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
namespace: rhdh
name: packages
spec:
targets:
- ./backstage-plugin-scaffolder-backend-module-github.yaml
- ./backstage-plugin-catalog-backend-module-github.yaml
- ./backstage-plugin-catalog-backend-module-github-org.yaml
- ./backstage-community-plugin-github-actions.yaml
- ./backstage-community-plugin-github-issues.yaml
- ./roadiehq-backstage-plugin-github-insights.yaml
- ./roadiehq-backstage-plugin-github-pull-requests.yaml
- ./roadiehq-backstage-plugin-security-insights.yaml
- ./backstage-plugin-scaffolder-backend-module-gitlab.yaml
- ./immobiliarelabs-backstage-plugin-gitlab-backend.yaml
- ./immobiliarelabs-backstage-plugin-gitlab.yaml
- ./backstage-plugin-catalog-backend-module-gitlab.yaml
- ./backstage-plugin-catalog-backend-module-gitlab-org.yaml
- ./backstage-plugin-kubernetes-backend.yaml
- ./backstage-plugin-kubernetes.yaml
- ./backstage-community-plugin-topology.yaml
- ./roadiehq-backstage-plugin-argo-cd-backend.yaml
- ./roadiehq-scaffolder-backend-argocd.yaml
- ./roadiehq-backstage-plugin-argo-cd.yaml
- ./backstage-community-plugin-redhat-argocd.yaml
- ./backstage-plugin-scaffolder-backend-module-azure.yaml
- ./backstage-community-plugin-azure-devops-backend.yaml
- ./backstage-community-plugin-azure-devops.yaml
- ./parfuemerie-douglas-scaffolder-backend-module-azure-repositorie.yaml
- ./backstage-community-plugin-jenkins-backend.yaml
- ./backstage-community-plugin-jenkins.yaml
- ./backstage-plugin-notifications.yaml
- ./backstage-plugin-notifications-backend.yaml
- ./backstage-plugin-notifications-backend-module-email.yaml
- ./backstage-plugin-signals-backend.yaml
- ./backstage-plugin-signals.yaml
- ./backstage-community-plugin-sonarqube-backend.yaml
- ./backstage-community-plugin-sonarqube.yaml
- ./backstage-community-plugin-ocm-backend.yaml
- ./backstage-community-plugin-ocm.yaml
- ./red-hat-developer-hub-backstage-plugin-bulk-import-backend.yaml
- ./red-hat-developer-hub-backstage-plugin-bulk-import.yaml
- ./red-hat-developer-hub-backstage-plugin-global-header.yaml
- ./red-hat-developer-hub-backstage-plugin-global-floating-action-b.yaml
- ./red-hat-developer-hub-backstage-plugin-dynamic-home-page.yaml
- ./backstage-plugin-techdocs-backend.yaml
- ./backstage-plugin-techdocs.yaml
- ./backstage-plugin-techdocs-module-addons-contrib.yaml
- ./pagerduty-backstage-plugin.yaml
- ./pagerduty-backstage-plugin-backend.yaml
- ./backstage-plugin-scaffolder-backend-module-gerrit.yaml
- ./roadiehq-scaffolder-backend-module-utils.yaml
- ./roadiehq-scaffolder-backend-module-http-request.yaml
- ./backstage-community-plugin-scaffolder-backend-module-kubernetes.yaml
- ./backstage-community-plugin-scaffolder-backend-module-quay.yaml
- ./backstage-community-plugin-scaffolder-backend-module-regex.yaml
- ./backstage-community-plugin-rbac.yaml
- ./backstage-community-plugin-scaffolder-backend-module-servicenow.yaml
- ./backstage-community-plugin-scaffolder-backend-module-sonarqube.yaml
- ./backstage-community-plugin-3scale-backend.yaml
- ./backstage-community-plugin-catalog-backend-module-keycloak.yaml
- ./backstage-plugin-scaffolder-backend-module-bitbucket-cloud.yaml
- ./backstage-plugin-catalog-backend-module-bitbucket-cloud.yaml
- ./backstage-plugin-scaffolder-backend-module-bitbucket-server.yaml
- ./backstage-plugin-catalog-backend-module-bitbucket-server.yaml
- ./backstage-community-plugin-dynatrace.yaml
- ./roadiehq-backstage-plugin-jira.yaml
- ./roadiehq-backstage-plugin-datadog.yaml
- ./backstage-community-plugin-tekton.yaml
- ./backstage-community-plugin-quay.yaml
- ./backstage-community-plugin-nexus-repository-manager.yaml
- ./backstage-community-plugin-acr.yaml
- ./backstage-community-plugin-jfrog-artifactory.yaml
- ./backstage-community-plugin-lighthouse.yaml
- ./backstage-community-plugin-tech-radar.yaml
- ./backstage-community-plugin-tech-radar-backend.yaml
- ./backstage-community-plugin-analytics-provider-segment.yaml
- ./backstage-community-plugin-catalog-backend-module-scaffolder-re.yaml
- ./backstage-plugin-catalog-backend-module-msgraph.yaml
- ./backstage-plugin-catalog-backend-module-ldap.yaml
- ./backstage-community-plugin-catalog-backend-module-pingidentity.yaml
- ./red-hat-developer-hub-backstage-plugin-catalog-backend-module-m.yaml
- ./red-hat-developer-hub-backstage-plugin-marketplace-backend.yaml
- ./red-hat-developer-hub-backstage-plugin-marketplace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
apiVersion: extensions.backstage.io/v1alpha1
kind: Package
metadata:
name: backstage-community-plugin-3scale-backend
namespace: rhdh
title: "@backstage-community/plugin-3scale-backend"
links:
- url: https://red.ht/rhdh
title: Homepage
- url: https://issues.redhat.com/browse/RHIDP
title: Bugs
- title: Source Code
url: https://github.com/redhat-developer/rhdh/tree/main/dynamic-plugins/wrappers/backstage-community-plugin-3scale-backend-dynamic
annotations:
backstage.io/source-location: url
https://github.com/redhat-developer/rhdh/tree/main/dynamic-plugins/wrappers/backstage-community-plugin-3scale-backend-dynamic
tags: []
spec:
packageName: "@backstage-community/plugin-3scale-backend"
dynamicArtifact: ./dynamic-plugins/dist/backstage-community-plugin-3scale-backend-dynamic
version: 3.2.0
backstage:
role: backend-plugin
supportedVersions: 1.35.1
author: Red Hat
support: tech-preview
lifecycle: active
partOf:
- backstage-community-plugin-3scale-backend
appConfigExamples:
- title: Default configuration
content:
catalog:
providers:
threeScaleApiEntity:
default:
baseUrl: ${THREESCALE_BASE_URL}
accessToken: ${THREESCALE_ACCESS_TOKEN}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
apiVersion: extensions.backstage.io/v1alpha1
kind: Package
metadata:
name: backstage-community-plugin-acr
namespace: rhdh
title: "@backstage-community/plugin-acr"
links:
- url: https://red.ht/rhdh
title: Homepage
- url: https://issues.redhat.com/browse/RHIDP
title: Bugs
- title: Source Code
url: https://github.com/redhat-developer/rhdh/tree/main/dynamic-plugins/wrappers/backstage-community-plugin-acr
annotations:
backstage.io/source-location: url
https://github.com/redhat-developer/rhdh/tree/main/dynamic-plugins/wrappers/backstage-community-plugin-acr
tags: []
spec:
packageName: "@backstage-community/plugin-acr"
dynamicArtifact: ./dynamic-plugins/dist/backstage-community-plugin-acr
version: 1.11.0
backstage:
role: frontend-plugin
supportedVersions: 1.35.1
author: Red Hat
support: tech-preview
lifecycle: active
partOf:
- acr
appConfigExamples:
- title: Default configuration
content:
dynamicPlugins:
frontend:
backstage-community.plugin-acr:
mountPoints:
- mountPoint: entity.page.image-registry/cards
importName: AcrImagesEntityContent
config:
layout:
gridColumn: 1 / -1
if:
anyOf:
- isAcrAvailable
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
apiVersion: extensions.backstage.io/v1alpha1
kind: Package
metadata:
name: backstage-community-plugin-analytics-provider-segment
namespace: rhdh
title: "@backstage-community/plugin-analytics-provider-segment"
links:
- url: https://red.ht/rhdh
title: Homepage
- url: https://issues.redhat.com/browse/RHIDP
title: Bugs
- title: Source Code
url: https://github.com/redhat-developer/rhdh/tree/main/dynamic-plugins/wrappers/backstage-community-plugin-analytics-provider-segment
annotations:
backstage.io/source-location: url
https://github.com/redhat-developer/rhdh/tree/main/dynamic-plugins/wrappers/backstage-community-plugin-analytics-provider-segment
tags: []
spec:
packageName: "@backstage-community/plugin-analytics-provider-segment"
dynamicArtifact: ./dynamic-plugins/dist/backstage-community-plugin-analytics-provider-segment
version: 1.12.0
backstage:
role: frontend-plugin
supportedVersions: 1.35.1
author: Red Hat
support: production
lifecycle: active
partOf:
- backstage-community-analytics-provider-segment
appConfigExamples:
- title: Default configuration
content:
dynamicPlugins:
frontend:
backstage-community.plugin-analytics-provider-segment:
apiFactories:
- importName: SegmentAnalyticsApi
backend:
csp:
script-src:
- "'self'"
- "'unsafe-eval'"
- https://cdn.segment.com
app:
analytics:
segment:
writeKey: ${SEGMENT_WRITE_KEY}
maskIP: true
testMode: ${SEGMENT_TEST_MODE}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
apiVersion: extensions.backstage.io/v1alpha1
kind: Package
metadata:
name: backstage-community-plugin-azure-devops-backend
namespace: rhdh
title: "@backstage-community/plugin-azure-devops-backend"
links:
- url: https://red.ht/rhdh
title: Homepage
- url: https://issues.redhat.com/browse/RHIDP
title: Bugs
- title: Source Code
url: https://github.com/redhat-developer/rhdh/tree/main/dynamic-plugins/wrappers/backstage-community-plugin-azure-devops-backend-dynamic
annotations:
backstage.io/source-location: url
https://github.com/redhat-developer/rhdh/tree/main/dynamic-plugins/wrappers/backstage-community-plugin-azure-devops-backend-dynamic
tags: []
spec:
packageName: "@backstage-community/plugin-azure-devops-backend"
dynamicArtifact: ./dynamic-plugins/dist/backstage-community-plugin-azure-devops-backend-dynamic
version: 0.8.0
backstage:
role: backend-plugin
supportedVersions: 1.35.1
author: Red Hat
support: tech-preview
lifecycle: active
partOf:
- azure-devops
appConfigExamples:
- title: Default configuration
content:
azureDevOps:
host: dev.azure.com
token: ${AZURE_TOKEN}
organization: ${AZURE_ORG}
Loading
Loading