Commit Graph

60 Commits

Author SHA1 Message Date
blam 6137dbba32 chore: remove source for now 2021-01-21 20:16:17 +01:00
blam 51b2c3999a chore: moving the storePath to it's own variable as source-ref and fixing templates to use cookiecutter vars 2021-01-21 18:15:31 +01:00
Himanshu Mishra 5a91087e2d templates: Update Software Templates to use updated cookiecutter.storePath 2021-01-21 16:16:06 +01:00
blam ee92b179e1 Merge branch 'master' of github.com:backstage/backstage into mob/scaffolder-cra-fixes
* 'master' of github.com:backstage/backstage: (98 commits)
  build(deps): bump archiver from 5.0.2 to 5.1.0
  build(deps): bump typescript-json-schema from 0.45.0 to 0.45.1
  docs: Update lighthouse docs
  scaffolder-backend: clarify type detection error message
  scaffolder-backend: gitlab preparer uses integrations token
  core-api: ensure that routable extension components are discovered at boot
  core-api: memoize app element traversal and validation
  core-api: add lazy loading of component extensions
  Add changeset and add missing semicolon
  Add search plugin to new CLI created apps
  build(deps): bump graphql from 15.3.0 to 15.4.0
  core-api: add MutableSessionManager and fix AuthSessionStore not properly updating session state
  run prettier on the roadmap
  core-api: refactor createReactExtension to forward component types directly and avoid @types/react dependency
  core-api: add route validation to app + test
  core-api: default type parameters for BackstagePlugin to avoid breakage
  changeset: add changesets for new plugin extension API
  core-api: avoid exporting AnyRoutes, AnyExternalRoutes, and ExternalRouteRef constructor
  core-api: rename BindRouteFunc to AppRouteBinder
  core-api,plugins/graphiql: export extension APIs from core-api and port the graphiql plugin
  ...
2020-12-21 10:37:32 +01:00
Patrik Oldsberg 243ee1db84 scaffolder-backend: switch location type of example templates to url 2020-12-15 21:46:49 +01:00
blam f76a8aedf4 Merge branch 'master' of github.com:backstage/backstage into mob/scaffolder-cra-fixes
* 'master' of github.com:backstage/backstage: (758 commits)
  add zalando to adpoters list
  Avoid passing undefined to values that are marked as optional
  Support profile of groups in LdapOrgReaderProcessor
  Import picture and display name by the GitHubOrgReaderProcessor
  Use the new group profile section in the group profile card
  Add support for the group profile element to Microsoft Graph processor
  Add profile section to group entity
  Implement readTree on BitBucketUrlReader - Add getBitbucketDefaultBranch
  Implement readTree on BitBucketUrlReader - Modify changeset
  Implement readTree on BitBucketUrlReader - Implement getBitbucketDownloadUrl and remove hash for Bitbucket Server
  Implement readTree on BitBucketUrlReader
  WIP: implement readTree for bitbucket
  updated scaffolder config.d to avoid config failure
  build(deps): bump swagger-ui-react from 3.37.2 to 3.38.0
  included changeset
  Introduced config schema for plugins/scaffolder-backend
  Write relations directly as part of batch add / update of entities.
  Add codeowners for techdocs-common package
  techdocs-common: Add type dependencies
  Update nice-trains-punch.md
  ...
2020-12-15 14:02:21 +01:00
Frieder Bluemle cbd3a44c09 Fix typos (#3646) 2020-12-09 07:50:41 +01:00
blam c220f7e35a chore(scaffolder/template): fixing catalog-info.yaml reference for templates with new version 2020-11-22 02:50:35 +01:00
Ivan Shmidt 4c1a77c98f Merge branch 'master' of github.com:backstage/backstage into mob/scaffolder-cra-fixes 2020-11-10 14:35:00 +01:00
Patrik Oldsberg 474bb5b57f rewrite other references to spotify/backstage and sorrounding things 2020-11-03 11:39:27 +01:00
Patrik Oldsberg af141c0766 rewrite repo location urls 2020-11-03 11:03:49 +01:00
Ivan Shmidt 6f58bcab08 Merge branch 'master' of github.com:spotify/backstage into mob/scaffolder-cra-fixes 2020-10-28 10:03:41 +01:00
Eric Nilsson 12c1fbfeb9 added validation for CRA and stage-failure fix 2020-10-26 22:38:48 +01:00
Fredrik Adelöw 9cc95aa90f fix(templates): add some jsonify to fix escaping issues 2020-10-13 17:12:19 +02:00
Ivan Shmidt abfa267f6f Merge branch 'master' of github.com:spotify/backstage into mob/scaffolder-cra-fixes 2020-10-07 16:59:26 +02:00
Marvin9 ed4b37d44c fix(scaffolder): remove invalid flag to pass build 2020-10-01 00:12:22 +05:30
Ivan Shmidt e8c60104df feat(scaffolder): cra add gha integration, fix imports 2020-09-22 13:30:13 +02:00
David Tuite 2e35f300d0 Mark docs template description as required
In my testing, attempts to create a docs site with no description would
fail with the error:

```
Unable to create file 'component-info.yaml'
Error message: 'collections.OrderedDict object' has no attribute 'description'
```

Better to mark it required than let the user hit the error.
2020-09-17 13:14:15 +01:00
David Tuite d36f3bc5d8 Assorted scaffolder form help text improvements (#2467)
* Prompt the user for a description in templates

The text "Description of the component" was a little redundant since the
label already says "Description". This description text hints to the
user why they should bother adding an informative description.

* Inform user about lowercase, url-safe constraint

Create React App scaffolding fails when a name with spaces or other
non-url-safe chars are provided. Instead of making the user wait for a
failure, Backstage should tell them about this constraint up front.
2020-09-15 06:42:13 +02:00
Patrik Oldsberg 75c7a055c1 app-config: use catalog.locations + aggregating location entities 2020-09-12 15:27:26 +02:00
Emma Indal dda2c3bcb6 change label of docs template (#2368) 2020-09-09 15:03:49 +02:00
Stefan Ålund b6fcf99853 Fix typo in gRPC template (#2315) 2020-09-07 15:35:39 +02:00
Emma Indal d1fc52d740 TechDocs: add docs by default to springboot grpc template (#2288)
* add docs by default to springboot grpc template

* delete line from rebase
2020-09-05 20:10:23 +02:00
Ivan Shmidt b180748b96 fix(github-actions): use only github.com/project-slug annotation 2020-09-04 16:22:51 +02:00
Emma Indal b77a1d6bcb TechDocs: Add docs by default to react ssr template (#2261)
* Add docs by default to react ssr template

* Update plugins/scaffolder-backend/sample-templates/react-ssr-template/{{cookiecutter.component_id}}/docs/index.md

* Update plugins/scaffolder-backend/sample-templates/react-ssr-template/{{cookiecutter.component_id}}/docs/index.md

Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net>

Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net>
2020-09-03 11:20:58 +02:00
Emma Indal e323e1691b update tags to be lowercased in docs template (#2104)
* update tags to be lowercased in docs template

* Update template.yaml
2020-08-25 12:07:12 +02:00
Emma Indal edab8b2ad8 fix(template tags): fixes issues with tags specified with uppercase (#2049)
* fix(template tags): fixes issues with tags specified with uppercase

* adds new validator for metadata tags

* fix(template tags): change tags to be lowercase

* fix(template tags docs): update docs to include lowercased tags

* fix(validator): change back to using isValidDnsLabel for tags

* fix(software catalog docs): use lowercase tags in docs
2020-08-24 17:01:27 +02:00
Emma Indal f6f56aa748 TechDocs: documentation template (#1954)
* feat(docs-template): Add docs template to create a standalone docs project

* fix(docs-template): add docs template to mock data

* fix(docs-template): owner of template

* add techdocs-ref to cookiecutter docs project

* delete unused cookiecutter json file

* update docs in default index.md file

* rename from .yaml to .yml to be consistent to docs

* update techdocs-ref to use github protocol
2020-08-21 14:56:46 +02:00
blam 854e78d056 chore: enable github actions widget for scaffolding items that can build with github actions 2020-08-05 05:02:11 +02:00
blam 31a92961e9 chore(java): simple jenkins workflow 2020-08-05 03:42:47 +02:00
blam 0d2ab85858 chore(scaffolder): updating the wording for the sample templates 2020-08-04 09:49:42 +02:00
Nikita Nek Dudnik c82c045ee8 feat(github-actions): add a separate data mock 2020-07-24 15:56:48 +02:00
Nikita Nek Dudnik 25e41d2274 feat: use annotation to get project name 2020-07-24 14:10:21 +02:00
blam 4426799a08 chore(scaffolder): fixing PR comments 2020-07-19 20:36:58 +02:00
blam bd7c38708d Merge branch 'master' of github.com:spotify/backstage into scaffolder/new-templates
* 'master' of github.com:spotify/backstage:
  [Templates] Remove WIP label (#1665)
  README: Fix another broken link (#1664)
  [Docs] Fix relative paths to code (#1662)
  docs(scaffolder) tidy up some more docs (#1661)
2020-07-16 14:11:51 +02:00
blam 540345bf73 feat(scaffolder): fixing the issues of loading spring boot 2020-07-16 13:33:30 +02:00
blam 253666a533 feat(scaffolder): implement a working springboot template 2020-07-16 13:26:25 +02:00
blam 738a378358 chore(scaffolder): adding some new template abilities for golang 2020-07-16 11:16:24 +02:00
blam adce138843 chore(scaffolder): added simple create react app scaffolder 2020-07-16 06:23:42 +02:00
Ben Lambert a14dae9b10 Scaffolder Documentation (#1616)
* docs(scaffolder): Added some reference for the Template kind in the service catalog

* docs(scaffolder): adding a basic readme for the scaffolder

* docs(scaffolder): more small fixes

* chore(scaffolder): removing unused routes in the scaffolder

* docs(scaffolder): fixing linking to the template entity

* docs(scaffolder): fixing indentation

* docs(scaffolder): rewrite a little

* chore(scaffolder): Added some more documentation sections

* docs(scaffolder): added some documentation about loading your own templates

* docs(scaffolder): created some great documentation. make docs great again

* docs(scaffolder): added some more info about creating your own templater

* chore(scaffolder): finshing of create your own templater docs

* docs(scaffolder): updating the last of the preparr

* docs(scaffolder): think docs are great for scaffolder again

* chore(scaffolder): fixing issue with publisher base mistyping

* docs(scaffolder): creating some how to use documentation

* docs(scaffolder): more user docs for the scaffolder

* docs(scaffolder): fix header

* docs(scaffolder): fixing

* docs(scaffolder): shuffle around the documenation
2020-07-15 16:32:44 +02:00
blam 2fdd40698a chore(scaffolder): renaming the processor key to templater 2020-07-13 11:54:32 +02:00
Ivan Shmidt 0933734e08 fix(scaffolder): get correct resultDir, template 2020-07-07 09:08:30 +02:00
Ivan Shmidt dd5aa39d61 feat(scaffolder): working end-to-end flow with hardcoded params 2020-06-29 22:42:39 +02:00
Ivan Shmidt 97f3d6b056 fix(scaffolder): make integration work 2020-06-29 14:55:00 +02:00
Ivan Shmidt 3f3409ac4c feat(scaffolder): mocked fe flow 2020-06-29 14:25:35 +02:00
Ivan Shmidt 1b15895bc2 feat(scaffolder): tags as list 2020-06-29 14:24:56 +02:00
Ivan Shmidt 74b237d495 feat(scaffolder): use swr, pretty template mocks, move out grid item 2020-06-29 14:24:56 +02:00
blam ee205ef23e feat(scaffolder): Implementing the VCS steps in the processor 2020-06-28 02:06:33 +02:00
blam 0fe8e594f2 refactor(scaffolder): Moving out the dockerish logic into something that is easy to consume for other templaters 2020-06-23 18:07:03 +02:00
Ivan Shmidt 12db9bc694 chore: add tests, merge cookiecutter.json
Co-authored-by: Ben Lambert <ben@blam.sh>
2020-06-23 14:17:28 +02:00