- At the root of your backstage directory, run:
yarn --cwd packages/backend add @backstage/plugin-scaffolder-node yarn --cwd packages/backend add zod yarn --cwd packages/backend add fs-extra @types/fs-extra yarn install - Create a
custom.tsfile inpackages/backend/src/plugins/actions/with the contents of thecustom.tsfile below
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ################################# | |
| # Constants / global variables | |
| ################################# | |
| LOGFILE='example.log' | |
| LOGLEVEL='INFO' | |
| ################################# | |
| # Functions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| """ | |
| Very simple HTTP server in python (Updated for Python 3.7) | |
| Usage: | |
| ./dummy-web-server.py -h | |
| ./dummy-web-server.py -l localhost -p 8000 | |
| Send a GET request: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| app: | |
| title: Test | |
| baseUrl: http://localhost:3000 | |
| organization: | |
| name: Test | |
| backend: | |
| # Used for enabling authentication, secret is shared by all backend plugins | |
| # See https://backstage.io/docs/auth/service-to-service-auth for |
OlderNewer