Skip to content

0.1.0

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Apr 09:48
· 9 commits to main since this release
8902e34

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

  1. Install new package

    yarn add --cwd packages/backend @pagerduty/backstage-plugin-scaffolder-actions
    yarn install
  2. Update your existing reference in packages/backend/src/plugins/scaffolder.ts from the backend component to the new one

    import { createPagerDutyServiceAction } from '@pagerduty/backstage-plugin-scaffolder-actions';
  3. 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

  1. Install new package

    yarn add --cwd packages/backend @pagerduty/backstage-plugin-scaffolder-actions
    yarn install
  2. (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
  3. 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

This release was made possible by the following contributors:

@dependabot, @dependabot[bot] and @t1agob