Use new location for sample software templates

Signed-off-by: Joe Porpeglia <josephp@spotify.com>
This commit is contained in:
Joe Porpeglia
2021-07-08 17:53:10 -04:00
committed by Himanshu Mishra
parent 0041be8c51
commit eb740ee24c
5 changed files with 17 additions and 17 deletions
+8
View File
@@ -0,0 +1,8 @@
---
'@backstage/create-app': minor
'@backstage/plugin-scaffolder-backend': minor
---
Use new location for sample software templates
See https://github.com/backstage/software-templates
@@ -100,11 +100,11 @@ catalog:
# Backstage example templates
- type: url
target: https://github.com/backstage/backstage/blob/master/plugins/scaffolder-backend/sample-templates/react-ssr-template/template.yaml
target: https://github.com/backstage/software-templates/blob/master/scaffolder-templates/react-ssr-template/template.yaml
rules:
- allow: [Template]
- type: url
target: https://github.com/backstage/backstage/blob/master/plugins/scaffolder-backend/sample-templates/springboot-grpc-template/template.yaml
target: https://github.com/backstage/software-templates/blob/master/scaffolder-templates/springboot-grpc-template/template.yaml
rules:
- allow: [Template]
- type: url
@@ -112,6 +112,6 @@ catalog:
rules:
- allow: [Template]
- type: url
target: https://github.com/backstage/backstage/blob/master/plugins/scaffolder-backend/sample-templates/docs-template/template.yaml
target: https://github.com/backstage/software-templates/blob/master/scaffolder-templates/docs-template/template.yaml
rules:
- allow: [Template]
@@ -5,5 +5,4 @@ metadata:
description: A collection of all Backstage example templates
spec:
targets:
- ./local-templates.yaml
- ./remote-templates.yaml
@@ -1,13 +0,0 @@
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
name: example-templates-local
description: A collection of locally available Backstage example templates
spec:
targets:
- ./docs-template/template.yaml
- ./react-ssr-template/template.yaml
- ./create-react-app/template.yaml
- ./springboot-grpc-template/template.yaml
- ./v1beta2-demo/template.yaml
- ./pull-request/template.yaml
@@ -7,3 +7,9 @@ spec:
type: url
targets:
- https://github.com/spotify/cookiecutter-golang/blob/master/template.yaml
- https://github.com/backstage/software-templates/blob/master/scaffolder-templates/create-react-app/template.yaml
- https://github.com/backstage/software-templates/blob/master/scaffolder-templates/docs-template/template.yaml
- https://github.com/backstage/software-templates/blob/master/scaffolder-templates/pull-request/template.yaml
- https://github.com/backstage/software-templates/blob/master/scaffolder-templates/react-ssr-template/template.yaml
- https://github.com/backstage/software-templates/blob/master/scaffolder-templates/springboot-grpc-template/template.yaml
- https://github.com/backstage/software-templates/blob/master/scaffolder-templates/v1beta2-demo/template.yaml