chore(scaffolder): adding some new template abilities for golang
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user