0.1.0
Summary
Version 0.1.0 of @pagerduty/backstage-plugin-scaffolder-actions
represents the first release of this new Backstage backend module. Before version 0.6.0 of @pagerduty/backstage-plugin-backend
, which introduces support for Backstage's new backend system, both REST APIs and Scaffolder actions were part of the same package.
By adding support for the new backend system, we were forced to isolate the existing Scaffolder Actions in a separate package. Below are the steps to onboard this new package to your Backstage App.
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'));
Other Changes
- chore(deps): Bump tar from 6.2.0 to 6.2.1 (#1) by @dependabot
This release was made possible by the following contributors:
@dependabot, @dependabot[bot] and @t1agob