Merge pull request #11068 from backstage/blam/move-sample-data

PRFC: Moving `sample-data` into `create-app` templates
This commit is contained in:
Fredrik Adelöw
2022-05-05 10:26:40 +02:00
committed by GitHub
10 changed files with 192 additions and 49 deletions
+8 -20
View File
@@ -203,8 +203,6 @@ catalog:
- Component
- API
- Resource
- Group
- User
- Template
- System
- Domain
@@ -243,7 +241,7 @@ catalog:
# Add a location here to ingest it, for example from a URL:
#
# - type: url
# target: https://github.com/backstage/backstage/blob/master/packages/catalog-model/examples/all-components.yaml
# target: https://github.com/backstage/backstage/blob/master/packages/catalog-model/examples/all.yaml
#
# For local development you can use a file location instead:
#
@@ -253,33 +251,23 @@ catalog:
# File locations are relative to the current working directory of the
# backend, for example packages/backend/.
# Backstage example components
# Backstage example entities
- type: file
target: ../catalog-model/examples/all-components.yaml
target: ../catalog-model/examples/all.yaml
# Backstage example groups and users
- type: file
target: ../catalog-model/examples/acme-corp.yaml
rules:
- allow: [User, Group]
# Example component for github-actions and TechDocs
- type: file
target: ../../plugins/github-actions/examples/sample.yaml
# Example component for TechDocs
- type: file
target: ../../plugins/techdocs-backend/examples/documented-component/catalog-info.yaml
# Backstage example APIs
- type: file
target: ../catalog-model/examples/all-apis.yaml
# Backstage example resources
- type: file
target: ../catalog-model/examples/all-resources.yaml
# Backstage example systems
- type: file
target: ../catalog-model/examples/all-systems.yaml
# Backstage example domains
- type: file
target: ../catalog-model/examples/all-domains.yaml
# Backstage example templates
- type: file
target: ../../plugins/scaffolder-backend/sample-templates/all-templates.yaml
# Backstage example groups and users
- type: file
target: ../catalog-model/examples/acme-corp.yaml
# Backstage end-to-end tests of TechDocs
- type: file
target: ../../cypress/e2e-fixture.catalog.info.yaml