Commit Graph

930 Commits

Author SHA1 Message Date
github-actions[bot] c734d6995a Version Packages 2021-08-12 08:21:56 +00:00
Fredrik Adelöw 89b944709c Merge pull request #5381 from msamad/msamad/add-repourlpicker-for-bitbucketcloud
Add repourlpicker and publisher for bitbucket cloud
2021-08-11 16:46:57 +02:00
dependabot[bot] 82ac007e53 chore(deps): bump luxon from 1.27.0 to 2.0.2
Bumps [luxon](https://github.com/moment/luxon) from 1.27.0 to 2.0.2.
- [Release notes](https://github.com/moment/luxon/releases)
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moment/luxon/compare/1.27.0...2.0.2)

---
updated-dependencies:
- dependency-name: luxon
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-11 04:19:52 +00: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 e30646aebb Update RepoUrlPicker validation for bitbucket fields
Also,
- Add and update tests
- Add changeset

Signed-off-by: Mustansar Anwar ul Samad <mustansar.samad@gmail.com>
2021-08-11 07:59:10 +12:00
Mustansar Anwar ul Samad dc962cab25 Rebase on upstream to get context for validator
Signed-off-by: Mustansar Anwar ul Samad <mustansar.samad@gmail.com>
2021-08-11 07:59:10 +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
Fredrik Adelöw 923491eece run prettier formatting
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-09 11:54:38 +02:00
github-actions[bot] 326cbd7408 Version Packages 2021-08-05 00:24:56 +00:00
Eric Peterson e013dbb7ac Merge pull request #6639 from backstage/techdocs/ref-follow-ups
[TechDocs] Remove deprecated preparer support and document ref values
2021-08-03 09:21:38 +02:00
Andrew Ellis 6cf48c6098 feat(plugin-scaffolder-backend): add defaultCommitMessage config option
Signed-off-by: Andrew Ellis <awellis89@gmail.com>
2021-07-29 15:28:22 -06: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
github-actions[bot] f51fcaeba2 Version Packages 2021-07-22 10:52:38 +00:00
Andrea Falzetti 8db7ea4c2f docs: add api-reports
Signed-off-by: Andrea Falzetti <afalzetti@gmail.com>
2021-07-21 18:34:40 +01:00
Andrea Falzetti 8fb0874dd4 refactor: use repoUrl
Signed-off-by: Andrea Falzetti <afalzetti@gmail.com>
2021-07-21 16:53:52 +01:00
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