Commit Graph

77 Commits

Author SHA1 Message Date
James Turley 0b7fd7a9d7 Fix pull request sample template
A null reference survived an earlier implementation.

Signed-off-by: James Turley <jamesturley1905@googlemail.com>
2021-04-09 10:38:12 +01:00
Patrik Oldsberg 89f5ecf0ef Merge pull request #5205 from anderoo/anderoo/github-permissions
allow collaborators on github creation
2021-04-08 18:02:49 +02:00
Andrew Johnson 1d32be309b allow collaborators on github creation
Signed-off-by: Andrew Johnson <ajohnson@gocardless.com>
2021-04-07 12:41:49 +01:00
James Turley d8ffec739e Create builtin action for publishing to Github PR
Signed-off-by: James Turley <jamesturley1905@googlemail.com>
2021-03-31 10:48:21 +01:00
James Turley 2ab6f3ff07 Add OwnerPicker component to scaffolder
Signed-off-by: James Turley <jamesturley1905@googlemail.com>
2021-03-29 11:54:20 +01:00
dependabot[bot] 63887ea84d chore(deps-dev): bump @types/node from 12.12.58 to 14.14.32
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.12.58 to 14.14.32.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-08 13:19:08 +01:00
blam eed2656f12 chore: updating scaffolder v2 template
Signed-off-by: blam <ben@blam.sh>
2021-03-04 10:54:34 +01:00
Johan Haals 43ff002754 Restructure demo template
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-03-02 10:22:01 +01:00
Johan Haals 4b0b815372 cleanup test template
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-03-02 10:22:01 +01:00
Johan Haals b853e084dc scaffolder: Fix providers
Co-authored-by: Ben Lambert <ben@blam.sh>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-03-02 10:21:58 +01:00
blam 6fa98f941b feat: new actions work nicely and publish to github as expected
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-03-02 10:21:57 +01:00
blam 12771f5c34 feat: added some nice validation and functionality to the repo picker
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-03-02 10:21:57 +01:00
blam 59769bad27 feat: starting to add the RepoUrlPicker with integrations config
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-03-02 10:21:55 +01:00
blam 0d44305a4e chore: commit some more mock sample data
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-03-02 10:21:55 +01:00
Patrik Oldsberg c4d1cf345d scaffolder-backend: added test template for beta1
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-03-01 11:53:41 +01:00
Fredrik Adelöw 98e2b4e20e make the example templates use relative paths 2021-02-26 13:53:03 +01:00
Nils Streijffert 09c1cca985 Added pattern for component name 2021-02-05 11:22:51 +01:00
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