chore(scaffolder): adding some new template abilities for golang

This commit is contained in:
blam
2020-07-16 11:16:24 +02:00
parent adce138843
commit 738a378358
2 changed files with 9 additions and 0 deletions
@@ -17,3 +17,11 @@ for URL in \
--data-raw "{\"type\": \"github\", \"target\": \"https://github.com/spotify/backstage/blob/master/packages/catalog-model/examples/${URL}\"}"
echo
done
curl \
--location \
--request POST 'localhost:7000/catalog/locations' \
--header 'Content-Type: application/json' \
--data-raw "{\"type\": \"github\", \"target\": \"https://github.com/benjdlambert/cookiecutter-golang/blob/master/template.yaml\"}"
echo
@@ -13,6 +13,7 @@ spec:
templater: cra
type: website
path: '.'
schema:
required:
- component_id