0.1.4 • Published 10 months ago

@axelerant/backstage-plugin-platformsh-backend v0.1.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
10 months ago

Platform.sh Backend Plugin

Backend plugin for the Platform.sh frontend plugin.

Setup

  1. Install the plugin:

    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:

    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//settings/tokens.

    # app-config.yaml
    platformsh:
      cli_token: <cli-token>