Commit Graph

913 Commits

Author SHA1 Message Date
Andrea Falzetti f928a8f9bf chore: remove comment
Signed-off-by: Andrea Falzetti <afalzetti@gmail.com>
2021-07-21 16:53:22 +01:00
Andrea Falzetti 2ca8855b0d fix: remove ctx.token
Signed-off-by: Andrea Falzetti <afalzetti@gmail.com>
2021-07-21 16:53:22 +01:00
Yogesh Lonkar a370ecab04 fix unit test
Signed-off-by: Yogesh Lonkar <yogesh@lonkar.org>
Signed-off-by: Andrea Falzetti <afalzetti@gmail.com>
2021-07-21 16:53:21 +01:00
Andrea Falzetti c914db284f feat(scaffolder): add gha dispatch workflow action
Signed-off-by: Andrea Falzetti <afalzetti@gmail.com>
2021-07-21 16:53:21 +01:00
Ben Lambert 212d92f523 Merge pull request #6410 from backstage/joeporpeglia/new-sample-templates
Scaffolder/create-app: Use new location for sample software templates
2021-07-16 14:37:36 +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
blam 2bffb18859 chore: run prettier on ugly document
Signed-off-by: blam <ben@blam.sh>
2021-07-15 12:34:55 +02:00
blam 94c00f9ba7 api-report: update the api reports for the plugins
Signed-off-by: blam <ben@blam.sh>
2021-07-15 12:26:48 +02:00
blam a0149f0228 chore: code review comments
Signed-off-by: blam <ben@blam.sh>
2021-07-15 12:22:12 +02:00
blam df7c9243d3 chore: use the cookiecutter templater library
Signed-off-by: blam <ben@blam.sh>
2021-07-15 12:11:06 +02:00
github-actions[bot] 8d1c3d0d5a Version Packages 2021-07-15 09:19:25 +00:00
Patrik Oldsberg d9ce823b00 packages: regenerate all API reports with warnings
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-07-15 02:05:46 +02:00
Brian Fletcher 11b07616fa wait until response is flushed before unsubscribing from broker
I am not sure why this works, but it seems to. I have been trying to
enable the scaffolder and found that when I view a task in progress or
complete that the task just sits with the text "Waiting for logs...".

This is a hunch.

Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-07-14 09:09:58 +01:00
jrusso1020 ea1d956ef4 Update fs-extra in scaffolder-backend
Update fs-extra to 10.0.0 to better handle broken symbolic links.
The only breaking changes in the major version upgrade should be
this and the requirement of node v12 or higher which backstage
also requires.

fixes #6456

Signed-off-by: jrusso1020 <jrusso@brex.com>
2021-07-13 12:39:08 -04:00
Ben Lambert 7a6a3586ac Merge pull request #6406 from backstage/joeporpeglia/github-pull-request-fix
Scaffolder: Fix repository inputs for publish:github:pull-request action
2021-07-13 14:03:28 +02:00
Patrik Oldsberg 1118f33e4f Merge pull request #6433 from backstage/rugvip/report-all-the-things
root: bump api-extractor & friends + recreate API reports along with previously unsupported packages
2021-07-12 20:28:09 +02:00
Patrik Oldsberg 602b5b59bb packages: regenerate all API reports with prettier
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-07-12 19:54:11 +02:00
Patrik Oldsberg 8ae3cffb85 recreate all api-reports with latest version of api-extractor
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-07-12 19:46:43 +02:00
blam 203d256d36 chore: reverting fs-extra bump, that seems to have broken all the installs
Signed-off-by: blam <ben@blam.sh>
2021-07-12 19:29:34 +02:00
OscarDHdz 84d329e2a6 Scaffolder: Add handlebar 'eq' helper
Signed-off-by: OscarDHdz <v-ohernandez@expediagroup.com>
2021-07-09 12:13:15 -05:00
Joe Porpeglia 96fc276989 Fix repository inputs for githubPullRequest publish action
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2021-07-08 14:26:29 -04:00
Ben Lambert df12cc25aa Merge pull request #6322 from backstage/mob/nunjucks-renderer
scaffolder: Add a node-based templating action
2021-07-08 16:51:51 +02:00
github-actions[bot] de67704be9 Version Packages 2021-07-08 11:37:02 +00:00
Carlo Colombo 6841e01132 fix git-url-parse minor version, 11.5.x broke bitbucket server integration
Signed-off-by: Carlo Colombo <carlo.colombo@klarna.com>
2021-07-08 10:46:11 +02:00
Mike Lewis 099ea5e2d4 Merge remote-tracking branch 'origin/master' into mob/nunjucks-renderer
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-07-07 16:07:07 +01:00
Rogerio Angeliski 1bcf509712 remove wrong dependency
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2021-07-07 09:45:58 -03:00
Rogerio Angeliski 265e0851f4 docs: added generated files
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2021-07-07 09:41:25 -03:00
Rogerio Angeliski 75b3d3d981 fix runCommand export
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2021-07-07 09:34:04 -03:00
Mike Lewis 13d9940cde scaffolder: remove completed TODO in fetch:template
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-07-07 13:22:44 +01:00
Mike Lewis b4035aa463 scaffolder: tweak test description in fetch:template suite
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-07-07 13:21:24 +01: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 c5e81eab43 refactor to a isolated module
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2021-07-07 08:58:36 -03:00
Rogerio Angeliski aad73cf398 fix: move dep to correction location
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2021-07-07 08:56:25 -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
Mike Lewis 56b61c2bc0 scaffolder: prefix input values in fetch:template templates
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-07-07 11:26:00 +01:00
Mike Lewis 51513c6420 scaffolder: fix use of path.join in fetch:template tests
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-07-07 11:20:10 +01:00
Mike Lewis 886844aa30 scaffolder: platform-agnostic path joining in fetch:template test suite
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-07-07 11:00:14 +01:00
blam e922a99528 chore: updating api-docs
Signed-off-by: blam <ben@blam.sh>
2021-07-07 11:27:55 +02:00
blam 8e183acc9c chore: code review comments
Signed-off-by: blam <ben@blam.sh>
2021-07-07 11:26:02 +02:00
blam fd5ec6d304 chore: some api-docs changed
Signed-off-by: blam <ben@blam.sh>
2021-07-07 11:25:38 +02:00
blam 2ed57f31c7 chore: write some tests for the cookiecutter templater
Signed-off-by: blam <ben@blam.sh>
2021-07-07 11:25:38 +02:00
blam b658d33944 chore: added some tests for cookiecutter but they need re-writing
Signed-off-by: blam <ben@blam.sh>
2021-07-07 11:25:38 +02:00
blam 2529ec28a6 chore: fixing all tests
Signed-off-by: blam <ben@blam.sh>
2021-07-07 11:25:38 +02:00
blam 4c689b0fae chore: making the failing test pass because of parameter validation
Signed-off-by: blam <ben@blam.sh>
2021-07-07 11:25:37 +02:00
blam 350555727f chore: dont need to export this dep any more
Signed-off-by: blam <ben@blam.sh>
2021-07-07 11:25:37 +02:00
blam 70bb2a711f chore: fix up some code review comments
Signed-off-by: blam <ben@blam.sh>
2021-07-07 11:25:37 +02:00