Merge branch 'master' of github.com:spotify/backstage into mob/create-vcs-step

* 'master' of github.com:spotify/backstage: (86 commits)
  Removed argument to rewriteDocLinks
  Removed unused JSDOM dependency
  Updated test descriptions
  Added rewriteDocLinks test
  Added tests for transformers
  chore(app): use backend.baseUrl
  Remove unused argument to removeMkdocsHeader
  Rename modifyCssTransformer to modifyCss
  Updated stories for ItemCard
  Persist scopes in Github provider and add it to the auth response. Fix serialization for Set type in locaStorage.
  Fix tests
  Github Auth to use AuthSessionStore
  Use new GithubAuth flow in GitOps plugin
  Added DenseTable to Storybook.
  Changes to material theme css
  nitpick: newlines between mock entity outputs
  fix(techdocs): move card component into techdocs plugin from backstage core
  yarn.lock again
  Enabled 'dense' mode for Table cells.
  core: pin material-table to 1.62.x
  ...
This commit is contained in:
blam
2020-06-30 14:54:50 +02:00
149 changed files with 6880 additions and 2307 deletions
@@ -4,6 +4,10 @@ metadata:
name: react-ssr-template
title: React SSR Template
description: Next.js application skeleton for creating isomorphic web applications.
tags:
- Recommended
- React
spec:
type: cookiecutter
processor: cookiecutter
type: website
path: '.'
@@ -0,0 +1,13 @@
apiVersion: backstage.io/v1alpha1
kind: Template
metadata:
name: springboot-template
title: Spring Boot Service
description: Standard Spring Boot (Java) microservice with recommended configuration.
tags:
- Recommended
- Java
spec:
processor: cookiecutter
type: service
path: '.'
+11 -6
View File
@@ -1,8 +1,13 @@
#!/usr/bin/env bash
curl \
--location \
--request POST 'localhost:7000/catalog/locations' \
--header 'Content-Type: application/json' \
--data-raw "{\"type\": \"file\", \"target\": \"$(pwd)/sample-templates/react-ssr-template/template.yaml\"}"
for URL in \
'react-ssr-template' \
'springboot-template' \
; do \
curl \
--location \
--request POST 'localhost:7000/catalog/locations' \
--header 'Content-Type: application/json' \
--data-raw "{\"type\": \"file\", \"target\": \"$(pwd)/sample-templates/${URL}/template.yaml\"}"
echo
done