From 84200425293025ec2ee0600855580c7ac943c1fd Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Thu, 8 Oct 2020 19:17:43 +0200 Subject: [PATCH 1/2] create-app: revert to github location type for example templates --- .../templates/default-app/app-config.yaml.hbs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/create-app/templates/default-app/app-config.yaml.hbs b/packages/create-app/templates/default-app/app-config.yaml.hbs index f9df561668..7175ea0e4f 100644 --- a/packages/create-app/templates/default-app/app-config.yaml.hbs +++ b/packages/create-app/templates/default-app/app-config.yaml.hbs @@ -83,23 +83,23 @@ catalog: target: https://github.com/spotify/backstage/blob/master/packages/catalog-model/examples/all-apis.yaml # Backstage example templates - - type: url + - type: github target: https://github.com/spotify/backstage/blob/master/plugins/scaffolder-backend/sample-templates/react-ssr-template/template.yaml rules: - allow: [Template] - - type: url + - type: github target: https://github.com/spotify/backstage/blob/master/plugins/scaffolder-backend/sample-templates/springboot-grpc-template/template.yaml rules: - allow: [Template] - - type: url + - type: github target: https://github.com/spotify/backstage/blob/master/plugins/scaffolder-backend/sample-templates/create-react-app/template.yaml rules: - allow: [Template] - - type: url + - type: github target: https://github.com/spotify/cookiecutter-golang/blob/master/template.yaml rules: - allow: [Template] - - type: url + - type: github target: https://github.com/spotify/backstage/blob/master/plugins/scaffolder-backend/sample-templates/docs-template/template.yaml rules: - allow: [Template] From 67d76b4197f48698c163e91c48e86971e4609a77 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Thu, 8 Oct 2020 19:21:28 +0200 Subject: [PATCH 2/2] changesets: add entry for create-app template location fix --- .changeset/ninety-pens-poke.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/ninety-pens-poke.md diff --git a/.changeset/ninety-pens-poke.md b/.changeset/ninety-pens-poke.md new file mode 100644 index 0000000000..94bcb06749 --- /dev/null +++ b/.changeset/ninety-pens-poke.md @@ -0,0 +1,5 @@ +--- +'@backstage/create-app': patch +--- + +Fix for configured templates using 'url' locations even though it's not supported yet