Skip to content

Commit 5b7fc2a

Browse files
authored
feat: [release 1.9] add drawer mountpoint (#4072)
* add new drawer mount point * enable quick-starts e2e and add the workaround
1 parent 95080a4 commit 5b7fc2a

12 files changed

Lines changed: 673 additions & 12 deletions

File tree

.ibm/pipelines/value_files/values_showcase-rbac.yaml

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,109 @@ global:
1818
# an optional `pluginConfig` with plugin-specific backstage configuration, and an optional `disabled` flag to disable/enable a plugin
1919
# listed in `includes` files. It also includes an `integrity` field that is used to verify the plugin package [integrity](https://w3c.github.io/webappsec-subresource-integrity/#integrity-metadata-description).
2020
plugins:
21+
# Enforce new quick start configuration for now but normally this should not be required.
22+
# FIXME: remove this again.
23+
- package: ./dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-quickstart
24+
disabled: false
25+
pluginConfig:
26+
app:
27+
quickstart:
28+
- title: Set up authentication
29+
titleKey: steps.setupAuthentication.title
30+
icon: Admin
31+
description: Set up secure login credentials to protect your account from unauthorized access.
32+
descriptionKey: steps.setupAuthentication.description
33+
cta:
34+
text: Learn more
35+
textKey: steps.setupAuthentication.ctaTitle
36+
link: https://docs.redhat.com/en/documentation/red_hat_developer_hub/latest/html/authentication_in_red_hat_developer_hub/
37+
- title: Configure RBAC
38+
titleKey: steps.configureRbac.title
39+
icon: Rbac
40+
description:
41+
Assign roles and permissions to control who can view, create, or edit resources, ensuring secure and
42+
efficient collaboration.
43+
descriptionKey: steps.configureRbac.description
44+
cta:
45+
text: Manage access
46+
textKey: steps.configureRbac.ctaTitle
47+
link: /rbac
48+
- title: Configure Git
49+
titleKey: steps.configureGit.title
50+
icon: Git
51+
description:
52+
Connect your Git providers, such as GitHub to manage code, automate workflows, and integrate with platform
53+
features.
54+
descriptionKey: steps.configureGit.description
55+
cta:
56+
text: Learn more
57+
textKey: steps.configureGit.ctaTitle
58+
link: https://docs.redhat.com/en/documentation/red_hat_developer_hub/latest/html/integrating_red_hat_developer_hub_with_github/
59+
- title: Manage plugins
60+
titleKey: steps.managePlugins.title
61+
icon: Plugins
62+
description: Browse and install extensions to add features, connect with external tools, and customize your experience.
63+
descriptionKey: steps.managePlugins.description
64+
cta:
65+
text: Explore plugins
66+
textKey: steps.managePlugins.ctaTitle
67+
link: /extensions
68+
- title: Import application
69+
roles:
70+
- developer
71+
icon: Import
72+
description:
73+
Import your existing code and services into the catalog to organize and access them through your developer
74+
portal.
75+
cta:
76+
text: Import
77+
link: /bulk-import/repositories
78+
- title: Learn about the Catalog
79+
roles:
80+
- developer
81+
icon: Catalog
82+
description: Discover all software components, services, and APIs, and view their owners and documentation.
83+
cta:
84+
text: View Catalog
85+
link: /catalog
86+
- title: Explore Self-service templates
87+
roles:
88+
- developer
89+
icon: SelfService
90+
description: Use our self-service templates to quickly set up new projects, services, or documentation.
91+
cta:
92+
text: Explore templates
93+
link: /create
94+
- title: Find all Learning Paths
95+
roles:
96+
- developer
97+
icon: Learning
98+
description:
99+
Integrate tailored e-learning into your workflows with Learning Paths to accelerate onboarding, close
100+
skill gaps, and promote best practices.
101+
cta:
102+
text: View Learning Paths
103+
link: /learning-paths
104+
dynamicPlugins:
105+
frontend:
106+
red-hat-developer-hub.backstage-plugin-quickstart:
107+
translationResources:
108+
- importName: quickstartTranslations
109+
module: Alpha
110+
ref: quickstartTranslationRef
111+
mountPoints:
112+
- mountPoint: application/provider
113+
importName: QuickstartDrawerProvider
114+
- mountPoint: application/internal/drawer-state
115+
importName: QuickstartDrawerStateExposer
116+
- mountPoint: application/internal/drawer-content
117+
importName: QuickstartDrawerContent
118+
config:
119+
id: quickstart
120+
- mountPoint: global.header/help
121+
importName: QuickstartButton
122+
config:
123+
priority: 100
21124
- package: ./dynamic-plugins/dist/backstage-plugin-catalog-backend-module-github-dynamic
22125
disabled: false
23126
pluginConfig:

.ibm/pipelines/value_files/values_showcase.yaml

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,109 @@ global:
1818
# an optional `pluginConfig` with plugin-specific backstage configuration, and an optional `disabled` flag to disable/enable a plugin
1919
# listed in `includes` files. It also includes an `integrity` field that is used to verify the plugin package [integrity](https://w3c.github.io/webappsec-subresource-integrity/#integrity-metadata-description).
2020
plugins:
21+
# Enforce new quick start configuration for now but normally this should not be required.
22+
# FIXME: remove this again.
23+
- package: ./dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-quickstart
24+
disabled: false
25+
pluginConfig:
26+
app:
27+
quickstart:
28+
- title: Set up authentication
29+
titleKey: steps.setupAuthentication.title
30+
icon: Admin
31+
description: Set up secure login credentials to protect your account from unauthorized access.
32+
descriptionKey: steps.setupAuthentication.description
33+
cta:
34+
text: Learn more
35+
textKey: steps.setupAuthentication.ctaTitle
36+
link: https://docs.redhat.com/en/documentation/red_hat_developer_hub/latest/html/authentication_in_red_hat_developer_hub/
37+
- title: Configure RBAC
38+
titleKey: steps.configureRbac.title
39+
icon: Rbac
40+
description:
41+
Assign roles and permissions to control who can view, create, or edit resources, ensuring secure and
42+
efficient collaboration.
43+
descriptionKey: steps.configureRbac.description
44+
cta:
45+
text: Manage access
46+
textKey: steps.configureRbac.ctaTitle
47+
link: /rbac
48+
- title: Configure Git
49+
titleKey: steps.configureGit.title
50+
icon: Git
51+
description:
52+
Connect your Git providers, such as GitHub to manage code, automate workflows, and integrate with platform
53+
features.
54+
descriptionKey: steps.configureGit.description
55+
cta:
56+
text: Learn more
57+
textKey: steps.configureGit.ctaTitle
58+
link: https://docs.redhat.com/en/documentation/red_hat_developer_hub/latest/html/integrating_red_hat_developer_hub_with_github/
59+
- title: Manage plugins
60+
titleKey: steps.managePlugins.title
61+
icon: Plugins
62+
description: Browse and install extensions to add features, connect with external tools, and customize your experience.
63+
descriptionKey: steps.managePlugins.description
64+
cta:
65+
text: Explore plugins
66+
textKey: steps.managePlugins.ctaTitle
67+
link: /extensions
68+
- title: Import application
69+
roles:
70+
- developer
71+
icon: Import
72+
description:
73+
Import your existing code and services into the catalog to organize and access them through your developer
74+
portal.
75+
cta:
76+
text: Import
77+
link: /bulk-import/repositories
78+
- title: Learn about the Catalog
79+
roles:
80+
- developer
81+
icon: Catalog
82+
description: Discover all software components, services, and APIs, and view their owners and documentation.
83+
cta:
84+
text: View Catalog
85+
link: /catalog
86+
- title: Explore Self-service templates
87+
roles:
88+
- developer
89+
icon: SelfService
90+
description: Use our self-service templates to quickly set up new projects, services, or documentation.
91+
cta:
92+
text: Explore templates
93+
link: /create
94+
- title: Find all Learning Paths
95+
roles:
96+
- developer
97+
icon: Learning
98+
description:
99+
Integrate tailored e-learning into your workflows with Learning Paths to accelerate onboarding, close
100+
skill gaps, and promote best practices.
101+
cta:
102+
text: View Learning Paths
103+
link: /learning-paths
104+
dynamicPlugins:
105+
frontend:
106+
red-hat-developer-hub.backstage-plugin-quickstart:
107+
translationResources:
108+
- importName: quickstartTranslations
109+
module: Alpha
110+
ref: quickstartTranslationRef
111+
mountPoints:
112+
- mountPoint: application/provider
113+
importName: QuickstartDrawerProvider
114+
- mountPoint: application/internal/drawer-state
115+
importName: QuickstartDrawerStateExposer
116+
- mountPoint: application/internal/drawer-content
117+
importName: QuickstartDrawerContent
118+
config:
119+
id: quickstart
120+
- mountPoint: global.header/help
121+
importName: QuickstartButton
122+
config:
123+
priority: 100
21124
- package: ./dynamic-plugins/dist/backstage-plugin-scaffolder-backend-module-github-dynamic
22125
disabled: false
23126
- package: ./dynamic-plugins/dist/backstage-plugin-catalog-backend-module-github-dynamic

app-config.dynamic-plugins.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,16 @@ dynamicPlugins:
265265
mountPoints:
266266
- mountPoint: application/provider
267267
importName: QuickstartDrawerProvider
268+
- mountPoint: application/internal/drawer-state
269+
importName: QuickstartDrawerStateExposer
270+
- mountPoint: application/internal/drawer-content
271+
importName: QuickstartDrawerContent
272+
config:
273+
id: quickstart
274+
- mountPoint: global.header/help
275+
importName: QuickstartButton
276+
config:
277+
priority: 100
268278
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
269279
dynamicRoutes:
270280
- path: /

0 commit comments

Comments
 (0)