Skip to content

Releases: PagerDuty/backstage-plugin-scaffolder-actions

0.2.1

12 Jul 16:48
85328d0
Compare
Choose a tag to compare

Summary

This release adds account to the output of the scaffolder action to be used in app-config.yaml as part of the template.

Changes

  • feat: add account output in createPagerDutyServiceAction (#18) by @t1agob

This release was made possible by the following contributors:

@t1agob

0.2.0

12 Jul 15:51
54d493b
Compare
Choose a tag to compare

Summary

This PR adds support for multi-account configuration to scaffolder actions. It introduces no changes for the end user and adapts to the configuration set in app-config.yaml. If multiple accounts are configured the user will see the list of all Escalation Policies in all accounts with the reference to it's source account.

multi-account escalation policy list

At creation time, the scaffolder will select the correct account to deploy the service to depending on the select escalation policy/account pair selected.

Changes

  • feat: add support for multi accounts (#13) by @t1agob
  • chore(deps): Bump mysql2 from 3.9.2 to 3.9.7 (#8) by @dependabot
  • chore(deps): Bump mysql2 from 3.9.7 to 3.10.0 (#9) by @dependabot

This release was made possible by the following contributors:

@dependabot, @dependabot[bot] and @t1agob

0.1.2

22 Apr 09:08
b44ec9d
Compare
Choose a tag to compare

Summary

This release updates the moduleId to a PagerDuty specific one (pagerduty-actions). The moduleId configured on the initial release (custom-extensions) conflicts with the example value from the backstage documentation for writing custom actions.

Changes

This release was made possible by the following contributors:

@brianphillips and @t1agob

0.1.1

13 Apr 07:54
b7edea3
Compare
Choose a tag to compare

Summary

This release introduces a small improvement to the migration process to the new backend system. With the change introduced we made the createPagerDutyServiceAction parameters optional and therefore existing users just need to update the package reference in packages/backend/src/plugins/scaffolders.ts.

Changes

  • refactor: refactor to avoid additional parameters (#4) by @t1agob

This release was made possible by the following contributors:

@t1agob

0.1.0

12 Apr 09:48
8902e34
Compare
Choose a tag to compare

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