This PR 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
Description
This PR 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
Update your existing reference in
packages/backend/src/plugins/scaffolder.ts
from the backend component to the new onePass the environment config and logger to
createPagerDutyServiceAction
For users using the new backend system
Install new package
(Optional) If this is the first time configuring PagerDuty's plugin you also need the following packages
Add the package to your backend in
packages/backend/src/index.ts
Issue number: #50
Type of change
Checklist
If this is a breaking change 👇
Acknowledgement
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.