Commit Graph

119 Commits

Author SHA1 Message Date
Patrik Oldsberg 45ddab44ed scaffolder-backend: switch bitbucket-demo example template to use fetch:template
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-04 11:47:23 +02:00
blam 55999e8268 chore: reworking entityLinks
Signed-off-by: blam <ben@blam.sh>
2022-03-08 15:03:50 +01:00
blam 592ac178ec chore: updating documentation and removing the last of v1beta2
Signed-off-by: blam <ben@blam.sh>
2022-03-08 14:26:03 +01:00
Brian Fletcher 50eba2374b revert prettier change to scaffolder examples
Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-10-27 09:16:48 +01:00
Brian Fletcher d781df1843 hide workflow runners behind createWorker
Also renames legacy and default workflow runners.

Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-10-26 11:34:57 +01:00
Fredrik Adelöw 8791ea3fb8 remove the cookiecutter-golang template for now
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-09-21 10:24:42 +02:00
Ben Lambert 00ede8218d Merge pull request #6781 from backstage/orkohunter/remove-legacy-sample-templates
scaffolder-backend: remove legacy sample-templates based on cookiecutter
2021-09-10 14:28:38 +02:00
Mustansar Anwar ul Samad 56ce4e1a84 Remove local-templates.yaml as it is not in master anymore
Signed-off-by: Mustansar Anwar ul Samad <mustansar.samad@gmail.com>
2021-08-11 07:59:11 +12:00
Mustansar Anwar ul Samad 0f101a87d9 Fix RepoUrlPicker to use integration api directly
Signed-off-by: Mustansar Anwar ul Samad <mustansar.samad@gmail.com>
2021-08-11 07:59:10 +12:00
Mustansar Anwar ul Samad b0a6224904 Use default RepoUrlPicker for bitbucket fields
Also updated the default bitbucket publisher to handle workspace
and project fields

Signed-off-by: Mustansar Anwar ul Samad <mustansar.samad@gmail.com>
2021-08-11 07:59:10 +12:00
Mustansar Anwar ul Samad 9b41ea27b6 Add repourlpicker and publisher for bitbucket cloud
The bitbucket cloud api needs project key to create repo under
a project.

Signed-off-by: Mustansar Anwar ul Samad <mustansar.samad@gmail.com>
2021-08-11 07:59:10 +12:00
Himanshu Mishra f9efb38a96 scaffolder-backend: remove sample-templates
Closes https://github.com/backstage/backstage/issues/6415

Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-08-10 21:13:17 +02:00
Eric Peterson 602b1e5c97 Update scaffolder templates to use the new, recommended annotation value.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-07-28 18:43:49 +02:00
Himanshu Mishra 529fd3285b add an example of working with a local template
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-07-16 11:35:14 +02:00
Himanshu Mishra 8b135fa79b update remote urls to use main branch
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-07-16 11:35:14 +02:00
Himanshu Mishra 1165398a9f Revert "Point to specific commit for sample templates"
Hashes don't work with Scaffolder.

Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-07-16 11:35:03 +02:00
Joe Porpeglia 1a8cde9099 Point to specific commit for sample templates
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2021-07-16 11:34:24 +02:00
Joe Porpeglia eb740ee24c Use new location for sample software templates
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2021-07-16 11:34:23 +02:00
Rogerio Angeliski 944640535a update with PR comments
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2021-07-07 08:58:41 -03:00
Rogerio Angeliski 7a3ad92b52 feat: added rails templater to scaffolder-backend
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2021-07-07 08:55:57 -03:00
Hammar Johan 13bf0f3867 Remove autofocus for the description field
Signed-off-by: Hammar Johan <johan.hammar@volvofinans.se>
2021-06-30 11:56:39 +02:00
Eric Peterson e03eaeec3e Fix TechDocs annotation on remaining scaffolder templates.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-14 19:19:47 +02:00
Eric Peterson aeed120114 Fix Scaffolder Docs Template
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-14 19:19:11 +02:00
Fredrik Adelöw 28fc26ddf4 Merge pull request #5849 from SDA-SE/feat/scaffolder-conditional
Conditional scaffolder steps
2021-06-08 14:25:49 +02:00
Oliver Sand fff062301c Rename publish:log to debug:log
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-06-08 09:57:50 +02:00
Fredrik Adelöw b1033b7bf8 Merge pull request #5752 from backstage/blam/migrate-templates-to-v2
Migrating old `backstage.io/v1alpha1` templates to `backstage.io/v1beta2`
2021-06-07 14:41:00 +02:00
blam d0e4a9feb9 chore: reworking excluding of templates
Signed-off-by: blam <ben@blam.sh>
2021-06-07 13:54:10 +02:00
blam 0a94d60a6c chore: make the yarn lock checker happy
Signed-off-by: blam <ben@blam.sh>
2021-06-07 13:49:22 +02:00
blam 00b16a4aea chore: don't autocompute java_package_name
Signed-off-by: blam <ben@blam.sh>
2021-06-07 13:38:02 +02:00
blam 50484e720d chore: migrate the cra template fully and remove it from create-app
Signed-off-by: blam <ben@blam.sh>
2021-06-07 10:55:07 +02:00
blam 55df98c5b3 chore: adding cookiecutter version of create-react-app
Signed-off-by: blam <ben@blam.sh>
2021-06-07 10:55:07 +02:00
blam 7c4c41fb6a chore: think that's all the templates
Signed-off-by: blam <ben@blam.sh>
2021-06-07 10:55:07 +02:00
blam 6c410d16bc chore: remove create-react-app template
Signed-off-by: blam <ben@blam.sh>
2021-06-07 10:55:07 +02:00
blam e2832d055c chore: remove create-react-app- template and fix up the docs template
Signed-off-by: blam <ben@blam.sh>
2021-06-07 10:55:07 +02:00
blam 648db41fc4 chore: migrating react-ssr-template over to v2
Signed-off-by: blam <ben@blam.sh>
2021-06-07 10:55:07 +02:00
Oliver Sand 4dba3594ae Deprecate entityRef in output and move it into links, filter empty links
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-06-04 17:19:54 +02:00
Oliver Sand c5a6f33c37 Treat empty string as undefined
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-06-04 16:50:02 +02:00
Oliver Sand 805f6ecc15 Disable strict mode
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-06-04 16:30:36 +02:00
Oliver Sand 6770dddb56 Add a conditional example to the example template
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-06-04 16:30:32 +02:00
Oliver Sand 1157fa3075 Add a <EntityPicker> field to the scaffolder
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-06-01 08:55:24 +02:00
Oliver Sand 6eaecbd81d Fix owner references to guest user
If the user guest is used as an example value of the owner field, we should make sure to specify it as user:guest instead as the default is group.

Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-22 13:21:45 +02:00
blam 4de6b74cc0 chore: update sample template to show how to
Signed-off-by: blam <ben@blam.sh>
2021-04-15 12:17:39 +02:00
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