Commit Graph

719 Commits

Author SHA1 Message Date
jrusso1020 2597b9f009 add legacyActions back in without a circular dependency
Signed-off-by: jrusso1020 <jrusso@brex.com>
2021-05-17 10:51:50 -04:00
jrusso1020 65e6c45410 Remove circular dependencies
In reference to issue #5563 this does the initial work to remove
all the circular dependencies that we have encountered while
building backstage using bazel. The next step will be to implement
a method to catch these circular dependencies before they get
merged in

Signed-off-by: jrusso1020 <jrusso@brex.com>
2021-05-15 11:17:05 -06:00
github-actions[bot] df31bdca8f Version Packages 2021-05-12 09:39:51 +00:00
blam aee7212366 Updating changelogs
Signed-off-by: blam <ben@blam.sh>
2021-05-12 11:00:37 +02:00
Alexander Kaserbacher 59fdb9dce2 Use apiBaseUrl for Bitbucket server if it is set
default to host otherwise

Signed-off-by: Alexander Kaserbacher <alex.kaserbacher@icloud.com>
2021-05-09 17:37:09 +02:00
Dominik Henneke fd39d46627 Move jest-when to the dev dependencies
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-05-07 17:19:28 +02:00
github-actions[bot] d397eb470f Version Packages 2021-05-06 08:25:18 +00:00
Dominik Henneke 42f2adadc8 Merge pull request #5415 from SDA-SE/feat/rundocker-api
Refactor the runDockerContainer function to a ContainerRunnerApi interface
2021-05-05 12:00:40 +02:00
dependabot[bot] 75c8cec394 chore(deps): bump jsonschema from 1.2.7 to 1.4.0
Bumps [jsonschema](https://github.com/tdegrunt/jsonschema) from 1.2.7 to 1.4.0.
- [Release notes](https://github.com/tdegrunt/jsonschema/releases)
- [Commits](https://github.com/tdegrunt/jsonschema/compare/v1.2.7...v1.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-05-04 11:30:00 +02:00
Fredrik Adelöw a4b47da357 Merge pull request #5545 from tviaud/scaffolder_github_pr_fix
Plugin Scaffolder-Backend: GitHub Pull Request Action fix
2021-05-03 21:24:05 +02:00
Dominik Henneke a030b5be86 Update invalid test
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-05-03 17:35:04 +02:00
Dominik Henneke e0bfd3d448 Refactor the runDockerContainer function to a ContainerRunner interface.
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-05-03 14:16:28 +02:00
Fredrik Adelöw 38ca051682 The default @octokit/rest dependency was bumped to "^18.5.3".
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-05-03 11:15:22 +02:00
Thomas Viaud 939b9d0fff Fixing Prettier Warning
Signed-off-by: Thomas Viaud <t.viaud@elsevier.com>
2021-04-30 11:39:36 +01:00
Thomas Viaud 900cb4c39d Run Prettier on scaffolder-backend files
Signed-off-by: Thomas Viaud <t.viaud@elsevier.com>
2021-04-30 11:34:08 +01:00
Thomas Viaud 69eefb5aeb feat(scaffolder-backend,doc): Adding Documentation for plugin
Signed-off-by: Thomas Viaud <t.viaud@elsevier.com>
2021-04-30 11:34:08 +01:00
Thomas Viaud 3816ee1a91 feat(scaffolder-backend,githubPR): Fixing Github URL submitted to get credentials
Signed-off-by: Thomas Viaud <t.viaud@elsevier.com>
2021-04-30 11:17:59 +01:00
github-actions[bot] 44abfaada6 Version Packages 2021-04-29 13:35:03 +02:00
Tim Hansen a1783f3060 Add nebula-preview
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-04-27 11:07:15 -06:00
Oliver Sand 7aa4308179 Merge pull request #5427 from SDA-SE/feat/fix-guest
Fix owner references to guest user
2021-04-26 14:21:42 +02:00
github-actions[bot] 034998d537 Version Packages 2021-04-22 13:19:35 +00: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
Fredrik Adelöw 49574a8a3e Fix some spleling
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-22 09:51:37 +02:00
Fredrik Adelöw 2f423757d2 Merge pull request #5202 from erikxiv/fix/scaffolder-forward-token
fix: Forward user token to scaffolder taskworker for subsequent api r…
2021-04-17 20:14:47 +02:00
Erik Larsson 3f4c4a00dd avoid overusing fancy constructs
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com>
2021-04-17 19:31:22 +02:00
Erik Larsson 1d2fafca72 rename identityToken to token
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com>
2021-04-17 19:30:55 +02:00
github-actions[bot] 70be53c939 Version Packages 2021-04-15 15:40:08 +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
blam 096c0d85e0 feat(scaffolder): added parseRepoUrl helper to parse to json object
Signed-off-by: blam <ben@blam.sh>
2021-04-15 12:17:39 +02:00
blam c2a685ddb1 feat(scaffolder): add support for parsing the valuues as a json object in the parameters
Signed-off-by: blam <ben@blam.sh>
2021-04-15 12:17:39 +02:00
Erik Larsson fd3b689217 Added test that secrets are not divulged
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com>
2021-04-13 16:24:04 +02:00
Patrik Oldsberg 423a514c3b scaffolder-backend: fix GitHub Pull Request preparer on windows
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-13 14:08:20 +02:00
Erik Larsson 47c96fb539 Fix bugs, add tests
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com>
2021-04-11 15:35:49 +02:00
Erik Larsson 46995e92bf Use text column type
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com>
2021-04-11 10:01:52 +02:00
Erik Larsson a41a912f2d Store secrets in separate db column
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com>
2021-04-09 23:34:08 +02:00
Erik Larsson 84c54474dd fix: Forward user token to scaffolder taskworker for subsequent api requests
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com>
2021-04-09 23:34:07 +02:00
Patrik Oldsberg 93dc706eea Merge pull request #5271 from lancelot1337/bug/fix-for-5236
Update !url.startsWith condition in file.ts
2021-04-09 17:15:05 +02:00
Patrik Oldsberg 7abec4dbcf scaffolder-backend: fix file protocol check
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-09 16:37:15 +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
lancelot b109375902 Update !url.startsWith condition in file.ts
Signed-off-by: lancelot <sudhanshusah2001@gmail.com>
2021-04-09 14:56:59 +05:30
Ben Lambert 1a3adf5ae8 Merge pull request #5257 from ntgussoni/fix/4208_bitbucket_server_requires_username
Bitbucket server requires username to be set
2021-04-09 10:09:27 +02: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
Nicolas Torres d840d30bcd Bitbucket server requires username to be set
Signed-off-by: Nicolas Torres <nicolast@backbase.com>
2021-04-08 17:40:01 +02:00
Andrew Johnson 67b9602d14 don't throw on permission errors
Signed-off-by: Andrew Johnson <ajohnson@gocardless.com>
2021-04-08 15:45:37 +01:00
Patrik Oldsberg f240b09965 Merge pull request #5153 from tragiclifestories/github-pr-publish
Create builtin action for publishing to Github PR
2021-04-08 16:10:32 +02:00
github-actions[bot] 51b6cf465d Version Packages 2021-04-08 11:32:56 +00:00
Andrew Johnson f7d71b6d9e fixup
Signed-off-by: Andrew Johnson <ajohnson@gocardless.com>
2021-04-07 12:41:53 +01:00
Andrew Johnson 97c5797f4e prettier
Signed-off-by: Andrew Johnson <ajohnson@gocardless.com>
2021-04-07 12:41:53 +01:00
Andrew Johnson 18a9669291 make lint happy
Signed-off-by: Andrew Johnson <ajohnson@gocardless.com>
2021-04-07 12:41:52 +01: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