Backstage backend plugin for Platform.sh integration!
npm install @axelerant/backstage-plugin-platformsh-backendBackend plugin for the Platform.sh frontend plugin.
1. Install the plugin:
``bash`
yarn --cwd packages/backend add @axelerant/backstage-plugin-platformsh-backend
2. Add the plugin to the backend package:
In your packages/backend/src/index.ts, make the following changes:
`diff
import { createBackend } from '@backstage/backend-defaults';
const backend = createBackend();
+ backend.add(import('@axelerant/backstage-plugin-platformsh-backend'));
backend.start();
`
3. Configure a CLI token. You can create a token at https://console.platform.sh/-/users/
`yaml``
# app-config.yaml
platformsh:
cli_token: