0.6.0
Summary
This release adds support to the new Backstage backend system without forcing users to move to the new backend system if they choose to stay in the legacy backend system for now.
Warning: Existing backend plugin users need to make some changes in code because we had to extract the Scaffolder actions to a separate Backstage module (@pagerduty/backstage-plugin-scaffolder-actions).
For existing users using the legacy backend system
-
Install new package
yarn add --cwd packages/backend @pagerduty/backstage-plugin-scaffolder-actions yarn install
-
Update your existing reference in
packages/backend/src/plugins/scaffolder.ts
from the backend component to the new oneimport { createPagerDutyServiceAction } from '@pagerduty/backstage-plugin-scaffolder-actions';
-
Pass the environment config and logger to
createPagerDutyServiceAction
const actions = [ ...builtInActions, createPagerDutyServiceAction({ config: env.config, logger: env.logger }) ];```
For users using the new backend system
-
Install new package
yarn add --cwd packages/backend @pagerduty/backstage-plugin-scaffolder-actions yarn install
-
(Optional) If this is the first time configuring PagerDuty's plugin you also need the following packages
yarn add --cwd packages/backend @pagerduty/backstage-plugin-backend @pagerduty/backstage-plugin-common yarn install
-
Add the package to your backend in
packages/backend/src/index.ts
// PagerDuty backend plugin backend.add(import('@pagerduty/backstage-plugin-backend')); // PagerDuty Scaffolder Actions Module backend.add(import('@pagerduty/backstage-plugin-scaffolder-actions'));
Changes
- build(deps): Bump tar from 6.2.0 to 6.2.1 (#53) by @dependabot
- chore: add support to new backend system (#54) by @t1agob
This release was made possible by the following contributors:
@dependabot, @dependabot[bot] and @t1agob