Skip to content

Commit 65879cf

Browse files
Copilothairmare
andauthored
feat: Backstage 1.50 (#1054)
Co-authored-by: hairmare <116588+hairmare@users.noreply.github.com>
1 parent b713982 commit 65879cf

19 files changed

Lines changed: 3311 additions & 1272 deletions

File tree

.yarn/plugins/@yarnpkg/plugin-backstage.cjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
nodeLinker: node-modules
22

33
plugins:
4-
- checksum: 05b51f75814596aa3e15b296af3287240351c8b7f1df1e05c2ceedf7f3820627759605825fd932f1f7c3c3287b61b16f9e8195b0927a0f80345493f81376947a
4+
- checksum: a6895be0b30a75db6fddafedff143f82ccbd74656bad97775c6a0b9eba6e6ea6b7d66a8e9d0c8505755a981e86b7c6c1c9334ead299a857cf8d6e243957b0bab
55
path: .yarn/plugins/@yarnpkg/plugin-backstage.cjs
6-
spec: "https://versions.backstage.io/v1/releases/1.49.3/yarn-plugin"
6+
spec: "https://versions.backstage.io/v1/releases/1.50.4/yarn-plugin"
77

88
yarnPath: .yarn/releases/yarn-4.13.0.cjs

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ RUN yarn tsc
3434
RUN yarn build:backend
3535

3636
# Stage 3 - Build the actual backend image and install production dependencies
37-
FROM ghcr.io/radiorabe/ubi9-minimal:0.11.4
37+
FROM ghcr.io/radiorabe/ubi9-minimal:0.11.5
3838

3939
ENV APP_ROOT=/opt/app-root \
4040
# The $HOME is not set by default, but some applications need this variable

app-config.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ app:
1717
- page:catalog:
1818
config:
1919
path: /
20+
# Disable the nav items that we're manually rendering in packages/app/src/modules/nav/Sidebar.tsx
21+
- nav-item:search: false
22+
- nav-item:user-settings: false
23+
- nav-item:catalog: false
24+
- nav-item:scaffolder: false
2025

2126
organization:
2227
name: Radio Bern RaBe
@@ -46,6 +51,12 @@ backend:
4651
database:
4752
client: better-sqlite3
4853
connection: ":memory:"
54+
# see https://backstage.io/docs/ai/mcp-actions#actions-configuration for more details
55+
actions:
56+
pluginSources:
57+
- auth
58+
- catalog
59+
- scaffolder
4960
# workingDirectory: /tmp # Use this to configure a working directory for the scaffolder, defaults to the OS temp-dir
5061

5162
proxy:
@@ -96,6 +107,18 @@ auth:
96107
production:
97108
clientId: ${AUTH_GITHUB_CLIENT_ID}
98109
clientSecret: ${AUTH_GITHUB_CLIENT_SECRET}
110+
# see https://backstage.io/docs/ai/mcp-actions#client-id-metadata-documents
111+
# to learn more about client id metadata documents
112+
experimentalClientIdMetadataDocuments:
113+
enabled: false
114+
# Optional: restrict which `client_id` URLs are allowed (defaults to ['*'])
115+
# allowedClientIdPatterns:
116+
# - 'https://example.com/*'
117+
# - 'https://*.trusted-domain.com/*'
118+
# Optional: restrict which redirect URIs are allowed (defaults to ['*'])
119+
# allowedRedirectUriPatterns:
120+
# - 'http://localhost:*'
121+
# - 'https://*.example.com/*'
99122

100123
permission:
101124
enabled: true
@@ -116,3 +139,8 @@ catalog:
116139
schedule:
117140
frequency: { minutes: 30 }
118141
timeout: { minutes: 3 }
142+
143+
# see https://backstage.io/docs/ai/mcp-actions for more details
144+
mcpActions:
145+
name: 'RaBe Backstage' # defaults to "backstage"
146+
description: 'Tools for managing your software catalog, creating new services from templates, and exploring your developer portal' # optional

backstage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "1.49.3"
2+
"version": "1.50.4"
33
}
5.24 KB
Loading
7 Bytes
Loading
13 Bytes
Loading
5.11 KB
Loading

packages/app/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
"lint": "backstage-cli package lint"
1616
},
1717
"dependencies": {
18-
"@backstage-community/plugin-github-actions": "^0.21.1",
19-
"@backstage-community/plugin-github-pull-requests-board": "^0.15.1",
20-
"@backstage-community/plugin-todo": "^0.17.1",
18+
"@backstage-community/plugin-github-actions": "^1.0.0",
19+
"@backstage-community/plugin-github-pull-requests-board": "^1.0.0",
20+
"@backstage-community/plugin-todo": "^0.20.0",
2121
"@backstage/cli": "backstage:^",
2222
"@backstage/core-app-api": "backstage:^",
2323
"@backstage/core-components": "backstage:^",
@@ -28,6 +28,7 @@
2828
"@backstage/plugin-api-docs": "backstage:^",
2929
"@backstage/plugin-app-react": "backstage:^",
3030
"@backstage/plugin-app-visualizer": "backstage:^",
31+
"@backstage/plugin-auth": "backstage:^",
3132
"@backstage/plugin-catalog": "backstage:^",
3233
"@backstage/plugin-catalog-graph": "backstage:^",
3334
"@backstage/plugin-catalog-import": "backstage:^",
@@ -46,7 +47,7 @@
4647
"@backstage/ui": "backstage:^",
4748
"@material-ui/core": "^4.12.4",
4849
"@material-ui/icons": "^4.11.3",
49-
"@roadiehq/backstage-plugin-github-insights": "^3.4.1",
50+
"@roadiehq/backstage-plugin-github-insights": "^3.5.0",
5051
"react": "^18.2.0",
5152
"react-dom": "^18.2.0",
5253
"react-router": "^6.30.2",

0 commit comments

Comments
 (0)