Merge branch 'master' into feat/dynatrace-plugin-synthetics

This commit is contained in:
Isaiah Thiessen
2022-07-21 14:15:16 -07:00
1001 changed files with 178302 additions and 210802 deletions
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-github-pull-requests-board': patch
---
Fix bug on fetching teams repositories where were being filtered by type service unnecessarily
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-tech-insights-backend': patch
---
TechInsightsBackend: Added missing 'scheduler' to code examples
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder': patch
---
The template editor now shows the cause of request errors that happen during a dry-run.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/core-components': patch
---
Change BackstageIconLinkVertical style to use pallette instead of explicit color
+8
View File
@@ -0,0 +1,8 @@
---
'@backstage/backend-common': patch
---
Improve `scm/git` wrapper around `isomorphic-git` library :
- Add `checkout` function,
- Add optional `remoteRef` parameter in the `push` function.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-techdocs-node': minor
---
Added local publishing target directory `config`: `techdocs.publisher.local.publishDirectory`
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/backend-common': patch
---
Fix parsing of S3 URLs for the default region.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/core-components': minor
---
Add `transformLinkUri` and `transformImageUri` to `MarkdownContent`
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/create-app': patch
---
Bumped create-app version.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder': patch
---
Bumped `codemirror` dependencies to `v6.0.0`.
-8
View File
@@ -1,8 +0,0 @@
---
'@backstage/backend-common': patch
'@backstage/catalog-model': patch
'@backstage/core-components': patch
'@backstage/plugin-techdocs-react': patch
---
Updated JSDoc to be MDX compatible.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-common': minor
---
Added back support for when no branch is provided to the `UrlReader` for Bitbucket Server
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-kubernetes-backend': patch
'@backstage/plugin-kubernetes-common': patch
---
Fixed the lack of `limitranges` as part of the Default Objects to fetch from the kubernetes api
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder-backend': minor
---
Added a new `/v2/dry-run` endpoint that allows for a synchronous dry run of a provided template. A `supportsDryRun` option has been added to `createTemplateAction`, which signals whether the action should be executed during dry runs. When enabled, the action context will have the new `isDryRun` property set to signal if the action is being executed during a dry run.
+8
View File
@@ -0,0 +1,8 @@
---
'@backstage/core-plugin-api': patch
---
Introduced a new experimental feature that allows you to declare plugin-wide options for your plugin by defining
`__experimentalConfigure` in your `createPlugin` options. See https://backstage.io/docs/plugins/customization.md for more information.
This is an experimental feature and it will have breaking changes in the future.
@@ -2,4 +2,4 @@
'@backstage/plugin-scaffolder-backend': patch
---
Improve error messaging when passing in malformed auth
Add a `publish:gerrit:review` scaffolder action
+15
View File
@@ -0,0 +1,15 @@
---
'@backstage/plugin-catalog': minor
---
Plugin catalog has been modified to use an experimental feature where you can customize the title of the create button.
You can modify it by doing:
```typescript jsx
import { catalogPlugin } from '@backstage/plugin-catalog';
catalogPlugin.__experimentalReconfigure({
createButtonTitle: 'New',
});
```
-23
View File
@@ -1,23 +0,0 @@
---
'@backstage/plugin-catalog': patch
---
Previously, the color of the Entity Context Menu (in the Entity Page Header) was hardcoded as `white`.
This was an issue for themes that use a header with a white background. By default, the color of the icon is now `theme.palette.bursts.fontColor`.
It can now also be overridden in the theme, which is only necessary if the header title, subtitle and three-dots icon need to have different colors. For example:
```typescript
export function createThemeOverrides(theme: BackstageTheme): Overrides {
return {
PluginCatalogEntityContextMenu: {
button: {
color: 'blue',
},
},
...
},
...
}
```
-19
View File
@@ -1,19 +0,0 @@
---
'@backstage/cli': minor
---
**BREAKING**: Removed the following deprecated package commands:
- `app:build` - Use `package build` instead
- `app:serve` - Use `package start` instead
- `backend:build` - Use `package build` instead
- `backend:bundle` - Use `package build` instead
- `backend:dev` - Use `package start` instead
- `plugin:build` - Use `package build` instead
- `plugin:serve` - Use `package start` instead
- `build` - Use `package build` instead
- `lint` - Use `package lint` instead
- `prepack` - Use `package prepack` instead
- `postpack` - Use `package postpack` instead
In order to replace these you need to have [migrated to using package roles](https://backstage.io/docs/tutorials/package-role-migration).
-6
View File
@@ -1,6 +0,0 @@
---
'@techdocs/cli': patch
'@backstage/plugin-techdocs-node': patch
---
Fix the flag parsing for `legacyCopyReadmeMdToIndexMd` in `techdocs-cli generate` command, and decouple it's logic from the `techdocs-ref` flag.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder': minor
---
Add `allowedRepos` `ui:option` to `RepoUrlPicker` component, and move `repoName` field to own component
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/backend-common': minor
---
- Added `force` and `remoteRef` option to `push` method in `git` actions
- Added `addRemote` and `deleteRemote` methods to `git` actions
-13
View File
@@ -1,13 +0,0 @@
---
'@backstage/create-app': patch
---
Added an explicit `node-gyp` dependency to the root `package.json`. This is to work around a bug in older versions of `node-gyp` that causes Python execution to fail on macOS.
You can add this workaround to your existing project by adding `node-gyp` as a `devDependency` in your root `package.json` file:
```diff
"devDependencies": {
+ "node-gyp": "^9.0.0"
},
```
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-apache-airflow': minor
---
Exposed DagTableComponent as standalone component + added a prop to get only select DAGs instead of the full list
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Upgrade `@rollup/plugin-node-resolve` to `^13.0.6`
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-stack-overflow': patch
---
- Publicly exports `StackOverflowIcon`.
- `HomePageStackOverflowQuestions` accepts optional icon property.
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-vault': patch
'@backstage/plugin-vault-backend': patch
---
Added a path notion in addition to secret name to allow to differentiate secrets in sub-paths
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-github-pull-requests-board': patch
---
Support namespaced teams and fetch all kinds
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/core-app-api': patch
---
The `signOut` method of the `IdentityApi` will now navigate the user back to the base URL of the app as indicated by the `app.baseUrl` config.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder-backend': minor
---
Update GitLab Merge Request Action to allow source branch to be deleted
+8
View File
@@ -0,0 +1,8 @@
---
'@backstage/plugin-catalog-backend-module-aws': patch
---
Deprecate `AwsS3DiscoveryProcessor` in favor of `AwsS3EntityProvider` (since v0.1.4).
You can find a migration guide at
[the release notes for v0.1.4](https://github.com/backstage/backstage/blob/master/plugins/catalog-backend-module-aws/CHANGELOG.md#014).
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-auth-backend': patch
---
Added an option for the auth backend router to select the algorithm for the JWT token signing keys
-7
View File
@@ -1,7 +0,0 @@
---
'@backstage/plugin-scaffolder': minor
---
A new template editor has been added which is accessible via the context menu on the top right hand corner of the Create page. It allows you to load a template from a local directory, edit it with a preview, execute it in dry-run mode, and view the results. Note that the [File System Access API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API) must be supported by your browser for this to be available.
To support the new template editor the `ScaffolderApi` now has an optional `dryRun` method, which is implemented by the default `ScaffolderClient`.
-11
View File
@@ -1,11 +0,0 @@
---
'@backstage/plugin-auth-backend': minor
---
**BREAKING**: Removed all directly exported auth provider factories, option types, and sign-in resolvers. For example: `AwsAlbProviderOptions`, `bitbucketUserIdSignInResolver`, `createGithubProvider`. These are all still accessible via the `providers` export. For example, use `providers.github.create()` rather than `createGithubProvider()`, and `providers.bitbucket.resolvers.userIdMatchingUserEntityAnnotation()` rather than `bitbucketUserIdSignInResolver`.
**BREAKING**: Removed the exported `AuthProviderFactoryOptions` type as well as the deprecated option fields of the `AuthProviderFactory` callback. This includes the `tokenManager`, `tokenIssuer`, `discovery`, and `catalogApi` fields. Existing usage of these should be replaced with the new utilities in the `resolverContext` field. The deprecated `TokenIssuer` type is now also removed, since it is no longer used.
**BREAKING**: Removed `getEntityClaims`, use `getDefaultOwnershipEntityRefs` instead.
**DEPRECATION**: Deprecated `AtlassianAuthProvider` as it was unintentionally exported.
+158 -212
View File
@@ -2,223 +2,169 @@
"mode": "pre",
"tag": "next",
"initialVersions": {
"example-app": "0.2.72",
"@backstage/app-defaults": "1.0.3",
"example-backend": "0.2.72",
"@backstage/backend-common": "0.14.0",
"@backstage/backend-tasks": "0.3.2",
"@backstage/backend-test-utils": "0.1.25",
"@backstage/catalog-client": "1.0.3",
"@backstage/catalog-model": "1.0.3",
"@backstage/cli": "0.17.2",
"example-app": "0.2.73",
"@backstage/app-defaults": "1.0.4",
"example-backend": "0.2.73",
"@backstage/backend-app-api": "0.1.0",
"@backstage/backend-common": "0.14.1",
"example-backend-next": "0.0.1",
"@backstage/backend-plugin-api": "0.1.0",
"@backstage/backend-tasks": "0.3.3",
"@backstage/backend-test-utils": "0.1.26",
"@backstage/catalog-client": "1.0.4",
"@backstage/catalog-model": "1.1.0",
"@backstage/cli": "0.18.0",
"@backstage/cli-common": "0.1.9",
"@backstage/codemods": "0.1.38",
"@backstage/config": "1.0.1",
"@backstage/config-loader": "1.1.2",
"@backstage/core-app-api": "1.0.3",
"@backstage/core-components": "0.9.5",
"@backstage/core-plugin-api": "1.0.3",
"@backstage/create-app": "0.4.28",
"@backstage/dev-utils": "1.0.3",
"@backstage/config-loader": "1.1.3",
"@backstage/core-app-api": "1.0.4",
"@backstage/core-components": "0.10.0",
"@backstage/core-plugin-api": "1.0.4",
"@backstage/create-app": "0.4.29",
"@backstage/dev-utils": "1.0.4",
"e2e-test": "0.2.0",
"@backstage/errors": "1.0.0",
"@backstage/integration": "1.2.1",
"@backstage/integration-react": "1.1.1",
"@backstage/release-manifests": "0.0.4",
"@techdocs/cli": "1.1.2",
"techdocs-cli-embedded-app": "0.2.71",
"@backstage/test-utils": "1.1.1",
"@backstage/theme": "0.2.15",
"@backstage/errors": "1.1.0",
"@backstage/integration": "1.2.2",
"@backstage/integration-react": "1.1.2",
"@backstage/release-manifests": "0.0.5",
"@techdocs/cli": "1.1.3",
"techdocs-cli-embedded-app": "0.2.72",
"@backstage/test-utils": "1.1.2",
"@backstage/theme": "0.2.16",
"@backstage/types": "1.0.0",
"@backstage/version-bridge": "1.0.1",
"@backstage/plugin-adr": "0.1.1",
"@backstage/plugin-adr-backend": "0.1.1",
"@backstage/plugin-adr-common": "0.1.1",
"@backstage/plugin-airbrake": "0.3.6",
"@backstage/plugin-airbrake-backend": "0.2.6",
"@backstage/plugin-allure": "0.1.22",
"@backstage/plugin-analytics-module-ga": "0.1.17",
"@backstage/plugin-apache-airflow": "0.1.14",
"@backstage/plugin-api-docs": "0.8.6",
"@backstage/plugin-app-backend": "0.3.33",
"@backstage/plugin-auth-backend": "0.14.1",
"@backstage/plugin-auth-node": "0.2.2",
"@backstage/plugin-azure-devops": "0.1.22",
"@backstage/plugin-azure-devops-backend": "0.3.12",
"@backstage/plugin-azure-devops-common": "0.2.3",
"@backstage/plugin-badges": "0.2.30",
"@backstage/plugin-badges-backend": "0.1.27",
"@backstage/plugin-bazaar": "0.1.21",
"@backstage/plugin-bazaar-backend": "0.1.17",
"@backstage/plugin-bitbucket-cloud-common": "0.1.0",
"@backstage/plugin-bitrise": "0.1.33",
"@backstage/plugin-catalog": "1.3.0",
"@backstage/plugin-catalog-backend": "1.2.0",
"@backstage/plugin-catalog-backend-module-aws": "0.1.6",
"@backstage/plugin-catalog-backend-module-azure": "0.1.4",
"@backstage/plugin-catalog-backend-module-bitbucket": "0.2.0",
"@backstage/plugin-catalog-backend-module-bitbucket-cloud": "0.1.0",
"@backstage/plugin-catalog-backend-module-gerrit": "0.1.1",
"@backstage/plugin-catalog-backend-module-github": "0.1.4",
"@backstage/plugin-catalog-backend-module-gitlab": "0.1.4",
"@backstage/plugin-catalog-backend-module-ldap": "0.5.0",
"@backstage/plugin-catalog-backend-module-msgraph": "0.3.3",
"@backstage/plugin-catalog-common": "1.0.3",
"@backstage/plugin-catalog-graph": "0.2.18",
"@backstage/plugin-catalog-graphql": "0.3.10",
"@backstage/plugin-catalog-import": "0.8.9",
"@backstage/plugin-catalog-react": "1.1.1",
"@backstage/plugin-cicd-statistics": "0.1.8",
"@backstage/plugin-cicd-statistics-module-gitlab": "0.1.2",
"@backstage/plugin-circleci": "0.3.6",
"@backstage/plugin-cloudbuild": "0.3.6",
"@backstage/plugin-code-climate": "0.1.6",
"@backstage/plugin-code-coverage": "0.1.33",
"@backstage/plugin-code-coverage-backend": "0.1.31",
"@backstage/plugin-codescene": "0.1.1",
"@backstage/plugin-config-schema": "0.1.29",
"@backstage/plugin-cost-insights": "0.11.28",
"@backstage/plugin-dynatrace": "0.1.0",
"@internal/plugin-todo-list": "1.0.2",
"@internal/plugin-todo-list-backend": "1.0.2",
"@internal/plugin-todo-list-common": "1.0.2",
"@backstage/plugin-explore": "0.3.37",
"@backstage/plugin-explore-react": "0.0.18",
"@backstage/plugin-firehydrant": "0.1.23",
"@backstage/plugin-fossa": "0.2.38",
"@backstage/plugin-gcalendar": "0.3.2",
"@backstage/plugin-gcp-projects": "0.3.25",
"@backstage/plugin-git-release-manager": "0.3.19",
"@backstage/plugin-github-actions": "0.5.6",
"@backstage/plugin-github-deployments": "0.1.37",
"@backstage/plugin-github-pull-requests-board": "0.1.0",
"@backstage/plugin-gitops-profiles": "0.3.24",
"@backstage/plugin-gocd": "0.1.12",
"@backstage/plugin-graphiql": "0.2.38",
"@backstage/plugin-graphql-backend": "0.1.23",
"@backstage/plugin-home": "0.4.22",
"@backstage/plugin-ilert": "0.1.32",
"@backstage/plugin-jenkins": "0.7.5",
"@backstage/plugin-jenkins-backend": "0.1.23",
"@backstage/plugin-jenkins-common": "0.1.5",
"@backstage/plugin-kafka": "0.3.6",
"@backstage/plugin-kafka-backend": "0.2.26",
"@backstage/plugin-kubernetes": "0.6.6",
"@backstage/plugin-kubernetes-backend": "0.6.0",
"@backstage/plugin-kubernetes-common": "0.3.0",
"@backstage/plugin-lighthouse": "0.3.6",
"@backstage/plugin-newrelic": "0.3.24",
"@backstage/plugin-newrelic-dashboard": "0.1.14",
"@backstage/plugin-org": "0.5.6",
"@backstage/plugin-pagerduty": "0.4.0",
"@backstage/plugin-periskop": "0.1.4",
"@backstage/plugin-periskop-backend": "0.1.4",
"@backstage/plugin-permission-backend": "0.5.8",
"@backstage/plugin-permission-common": "0.6.2",
"@backstage/plugin-permission-node": "0.6.2",
"@backstage/plugin-permission-react": "0.4.2",
"@backstage/plugin-proxy-backend": "0.2.27",
"@backstage/plugin-rollbar": "0.4.6",
"@backstage/plugin-rollbar-backend": "0.1.30",
"@backstage/plugin-scaffolder": "1.3.0",
"@backstage/plugin-scaffolder-backend": "1.3.0",
"@backstage/plugin-scaffolder-backend-module-cookiecutter": "0.2.8",
"@backstage/plugin-scaffolder-backend-module-rails": "0.4.1",
"@backstage/plugin-scaffolder-backend-module-yeoman": "0.2.6",
"@backstage/plugin-scaffolder-common": "1.1.1",
"@backstage/plugin-search": "0.9.0",
"@backstage/plugin-search-backend": "0.5.3",
"@backstage/plugin-search-backend-module-elasticsearch": "0.1.5",
"@backstage/plugin-search-backend-module-pg": "0.3.4",
"@backstage/plugin-search-backend-node": "0.6.2",
"@backstage/plugin-search-common": "0.3.5",
"@backstage/plugin-search-react": "0.2.1",
"@backstage/plugin-sentry": "0.3.44",
"@backstage/plugin-shortcuts": "0.2.7",
"@backstage/plugin-sonarqube": "0.3.6",
"@backstage/plugin-splunk-on-call": "0.3.30",
"@backstage/plugin-stack-overflow": "0.1.2",
"@backstage/plugin-stack-overflow-backend": "0.1.2",
"@backstage/plugin-tech-insights": "0.2.2",
"@backstage/plugin-tech-insights-backend": "0.4.1",
"@backstage/plugin-tech-insights-backend-module-jsonfc": "0.1.17",
"@backstage/plugin-tech-insights-common": "0.2.4",
"@backstage/plugin-tech-insights-node": "0.3.1",
"@backstage/plugin-tech-radar": "0.5.13",
"@backstage/plugin-techdocs": "1.2.0",
"@backstage/plugin-techdocs-addons-test-utils": "1.0.1",
"@backstage/plugin-techdocs-backend": "1.1.2",
"@backstage/plugin-techdocs-module-addons-contrib": "1.0.1",
"@backstage/plugin-techdocs-node": "1.1.2",
"@backstage/plugin-techdocs-react": "1.0.1",
"@backstage/plugin-todo": "0.2.8",
"@backstage/plugin-todo-backend": "0.1.30",
"@backstage/plugin-user-settings": "0.4.5",
"@backstage/plugin-vault": "0.1.0",
"@backstage/plugin-vault-backend": "0.1.0",
"@backstage/plugin-xcmetrics": "0.2.26",
"@backstage/plugin-api-docs-module-protoc-gen-doc": "0.0.0",
"@backstage/plugin-catalog-backend-module-openapi": "0.0.0"
"@backstage/plugin-adr": "0.1.2",
"@backstage/plugin-adr-backend": "0.1.2",
"@backstage/plugin-adr-common": "0.1.2",
"@backstage/plugin-airbrake": "0.3.7",
"@backstage/plugin-airbrake-backend": "0.2.7",
"@backstage/plugin-allure": "0.1.23",
"@backstage/plugin-analytics-module-ga": "0.1.18",
"@backstage/plugin-apache-airflow": "0.2.0",
"@backstage/plugin-api-docs": "0.8.7",
"@backstage/plugin-api-docs-module-protoc-gen-doc": "0.1.0",
"@backstage/plugin-apollo-explorer": "0.1.0",
"@backstage/plugin-app-backend": "0.3.34",
"@backstage/plugin-auth-backend": "0.15.0",
"@backstage/plugin-auth-node": "0.2.3",
"@backstage/plugin-azure-devops": "0.1.23",
"@backstage/plugin-azure-devops-backend": "0.3.13",
"@backstage/plugin-azure-devops-common": "0.2.4",
"@backstage/plugin-badges": "0.2.31",
"@backstage/plugin-badges-backend": "0.1.28",
"@backstage/plugin-bazaar": "0.1.22",
"@backstage/plugin-bazaar-backend": "0.1.18",
"@backstage/plugin-bitbucket-cloud-common": "0.1.1",
"@backstage/plugin-bitrise": "0.1.34",
"@backstage/plugin-catalog": "1.4.0",
"@backstage/plugin-catalog-backend": "1.3.0",
"@backstage/plugin-catalog-backend-module-aws": "0.1.7",
"@backstage/plugin-catalog-backend-module-azure": "0.1.5",
"@backstage/plugin-catalog-backend-module-bitbucket": "0.2.1",
"@backstage/plugin-catalog-backend-module-bitbucket-cloud": "0.1.1",
"@backstage/plugin-catalog-backend-module-gerrit": "0.1.2",
"@backstage/plugin-catalog-backend-module-github": "0.1.5",
"@backstage/plugin-catalog-backend-module-gitlab": "0.1.5",
"@backstage/plugin-catalog-backend-module-ldap": "0.5.1",
"@backstage/plugin-catalog-backend-module-msgraph": "0.4.0",
"@backstage/plugin-catalog-backend-module-openapi": "0.1.0",
"@backstage/plugin-catalog-common": "1.0.4",
"@backstage/plugin-catalog-graph": "0.2.19",
"@backstage/plugin-catalog-graphql": "0.3.11",
"@backstage/plugin-catalog-import": "0.8.10",
"@backstage/plugin-catalog-node": "1.0.0",
"@backstage/plugin-catalog-react": "1.1.2",
"@backstage/plugin-cicd-statistics": "0.1.9",
"@backstage/plugin-cicd-statistics-module-gitlab": "0.1.3",
"@backstage/plugin-circleci": "0.3.7",
"@backstage/plugin-cloudbuild": "0.3.7",
"@backstage/plugin-code-climate": "0.1.7",
"@backstage/plugin-code-coverage": "0.2.0",
"@backstage/plugin-code-coverage-backend": "0.2.0",
"@backstage/plugin-codescene": "0.1.2",
"@backstage/plugin-config-schema": "0.1.30",
"@backstage/plugin-cost-insights": "0.11.29",
"@backstage/plugin-cost-insights-common": "0.1.0",
"@backstage/plugin-dynatrace": "0.1.1",
"@internal/plugin-todo-list": "1.0.3",
"@internal/plugin-todo-list-backend": "1.0.3",
"@internal/plugin-todo-list-common": "1.0.3",
"@backstage/plugin-explore": "0.3.38",
"@backstage/plugin-explore-react": "0.0.19",
"@backstage/plugin-firehydrant": "0.1.24",
"@backstage/plugin-fossa": "0.2.39",
"@backstage/plugin-gcalendar": "0.3.3",
"@backstage/plugin-gcp-projects": "0.3.26",
"@backstage/plugin-git-release-manager": "0.3.20",
"@backstage/plugin-github-actions": "0.5.7",
"@backstage/plugin-github-deployments": "0.1.38",
"@backstage/plugin-github-pull-requests-board": "0.1.1",
"@backstage/plugin-gitops-profiles": "0.3.25",
"@backstage/plugin-gocd": "0.1.13",
"@backstage/plugin-graphiql": "0.2.39",
"@backstage/plugin-graphql-backend": "0.1.24",
"@backstage/plugin-home": "0.4.23",
"@backstage/plugin-ilert": "0.1.33",
"@backstage/plugin-jenkins": "0.7.6",
"@backstage/plugin-jenkins-backend": "0.1.24",
"@backstage/plugin-jenkins-common": "0.1.6",
"@backstage/plugin-kafka": "0.3.7",
"@backstage/plugin-kafka-backend": "0.2.27",
"@backstage/plugin-kubernetes": "0.7.0",
"@backstage/plugin-kubernetes-backend": "0.7.0",
"@backstage/plugin-kubernetes-common": "0.4.0",
"@backstage/plugin-lighthouse": "0.3.7",
"@backstage/plugin-newrelic": "0.3.25",
"@backstage/plugin-newrelic-dashboard": "0.2.0",
"@backstage/plugin-org": "0.5.7",
"@backstage/plugin-pagerduty": "0.5.0",
"@backstage/plugin-periskop": "0.1.5",
"@backstage/plugin-periskop-backend": "0.1.5",
"@backstage/plugin-permission-backend": "0.5.9",
"@backstage/plugin-permission-common": "0.6.3",
"@backstage/plugin-permission-node": "0.6.3",
"@backstage/plugin-permission-react": "0.4.3",
"@backstage/plugin-proxy-backend": "0.2.28",
"@backstage/plugin-rollbar": "0.4.7",
"@backstage/plugin-rollbar-backend": "0.1.31",
"@backstage/plugin-scaffolder": "1.4.0",
"@backstage/plugin-scaffolder-backend": "1.4.0",
"@backstage/plugin-scaffolder-backend-module-cookiecutter": "0.2.9",
"@backstage/plugin-scaffolder-backend-module-rails": "0.4.2",
"@backstage/plugin-scaffolder-backend-module-yeoman": "0.2.7",
"@backstage/plugin-scaffolder-common": "1.1.2",
"@backstage/plugin-search": "1.0.0",
"@backstage/plugin-search-backend": "1.0.0",
"@backstage/plugin-search-backend-module-elasticsearch": "1.0.0",
"@backstage/plugin-search-backend-module-pg": "0.3.5",
"@backstage/plugin-search-backend-node": "1.0.0",
"@backstage/plugin-search-common": "1.0.0",
"@backstage/plugin-search-react": "1.0.0",
"@backstage/plugin-sentry": "0.4.0",
"@backstage/plugin-shortcuts": "0.2.8",
"@backstage/plugin-sonarqube": "0.3.7",
"@backstage/plugin-splunk-on-call": "0.3.31",
"@backstage/plugin-stack-overflow": "0.1.3",
"@backstage/plugin-stack-overflow-backend": "0.1.3",
"@backstage/plugin-tech-insights": "0.2.3",
"@backstage/plugin-tech-insights-backend": "0.5.0",
"@backstage/plugin-tech-insights-backend-module-jsonfc": "0.1.18",
"@backstage/plugin-tech-insights-common": "0.2.5",
"@backstage/plugin-tech-insights-node": "0.3.2",
"@backstage/plugin-tech-radar": "0.5.14",
"@backstage/plugin-techdocs": "1.3.0",
"@backstage/plugin-techdocs-addons-test-utils": "1.0.2",
"@backstage/plugin-techdocs-backend": "1.2.0",
"@backstage/plugin-techdocs-module-addons-contrib": "1.0.2",
"@backstage/plugin-techdocs-node": "1.2.0",
"@backstage/plugin-techdocs-react": "1.0.2",
"@backstage/plugin-todo": "0.2.9",
"@backstage/plugin-todo-backend": "0.1.31",
"@backstage/plugin-user-settings": "0.4.6",
"@backstage/plugin-vault": "0.1.1",
"@backstage/plugin-vault-backend": "0.2.0",
"@backstage/plugin-xcmetrics": "0.2.27"
},
"changesets": [
"beige-horses-scream",
"breezy-poems-grab",
"breezy-seas-exist",
"bright-balloons-hide",
"calm-experts-buy",
"chilled-mirrors-grab",
"create-app-1656408352",
"curly-candles-battle",
"curvy-weeks-matter",
"eleven-mice-collect",
"forty-seals-complain",
"great-roses-pump",
"green-actors-argue",
"happy-boxes-melt",
"large-kangaroos-poke",
"lemon-goats-obey",
"metal-singers-matter",
"modern-ducks-lay",
"nasty-zoos-cross",
"nervous-humans-sip",
"plenty-clouds-guess",
"polite-eagles-invite",
"popular-pots-yell",
"pretty-masks-live",
"purple-beans-march",
"quiet-pens-notice",
"red-games-decide",
"renovate-4b5ff24",
"renovate-9454dab",
"rude-llamas-lie",
"search-lightning-cult",
"search-turtles-itch",
"serious-zebras-joke",
"shaggy-melons-drive",
"sharp-numbers-taste",
"sharp-planes-turn",
"shiny-turkeys-doubt",
"short-olives-train",
"shy-cameras-develop",
"silent-coats-brake",
"silver-needles-unite",
"smooth-sheep-hide",
"strange-tables-flash",
"strange-trains-collect",
"strong-lies-explain",
"sweet-plants-sparkle",
"tame-guests-wave",
"techdocs-eyes-sit",
"techdocs-gorgeous-plants-sniff",
"techdocs-sheep-talk",
"techdocs-the-whole-pulse",
"thick-radios-drive",
"twelve-candles-jump",
"two-crews-accept",
"unlucky-stingrays-juggle",
"weak-bananas-deliver",
"weak-llamas-repeat",
"wet-dolphins-act",
"wicked-icons-grin"
]
"changesets": []
}
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/catalog-model': patch
---
Added type predicates for all entity types, e.g. isUserEntity
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/catalog-model': minor
---
Introduced `GroupDefaultParentEntityPolicy` to set a default group entity parent.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Fix `webpack-dev-server` deprecations.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/backend-common': patch
---
Improve plural handling in logging output for secrets
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-api-docs-module-protoc-gen-doc': minor
---
Added the new `grpcDocsApiWidget` to render `protoc-gen-doc` generated descriptors by the `grpc-docs` package.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-kafka-backend': patch
---
Updated dependency `kafkajs` to `^2.0.0`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Updated dependencies `@svgr/*` to `6.3.x`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Updated dependency `run-script-webpack-plugin` to `^0.1.0`.
+17
View File
@@ -0,0 +1,17 @@
---
'@backstage/backend-common': patch
'@backstage/backend-tasks': patch
'@backstage/integration': patch
'@backstage/plugin-cicd-statistics': patch
'@backstage/plugin-code-climate': patch
'@backstage/plugin-gocd': patch
'@backstage/plugin-kubernetes-backend': patch
'@backstage/plugin-periskop': patch
'@backstage/plugin-sentry': patch
'@backstage/plugin-splunk-on-call': patch
'@backstage/plugin-tech-insights-common': patch
'@backstage/plugin-tech-insights-node': patch
'@backstage/plugin-xcmetrics': patch
---
Updated dependency `@types/luxon` to `^3.0.0`.
-16
View File
@@ -1,16 +0,0 @@
---
'@backstage/backend-common': patch
'@backstage/backend-tasks': patch
'@backstage/backend-test-utils': patch
'@backstage/plugin-app-backend': patch
'@backstage/plugin-auth-backend': patch
'@backstage/plugin-bazaar-backend': patch
'@backstage/plugin-catalog-backend': patch
'@backstage/plugin-code-coverage-backend': patch
'@backstage/plugin-scaffolder-backend': patch
'@backstage/plugin-search-backend-module-pg': patch
'@backstage/plugin-tech-insights-backend': patch
'@backstage/plugin-techdocs-backend': patch
---
Updated dependency `knex` to `^2.0.0`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-auth-backend': patch
---
Updated dependency `google-auth-library` to `^8.0.0`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-vault': patch
---
Export missing parameters and added them to the api-report. Also adapted the API to the expected response from the backend
-24
View File
@@ -1,24 +0,0 @@
---
'@backstage/plugin-search-backend-module-elasticsearch': minor
---
**BREAKING**: In order to remain interoperable with all currently supported
deployments of Elasticsearch, this package will now conditionally use either
the `@elastic/elasticsearch` or `@opensearch-project/opensearch` client when
communicating with your deployed cluster.
If you do not rely on types exported from this package, or if you do not make
use of the `createElasticSearchClientOptions` or `newClient` methods on the
`ElasticSearchSearchEngine` class, then upgrading to this version should not
require any further action on your part. Everything will continue to work as it
always has.
If you _do_ rely on either of the above methods or any underlying types, some
changes may be needed to your custom code. A type guard is now exported by this
package (`isOpenSearchCompatible(options)`), which you may use to help clarify
which client options are compatible with which client constructors.
If you are using this package with the `search.elasticsearch.provider` set to
`aws`, and you are making use of the `newClient` method in particular, you may
wish to start using the `@opensearch-project/opensearch` client in your custom
code.
-13
View File
@@ -1,13 +0,0 @@
---
'@backstage/plugin-search': patch
---
To allow people to use a global search context in the search modal, the code for the search modal has been changed to only create a local search context if there is no parent context already defined.
If you want to continue using a local context even if you define a global one, you will have to wrap the modal in a new local context manually:
```tsx
<SearchContextProvider>
<SearchModal toggleModal={toggleModal} />
</SearchContextProvider>
```
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/core-components': patch
---
Support displaying subtitle text in `SidebarSubmenuItem`
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/catalog-model': minor
---
Adding an optional type field to entity links to group and categorize links
-7
View File
@@ -1,7 +0,0 @@
---
'@backstage/errors': minor
---
The `ResponseError.fromResponse` now accepts a more narrow response type, in order to avoid incompatibilities between different fetch implementations.
The `response` property of `ResponseError` has also been narrowed to a new `ConsumedResponse` type that omits all the properties for consuming the body of the response. This is not considered a breaking change as it was always an error to try to consume the body of the response.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-vault-backend': minor
---
Throw exceptions instead of swallow them, remove some exported types from the `api-report`, small changes in the API responses & expose the vault `baseUrl` to the frontend as well
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-org': patch
---
Render namespaces for teams with subtitles in `MyGroupsSidebarItem`
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-kubernetes-backend': minor
'@backstage/plugin-kubernetes-common': minor
---
Refactor `KubernetesObjectsProvider` with new methods, `KubernetesServiceLocator` now takes an `Entity` instead of `serviceId`
-7
View File
@@ -1,7 +0,0 @@
---
'@backstage/plugin-catalog-backend-module-openapi': minor
---
Add basic OpenAPI \$ref support.
For more information see [here](https://github.com/backstage/backstage/tree/master/plugins/catalog-backend-module-openapi).
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-catalog': patch
'@backstage/plugin-catalog-backend': patch
---
Use entity type predicates from catalog-model
-26
View File
@@ -1,26 +0,0 @@
---
'@backstage/plugin-home': patch
---
Added support for customizing the time format used in the `HeaderWorldClock` component
Here's an example of how this can be used in the `HomePage.tsx` found in `\packages\app\src\components\home` to change the clock to be in the 24hr time format:
```diff
+const timeFormat: Intl.DateTimeFormatOptions = {
+ hour: '2-digit',
+ minute: '2-digit',
+ hour12: false,
+};
export const homePage = (
<Page themeId="home">
<Header title={<WelcomeTitle />} pageTitleOverride="Home">
+ <HeaderWorldClock clockConfigs={clockConfigs} customTimeFormat={timeFormat} />
</Header>
<Content>
<Grid container spacing={3}>
<Grid item xs={12}>
<HomePageSearchBar />
</Grid>
```
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-azure-devops': patch
---
Exporting azureDevOpsApiRef, AzureGitTagsIcon, and all hooks for the benefit of other plugins.
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-stack-overflow': patch
'@backstage/plugin-stack-overflow-backend': patch
---
app-config is now picked up properly.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder': patch
---
The max content size for dry-run files has been reduced from 256k to 64k.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/theme': patch
---
Adds optional `htmlFontSize` property and also sets typography design tokens for h5 and h6 in base theme.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/integration': patch
---
Allow frontend visibility for `integrations` itself.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-azure-devops-backend': patch
---
Added comments to example to help avoid confusion as to where lines need to be added
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-techdocs-backend': patch
---
Add sample headings on the documented component homepage.
@@ -1,5 +0,0 @@
---
'@backstage/plugin-techdocs': patch
---
Reorder browser tab title in Techdocs pages to have the site name first.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-techdocs': patch
---
Remove the 60% factor from the font size calculation of headers to use the exact size defined in BackstageTheme.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-techdocs': patch
---
Fix: When docs are shown in an entity page under the docs tab the sidebars start overlapping with the header and tabs in the page when you scroll the documentation content.
-5
View File
@@ -1,5 +0,0 @@
---
'@techdocs/cli': patch
---
Fixed a bug that prevented docker images from being pulled by default when generating TechDocs.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-adr': patch
---
Track discover event and result rank for `AdrSearchResultListItem`
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-backend': minor
---
Updated `publish:gitlab:merge-request` action to allow commit updates and deletes
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder-backend': minor
---
Added two new scaffolder actions: `github:repo:create` and `github:repo:push`
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog-backend-module-ldap': patch
---
Add possibility to resolve relations by RDN, in addition to UUID and DN
-15
View File
@@ -1,15 +0,0 @@
---
'@backstage/plugin-catalog-backend-module-gitlab': patch
---
Add the possibility in the `GitlabDiscoveryEntityProvider` to scan the whole project instead of concrete groups. For that, use a configuration like this one, where the group parameter is omitted (not mandatory anymore):
```yaml
catalog:
providers:
gitlab:
yourProviderId:
host: gitlab-host # Identifies one of the hosts set up in the integrations
branch: main # Optional. Uses `master` as default
entityFilename: catalog-info.yaml # Optional. Defaults to `catalog-info.yaml`
```
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog-import': patch
---
Support use without `integrations` or only integrations without frontend visible properties (e.g., `bitbucketCloud`) being configured by checking `integrations.github` directly without attempting to load `integrations`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend-module-msgraph': patch
---
Adjust references in deprecation warnings to point to stable URL/document.
-28
View File
@@ -1,28 +0,0 @@
---
'@backstage/plugin-pagerduty': minor
---
Introduces a new annotation `pagerduty.com/service-id` that can be used instead of the `pagerduty.com/integration-key` annotation.
_Note: If both annotations are specified on a given Entity, then the `pagerduty.com/integration-key` annotation will be prefered_
**BREAKING** The `PagerDutyClient.fromConfig` static method now expects a `FetchApi` compatible object and has been refactored to
accept 2 arguments: config and ClientApiDependencies
The `PagerDutyClient` now relies on a `fetchApi` being available to execute `fetch` requests.
**BREAKING** A new query method `getServiceByEntity` that is used to query for Services by either the `integrationKey` or `serviceId`
annotation values if they are defined. The `integrationKey` value is preferred currently over `serviceId`. As such, the previous
`getServiceByIntegrationKey` method has been removed.
**BREAKING** The return values for each Client query method has been changed to return an object instead of raw values.
For example, the `getIncidentsByServiceId` query method now returns an object in the shape of `{ incidents: Incident[] }`
instead of just `Incident[]`.
This same pattern goes for `getChangeEventsByServiceId` and `getOnCallByPolicyId` functions.
**BREAKING** All public exported types that relate to entities within PagerDuty have been prefixed with `PagerDuty` (e.g. `ServicesResponse` is now `PagerDutyServicesResponse` and `User` is now `PagerDutyUser`)
In addition, various enhancements/bug fixes were introduced:
- The `PagerDutyCard` component now wraps error and loading messages with an `InfoCard` to contain errors/messages. This enforces a consistent experience on the EntityPage
- If no service can be found for the provided integration key, a new Error Message Empty State component will be shown instead of an error alert
- Introduces the `fetchApi` to replace standard `window.fetch`
- ensures that Identity Authorization is respected and provided in API requests
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder': patch
---
Add `allowArbitraryValues` to `ui:options` in `OwnedEntityPicker`, similar to `allowArbitraryValues` in `EntityPicker`
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-techdocs-backend': minor
---
Added local publishing target directory `config`: `techdocs.publisher.local.publishDirectory`
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-github-actions': patch
---
Minor cleanup of the API surface.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder': patch
---
Swap usage of `MaterialTable` with `Table` from `core-components`
-43
View File
@@ -1,43 +0,0 @@
---
'@backstage/plugin-catalog': patch
'@backstage/plugin-catalog-react': patch
---
Added new `EntityProcessingStatusPicker` that will filter for entities with orphans and/or errors.
If you are using the default Catalog page this picker will be added automatically. For those who have customized their Catalog page you'll need to add this manually by doing something like this:
```diff
...
import {
CatalogFilterLayout,
EntityTypePicker,
UserListPicker,
EntityTagPicker
+ EntityProcessingStatusPicker,
} from '@backstage/plugin-catalog-react';
...
export const CustomCatalogPage = ({
columns,
actions,
initiallySelectedFilter = 'owned',
}: CatalogPageProps) => {
return (
...
<EntityListProvider>
<CatalogFilterLayout>
<CatalogFilterLayout.Filters>
<EntityKindPicker initialFilter="component" hidden />
<EntityTypePicker />
<UserListPicker initialFilter={initiallySelectedFilter} />
<EntityTagPicker />
+ <EntityProcessingStatusPicker />
<CatalogFilterLayout.Filters>
<CatalogFilterLayout.Content>
<CatalogTable columns={columns} actions={actions} />
</CatalogFilterLayout.Content>
</CatalogFilterLayout>
</EntityListProvider>
...
};
```
+5
View File
@@ -13,6 +13,7 @@ yarn.lock @backstage/reviewers @backst
/docs/assets/search @backstage/reviewers @backstage/techdocs-core
/docs/features/search @backstage/reviewers @backstage/techdocs-core
/docs/features/techdocs @backstage/reviewers @backstage/techdocs-core
/docs/plugins/integrating-search-into-plugins.md @backstage/reviewers @backstage/techdocs-core
/packages/techdocs-cli @backstage/reviewers @backstage/techdocs-core
/packages/techdocs-cli-embedded-app @backstage/reviewers @backstage/techdocs-core
/plugins/allure @backstage/reviewers @deepak-bhardwaj-ps
@@ -21,7 +22,11 @@ yarn.lock @backstage/reviewers @backst
/plugins/azure-devops @backstage/reviewers @marleypowell @awanlin
/plugins/azure-devops-backend @backstage/reviewers @marleypowell @awanlin
/plugins/azure-devops-common @backstage/reviewers @marleypowell @awanlin
/plugins/bitbucket-cloud-common @backstage/reviewers @pjungermann
/plugins/bitrise @backstage/reviewers @backstage/sda-se-reviewers
/plugins/catalog-backend-module-aws @backstage/reviewers @pjungermann
/plugins/catalog-backend-module-bitbucket-cloud @backstage/reviewers @pjungermann
/plugins/catalog-backend-module-msgraph @backstage/reviewers @pjungermann
/plugins/catalog-graph @backstage/reviewers @backstage/sda-se-reviewers
/plugins/circleci @backstage/reviewers @adamdmharvey
/plugins/cloudbuild @backstage/reviewers @trivago/ebarrios
+1
View File
@@ -362,3 +362,4 @@ Zhou
zoomable
zsh
Alef
Cloudflare
@@ -1,31 +0,0 @@
# on a review from someone in the reviewers group, remove the awaiting-review label and add the awaiting-author label
name: Automate review labels - scheduled
on:
schedule:
- cron: '* * * * *'
jobs:
label:
runs-on: ubuntu-latest
steps:
- name: Get Token
id: get_workflow_token
uses: peter-murray/workflow-application-token-action@v1
with:
application_id: ${{ secrets.BACKSTAGE_GOALIE_APPLICATION_ID }}
application_private_key: ${{ secrets.BACKSTAGE_GOALIE_PRIVATE_KEY }}
organization: backstage
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
- run: npm install codeowners
- uses: actions/github-script@v6
id: fix-labels
with:
github-token: ${{ steps.get_workflow_token.outputs.token }}
script: |
const script = require('./scripts/goalie-labels.js')
await script({github, context, core})
@@ -1,84 +0,0 @@
# When the target of the PR changes, open, re-open or sync, then re-add the label.
name: Automate review labels
on:
pull_request_target:
types:
- opened
- closed
- synchronize
permissions:
issues: write
pull-requests: write
jobs:
label:
runs-on: ubuntu-latest
steps:
# THESE SCRIPTS SHOULD BE INLINED AND NOT IN REPO
# DUE TO THE TOKEN PERMISSIONS THAT ARE GIVEN
# TO THE WORKFLOW. THIS SCRIPT WILL AND SHOULD
# RUN FROM THE BASE REPO ALL TIMES.
- uses: actions/github-script@v6
id: fix-labels
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
if (['opened', 'synchronize'].includes('${{ github.event.action }}')) {
// if it's the author, always add awaiting-review label
const isAuthor = context.payload.pull_request.user.login === context.actor
if (isAuthor) {
await github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['awaiting-review']
});
}
}
if ('${{ github.event.action}}' === 'closed') {
await github.rest.issues.removeLabel({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: 'awaiting-review'
}).catch((e) => {
console.log(e)
});
}
- name: Add PRs to review board
uses: actions/github-script@v6
if: github.event.action == 'opened' || github.event.action == 'reopened'
env:
PROJECT_ID: PN_kwDOBFKqdc02LQ
with:
github-token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
script: |
const prLookup = await github.graphql(`
query($owner: String!, $repo: String!, $number: Int!){
repository(owner: $owner, name: $repo) {
pullRequest(number: $number) {
id
}
}
}
`, context.issue);
await github.graphql(`
mutation($projectId: ID!, $contentId: ID!) {
addProjectNextItem(input: {
projectId: $projectId,
contentId: $contentId,
}) {
projectNextItem {
id
}
}
}
`, {
projectId: process.env.PROJECT_ID,
contentId: prLookup.repository.pullRequest.id
})
+3 -3
View File
@@ -8,7 +8,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@main
- uses: actions/stale@v5
id: stale
with:
stale-issue-message: >
@@ -17,7 +17,7 @@ jobs:
for your contributions.
days-before-issue-stale: 60
days-before-issue-close: 7
exempt-issue-labels: 'pinned,security,plugin,help wanted,good first issue,rfc,will-fix'
exempt-issue-labels: pinned,security,plugin,after-vacations,rfc,will-fix
stale-issue-label: stale
stale-pr-message: >
This PR has been automatically marked as stale because it has not had
@@ -25,6 +25,6 @@ jobs:
If you are the author and the PR has been closed, feel free to re-open the PR and continue the contribution!
days-before-pr-stale: 7
days-before-pr-close: 5
exempt-pr-labels: reviewer-approved,awaiting-review,will-fix
exempt-pr-labels: after-vacations,will-fix
stale-pr-label: stale
operations-per-run: 100
+114 -72
View File
@@ -9,10 +9,120 @@ concurrency:
cancel-in-progress: true
jobs:
verify:
# This step only runs yarn install to make sure that an exact match is available
# in the cache. The two following verify and tests jobs then always install from cache.
install:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [14.x, 16.x]
env:
CI: true
NODE_OPTIONS: --max-old-space-size=4096
steps:
- uses: actions/checkout@v3
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
- name: yarn install
uses: backstage/actions/yarn-install@v0.5.3
with:
cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}
# The verify jobs runs all the verification that doesn't require a
# diff towards master, since it takes some time to fetch that.
verify:
runs-on: ubuntu-latest
needs: install
strategy:
fail-fast: false
matrix:
node-version: [14.x, 16.x]
env:
CI: true
NODE_OPTIONS: --max-old-space-size=4096
steps:
- uses: actions/checkout@v3
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
- name: yarn install
uses: backstage/actions/yarn-install@v0.5.3
with:
cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}
- name: verify changesets
run: node scripts/verify-changesets.js
- name: verify local dependency ranges
run: node scripts/verify-local-dependencies.js
- name: validate config
run: yarn backstage-cli config:check --lax
- name: type checking and declarations
run: yarn tsc:full
- name: prettier
run: yarn prettier:check
# We need to generate the API references as well, so that we can verify the doc links
- name: check api reports and generate API reference
run: yarn build:api-reports:only --ci --docs
- name: verify api reference
run: node scripts/verify-api-reference.js
- name: verify doc links
run: node scripts/verify-links.js
- name: build all packages
run: yarn backstage-cli repo build --all
- name: verify type dependencies
run: yarn lint:type-deps
- name: verify plugin template
run: yarn lerna -- run diff -- --check
- name: ensure clean working directory
run: |
if files=$(git ls-files --exclude-standard --others --modified) && [[ -z "$files" ]]; then
exit 0
else
echo ""
echo "Working directory has been modified:"
echo ""
git status --short
echo ""
exit 1
fi
# The test job runs all tests as well as any verification step that
# requires a diff towards master.
test:
runs-on: ubuntu-latest
needs: install
strategy:
fail-fast: false
matrix:
node-version: [14.x, 16.x]
@@ -64,93 +174,28 @@ jobs:
- name: fetch branch master
run: git fetch origin master
# Beginning of yarn setup, keep in sync between all workflows.
# TODO(Rugvip): move this to composite action once all features we use are supported
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
# Cache every node_modules folder inside the monorepo
- name: cache all node_modules
id: cache-modules
uses: actions/cache@v3
with:
path: '**/node_modules'
# We use both yarn.lock and package.json as cache keys to ensure that
# changes to local monorepo packages bust the cache.
key: ${{ runner.os }}-v${{ matrix.node-version }}-node_modules-${{ hashFiles('yarn.lock', '**/package.json') }}
# If we get a cache hit for node_modules, there's no need to bring in the global
# yarn cache or run yarn install, as all dependencies will be installed already.
- name: find location of global yarn cache
id: yarn-cache
if: steps.cache-modules.outputs.cache-hit != 'true'
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: cache global yarn cache
uses: actions/cache@v3
if: steps.cache-modules.outputs.cache-hit != 'true'
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: yarn install
if: steps.cache-modules.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile
# End of yarn setup
uses: backstage/actions/yarn-install@v0.5.3
with:
cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}
- name: check for yarn.lock changes
id: yarn-lock
run: git diff --quiet origin/master HEAD -- yarn.lock
continue-on-error: true
- name: prettier
run: yarn prettier:check
- name: lock
run: yarn lock:check
- name: validate config
run: yarn backstage-cli config:check --lax
- name: lint
run: yarn backstage-cli repo lint --since origin/master
- name: type checking and declarations
run: yarn tsc:full
# We need to generate the API references as well, so that we can verify the doc links
- name: check api reports and generate API reference
run: yarn build:api-reports:only --ci --docs
- name: verify api reference
run: node scripts/verify-api-reference.js
- name: verify changesets
run: node scripts/verify-changesets.js
- name: verify doc links
run: node scripts/verify-links.js
- name: verify local dependency ranges
run: node scripts/verify-local-dependencies.js
- name: build changed packages
if: ${{ steps.yarn-lock.outcome == 'success' }}
run: yarn backstage-cli repo build --all --since origin/master
- name: build all packages
if: ${{ steps.yarn-lock.outcome == 'failure' }}
run: yarn backstage-cli repo build --all
- name: verify type dependencies
run: yarn lint:type-deps
- name: test changed packages
if: ${{ steps.yarn-lock.outcome == 'success' }}
run: yarn lerna -- run test --since origin/master -- --coverage --runInBand
@@ -173,9 +218,6 @@ jobs:
BACKSTAGE_TEST_DATABASE_POSTGRES9_CONNECTION_STRING: postgresql://postgres:postgres@localhost:${{ job.services.postgres9.ports[5432] }}
BACKSTAGE_TEST_DATABASE_MYSQL8_CONNECTION_STRING: mysql://root:root@localhost:${{ job.services.mysql8.ports[3306] }}/ignored
- name: verify plugin template
run: yarn lerna -- run diff -- --check
- name: ensure clean working directory
run: |
if files=$(git ls-files --exclude-standard --others --modified) && [[ -z "$files" ]]; then
+5 -1
View File
@@ -8,4 +8,8 @@ jobs:
cron:
runs-on: ubuntu-latest
steps:
- uses: backstage/actions/cron@v0.1.8
- uses: backstage/actions/cron@v0.5.3
with:
app-id: ${{ secrets.BACKSTAGE_GOALIE_APPLICATION_ID }}
private-key: ${{ secrets.BACKSTAGE_GOALIE_PRIVATE_KEY }}
installation-id: ${{ secrets.BACKSTAGE_GOALIE_INSTALLATION_ID }}
+89
View File
@@ -0,0 +1,89 @@
name: Build and push Docker Hub image
on:
repository_dispatch:
types: [release-published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
with:
path: backstage
ref: v${{ github.event.client_payload.version }}
- name: setup-node
uses: actions/setup-node@v1
with:
node-version: 16.x
registry-url: https://registry.npmjs.org/
# Beginning of yarn setup, keep in sync between all workflows.
# TODO(Rugvip): move this to composite action once all features we use are supported
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
# Cache every node_modules folder inside the monorepo
- name: cache all node_modules
id: cache-modules
uses: actions/cache@v2
with:
path: '**/node_modules'
# We use both yarn.lock and package.json as cache keys to ensure that
# changes to local monorepo packages bust the cache.
key: ${{ runner.os }}-v${{ matrix.node-version }}-node_modules-${{ hashFiles('yarn.lock', '**/package.json') }}
# If we get a cache hit for node_modules, there's no need to bring in the global
# yarn cache or run yarn install, as all dependencies will be installed already.
- name: find location of global yarn cache
id: yarn-cache
if: steps.cache-modules.outputs.cache-hit != 'true'
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: cache global yarn cache
uses: actions/cache@v2
if: steps.cache-modules.outputs.cache-hit != 'true'
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: yarn install
if: steps.cache-modules.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile
# End of yarn setup
- name: create-app
run: npx @backstage/create-app
env:
BACKSTAGE_APP_NAME: example-app
- name: yarn build
run: yarn build
working-directory: ./example-app
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push
uses: docker/build-push-action@v3
with:
context: './example-app'
file: ./example-app/packages/backend/Dockerfile
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/backstage:latest
ghcr.io/${{ github.repository_owner }}/backstage:${{ github.event.client_payload.version }}
+1 -1
View File
@@ -55,7 +55,7 @@ jobs:
run: ls microsite/build/backstage && ls microsite/build/backstage/storybook
- name: Deploy both microsite and storybook to gh-pages
uses: JamesIves/github-pages-deploy-action@v4.3.4
uses: JamesIves/github-pages-deploy-action@v4.4.0
with:
branch: gh-pages
folder: microsite/build/backstage
+3 -21
View File
@@ -20,33 +20,15 @@ jobs:
steps:
- uses: actions/checkout@v3
# Beginning of yarn setup, keep in sync between all workflows, see ci.yml
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
- name: cache all node_modules
id: cache-modules
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-v${{ matrix.node-version }}-node_modules-${{ hashFiles('yarn.lock', '**/package.json') }}
- name: find location of global yarn cache
id: yarn-cache
if: steps.cache-modules.outputs.cache-hit != 'true'
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: cache global yarn cache
uses: actions/cache@v3
if: steps.cache-modules.outputs.cache-hit != 'true'
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: yarn install
run: yarn install --frozen-lockfile
# End of yarn setup
uses: backstage/actions/yarn-install@v0.5.3
with:
cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}
# No verification done here, only build & publish. If the master branch
# is broken we will see that from those builds, but we still want to push nightly
+14 -43
View File
@@ -61,33 +61,15 @@ jobs:
steps:
- uses: actions/checkout@v3
# Beginning of yarn setup, keep in sync between all workflows, see ci.yml
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
- name: cache all node_modules
id: cache-modules
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-v${{ matrix.node-version }}-node_modules-${{ hashFiles('yarn.lock', '**/package.json') }}
- name: find location of global yarn cache
id: yarn-cache
if: steps.cache-modules.outputs.cache-hit != 'true'
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: cache global yarn cache
uses: actions/cache@v3
if: steps.cache-modules.outputs.cache-hit != 'true'
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: yarn install
run: yarn install --frozen-lockfile
# End of yarn setup
uses: backstage/actions/yarn-install@v0.5.3
with:
cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}
- name: Fetch previous commit for release check
run: git fetch origin '${{ github.event.before }}'
@@ -157,33 +139,15 @@ jobs:
steps:
- uses: actions/checkout@v3
# Beginning of yarn setup, keep in sync between all workflows, see ci.yml
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
- name: cache all node_modules
id: cache-modules
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-v${{ matrix.node-version }}-node_modules-${{ hashFiles('yarn.lock', '**/package.json') }}
- name: find location of global yarn cache
id: yarn-cache
if: steps.cache-modules.outputs.cache-hit != 'true'
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: cache global yarn cache
uses: actions/cache@v3
if: steps.cache-modules.outputs.cache-hit != 'true'
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: yarn install
run: yarn install --frozen-lockfile
# End of yarn setup
uses: backstage/actions/yarn-install@v0.5.3
with:
cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}
- name: build type declarations
run: yarn tsc:full
@@ -209,7 +173,7 @@ jobs:
# Grabs the version in the root package.json and creates a tag on GitHub
- name: Create a release tag
id: create_tag
run: node scripts/create-release-tag.js --dispatch-workflows
run: node scripts/create-release-tag.js
env:
GITHUB_TOKEN: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
@@ -219,6 +183,13 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
- name: Dispatch repository event
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
event-type: release-published
client-payload: '{"version": "${{ steps.create_tag.outputs.version }}"}'
# Notify everyone about this great new release :D
- name: Discord notification
uses: Ilshidur/action-discord@0.3.2
+1 -1
View File
@@ -10,4 +10,4 @@ jobs:
if: github.repository == 'backstage/backstage'
steps:
- name: Issue sync
uses: backstage/actions/issue-sync@v0.1.8
uses: backstage/actions/issue-sync@v0.5.3
@@ -0,0 +1,28 @@
# This workflow is used to trigger the "PR Review Comment" workflow. This chaining is needed
# because workflows triggered by pull_request_review_comment do not have access to secrets.
name: PR Review Comment Trigger
on:
pull_request_review_comment:
types:
- created
jobs:
trigger:
runs-on: ubuntu-latest
# The "PR Review Comment" workflow will check the success status of this workflow and only mark
# the PR for re-review if this workflow was successful, which is when the author leaves a review comment.
if: github.repository == 'backstage/backstage' && github.event.comment.user.id == github.event.pull_request.user.id
steps:
- name: Save PR number
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
mkdir -p ./pr
echo $PR_NUMBER > ./pr/pr_number
- uses: actions/upload-artifact@v3
with:
name: pr_number-${{ github.event.pull_request.number }}
path: pr/
+44
View File
@@ -0,0 +1,44 @@
# This workflow is triggered by "PR Review Comment Trigger"
name: PR Review Comment
on:
workflow_run:
workflows: [PR Review Comment Trigger]
types:
- completed
jobs:
re-review:
runs-on: ubuntu-latest
# The triggering workflow will report success if the PR needs re-review
if: github.repository == 'backstage/backstage' && github.event.workflow_run.conclusion == 'success'
steps:
# Inspired by https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#using-data-from-the-triggering-workflow
- name: Read PR Number
id: pr-number
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: context.payload.workflow_run.id,
});
const [artifact] = allArtifacts.data.artifacts.filter(artifact => artifact.name.startsWith('pr_number-'))
if (!artifact) {
throw new Error('No PR Number artifact available')
}
const prNumber = artifact.name.slice('pr_number-'.length)
console.log(`::set-output name=pr-number::${prNumber}`);
- uses: backstage/actions/re-review@v0.5.3
with:
app-id: ${{ secrets.BACKSTAGE_GOALIE_APPLICATION_ID }}
private-key: ${{ secrets.BACKSTAGE_GOALIE_PRIVATE_KEY }}
installation-id: ${{ secrets.BACKSTAGE_GOALIE_INSTALLATION_ID }}
project-id: PVT_kwDOBFKqdc02LQ
issue-number: ${{ steps.pr-number.outputs.pr-number }}
+18 -3
View File
@@ -1,14 +1,29 @@
name: PR
on:
pull_request_target:
types:
- opened
- synchronize
- reopened
- closed
issue_comment:
types:
- created
jobs:
sync:
runs-on: ubuntu-latest
if: github.repository == 'backstage/backstage'
# Avoid running on issue comments
if: github.repository == 'backstage/backstage' && ( github.event.pull_request || github.event.issue.pull_request )
steps:
- name: PR sync
uses: backstage/actions/pr-sync@v0.1.8
uses: backstage/actions/pr-sync@v0.5.3
with:
github-token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
github-token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
app-id: ${{ secrets.BACKSTAGE_GOALIE_APPLICATION_ID }}
private-key: ${{ secrets.BACKSTAGE_GOALIE_PRIVATE_KEY }}
installation-id: ${{ secrets.BACKSTAGE_GOALIE_INSTALLATION_ID }}
project-id: PVT_kwDOBFKqdc02LQ
excluded-users: ${{ secrets.OOO_USERS }}
owning-teams: '@backstage/techdocs-core'
+3 -21
View File
@@ -14,33 +14,15 @@ jobs:
# Fetch changes to previous commit - required for 'only_changed' in Prettier action
fetch-depth: 0
# Beginning of yarn setup, keep in sync between all workflows, see ci.yml
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
- name: cache all node_modules
id: cache-modules
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-v${{ matrix.node-version }}-node_modules-${{ hashFiles('yarn.lock', '**/package.json') }}
- name: find location of global yarn cache
id: yarn-cache
if: steps.cache-modules.outputs.cache-hit != 'true'
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: cache global yarn cache
uses: actions/cache@v3
if: steps.cache-modules.outputs.cache-hit != 'true'
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: yarn install
run: yarn install --frozen-lockfile
# End of yarn setup
uses: backstage/actions/yarn-install@v0.5.3
with:
cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}
- name: Run Prettier on ADOPTERS.md
uses: creyD/prettier_action@v4.2
+5 -8
View File
@@ -1,10 +1,7 @@
name: Sync Release Manifest
on:
workflow_dispatch:
inputs:
version:
description: Version number, without any 'v' prefix
required: true
repository_dispatch:
types: [release-published]
jobs:
create-new-version:
@@ -23,7 +20,7 @@ jobs:
with:
path: backstage
# 'v' prefix is added here for the tag, we keep it out of the manifest logic
ref: v${{ github.event.inputs.version }}
ref: v${{ github.event.client_payload.version }}
# Checkout backstage/versions into /backstage/versions, which is where store the output
- name: Checkout versions
@@ -44,10 +41,10 @@ jobs:
cd backstage
mkdir -p scripts
wget -O scripts/assemble-manifest.js https://raw.githubusercontent.com/backstage/backstage/master/scripts/assemble-manifest.js
node scripts/assemble-manifest.js ${{ github.event.inputs.version }}
node scripts/assemble-manifest.js ${{ github.event.client_payload.version }}
cd versions
git add .
git commit -am "${{ github.event.inputs.version }}"
git commit -am "${{ github.event.client_payload.version }}"
git push
- name: Dispatch update-helper update
+3 -21
View File
@@ -16,33 +16,15 @@ jobs:
steps:
- uses: actions/checkout@v3
# Beginning of yarn setup, keep in sync between all workflows, see ci.yml
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
- name: cache all node_modules
id: cache-modules
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-v${{ matrix.node-version }}-node_modules-${{ hashFiles('yarn.lock', '**/package.json') }}
- name: find location of global yarn cache
id: yarn-cache
if: steps.cache-modules.outputs.cache-hit != 'true'
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: cache global yarn cache
uses: actions/cache@v3
if: steps.cache-modules.outputs.cache-hit != 'true'
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: yarn install
run: yarn install --frozen-lockfile
# End of yarn setup
uses: backstage/actions/yarn-install@v0.5.3
with:
cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}
- name: Create Snyk report
uses: snyk/actions/node@master

Some files were not shown because too many files have changed in this diff Show More