make the example templates use relative paths
This commit is contained in:
@@ -4,10 +4,6 @@ metadata:
|
||||
name: example-templates
|
||||
description: A collection of all Backstage example templates
|
||||
spec:
|
||||
type: url
|
||||
targets:
|
||||
- https://github.com/backstage/backstage/blob/master/plugins/scaffolder-backend/sample-templates/react-ssr-template/template.yaml
|
||||
- https://github.com/backstage/backstage/blob/master/plugins/scaffolder-backend/sample-templates/springboot-grpc-template/template.yaml
|
||||
- https://github.com/backstage/backstage/blob/master/plugins/scaffolder-backend/sample-templates/create-react-app/template.yaml
|
||||
- https://github.com/spotify/cookiecutter-golang/blob/master/template.yaml
|
||||
- https://github.com/backstage/backstage/blob/master/plugins/scaffolder-backend/sample-templates/docs-template/template.yaml
|
||||
- ./local-templates.yaml
|
||||
- ./remote-templates.yaml
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: Location
|
||||
metadata:
|
||||
name: example-templates-local
|
||||
description: A collection of locally available Backstage example templates
|
||||
spec:
|
||||
targets:
|
||||
- ./create-react-app/template.yaml
|
||||
- ./docs-template/template.yaml
|
||||
- ./react-ssr-template/template.yaml
|
||||
- ./springboot-grpc-template/template.yaml
|
||||
@@ -0,0 +1,9 @@
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: Location
|
||||
metadata:
|
||||
name: example-templates-remote
|
||||
description: A collection of remotely available Backstage example templates
|
||||
spec:
|
||||
type: url
|
||||
targets:
|
||||
- https://github.com/spotify/cookiecutter-golang/blob/master/template.yaml
|
||||
Reference in New Issue
Block a user