From 45ce4b133aa17ebbb80a1b5cf8758ae3fb81e9ac Mon Sep 17 00:00:00 2001 From: blam Date: Tue, 16 Jun 2020 14:47:15 +0200 Subject: [PATCH] chore(scaffolder): load from file source instead --- .../react-ssr-template/{template.yml => template.yaml} | 0 plugins/scaffolder-backend/scripts/mock-data | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename plugins/scaffolder-backend/sample-templates/react-ssr-template/{template.yml => template.yaml} (100%) mode change 100644 => 100755 plugins/scaffolder-backend/scripts/mock-data diff --git a/plugins/scaffolder-backend/sample-templates/react-ssr-template/template.yml b/plugins/scaffolder-backend/sample-templates/react-ssr-template/template.yaml similarity index 100% rename from plugins/scaffolder-backend/sample-templates/react-ssr-template/template.yml rename to plugins/scaffolder-backend/sample-templates/react-ssr-template/template.yaml diff --git a/plugins/scaffolder-backend/scripts/mock-data b/plugins/scaffolder-backend/scripts/mock-data old mode 100644 new mode 100755 index e457e32b7b..be3fa2b6cf --- a/plugins/scaffolder-backend/scripts/mock-data +++ b/plugins/scaffolder-backend/scripts/mock-data @@ -4,5 +4,5 @@ curl \ --location \ --request POST 'localhost:7000/catalog/locations' \ --header 'Content-Type: application/json' \ ---data-raw "{\"type\": \"github\", \"target\": \"https://github.com/spotify/backstage/blob/mob/move-templates-into-service-catalog/plugins/scaffolder-backend/sample-templates/react-ssr-template/template.yml\"}" +--data-raw "{\"type\": \"file\", \"target\": \"$(pwd)/sample-templates/react-ssr-template/template.yaml\"}"