Commit Graph

247 Commits

Author SHA1 Message Date
Patrik Oldsberg b521c1b83b detect all package roles
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-14 21:50:03 +01:00
Fredrik Adelöw 1ed305728b bump node-fetch and cross-fetch
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-10 15:51:50 +01:00
github-actions[bot] e74f416a00 Version Packages (next) 2022-02-08 19:38:17 +00:00
github-actions[bot] 51eecb3f03 Version Packages (next) 2022-02-02 14:28:47 +00:00
github-actions[bot] e1580cf73a Version Packages (next) 2022-02-01 08:53:29 +00:00
github-actions[bot] 406848efee Version Packages 2022-01-27 11:07:27 +00:00
github-actions[bot] 8b18d054f3 Version Packages 2022-01-20 10:33:31 +00:00
Iain Billett 0e76e264e9 Return undefined rather than an empty string
Signed-off-by: Iain Billett <iain@roadie.io>
2022-01-18 18:32:19 +00:00
Iain Billett 2030b5e80d Return an empty token where an installation owner is not allowed
While this is less obvious to the user this facilitates anonymous access
to (public) files where the app is installed but the owner is not in the
allowed list.

Signed-off-by: Iain Billett <iain@roadie.io>
2022-01-18 18:02:47 +00:00
github-actions[bot] a94a2b8b3f Version Packages (next) 2022-01-18 13:49:07 +00:00
github-actions[bot] b04011602b Version Packages 2022-01-13 14:23:13 +00:00
Brian Fletcher bc5f67627c Merge branch 'master' of github.com:backstage/backstage into readersprocessorstasks 2022-01-10 14:40:04 +00:00
Fredrik Adelöw 5333451def Got rid of the last brace-typed and hyphen-less params etc
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-10 09:48:12 +01:00
Brian Fletcher ce82656901 removes some breaking compatability changes
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-01-07 14:13:54 +00:00
Brian Fletcher db49de335f adds api-reports
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-01-06 16:31:36 +00:00
Brian Fletcher 95b369d808 use scm integrations interface rather than implementation
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-01-06 14:21:56 +00:00
Brian Fletcher ffda3d4490 tweaks to remove uneeded differences
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-01-06 12:11:05 +00:00
Brian Fletcher be15350198 change single instance provider back to the way it was
there was no changes to it, so there was no need for it.

Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-01-06 11:57:04 +00:00
Brian Fletcher 0a21e4bcc4 Make the credentials provider optional..
..and other review comments improvements.

Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-01-06 11:46:39 +00:00
Brian Fletcher fb8ca7c1bf remove code accidently added in
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-01-06 11:46:23 +00:00
Brian Fletcher 2f1d27133b use single instance provider in default one
Also changes how the GitHub url is parsed.

Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-01-05 13:53:14 +00:00
Brian Fletcher 41ced545f3 api-reports
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-01-05 08:30:25 +00:00
Brian Fletcher 595dab2935 Creates new provider for compatability
There is now two credentials providers:
 - SingleInstanceGithubCredentialsProvider can be created with a single
   GitHubIntegrationConfig.
 - DefaultGithubCredentialsProvider is created from the full integrations
   config.

Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-01-05 08:25:52 +00:00
Brian Fletcher bb8ce88f2e api reports
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-01-04 15:57:07 +00:00
Brian Fletcher 7af4986af8 remove factory signature from gh creds provider
This change required the SingleInstanceGithubCredentialsProvider to be
changed to allow it to look up the credentials from the whole list of
integrations.

As such all places where it was used I have updated.

Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-01-04 15:30:07 +00:00
github-actions[bot] 7d27a11079 Version Packages 2021-12-30 11:06:46 +00:00
Leon Stein ca52cf8b28 add aws s3 custom endpoint config test
Signed-off-by: Leon Stein <leons727@gmail.com>
2021-12-29 08:42:06 -05:00
Leon Stein 0dd1971d4a fix tests
Signed-off-by: Leon Stein <leons727@gmail.com>
2021-12-29 08:36:25 -05:00
Leon Stein 7615549bf5 update api-reports
Signed-off-by: Leon Stein <leons727@gmail.com>
2021-12-28 17:35:14 -05:00
Leon Stein c2d09d8c17 cleanup
Signed-off-by: Leon Stein <leons727@gmail.com>
2021-12-28 11:49:10 -05:00
Leon Stein e662ee528b remove AMAZON_AWS_HOST export, fix regex per review feedback
Signed-off-by: Leon Stein <leons727@gmail.com>
2021-12-28 11:42:23 -05:00
Leon Stein 60dee60d9b update config schema
Signed-off-by: Leon Stein <leons727@gmail.com>
2021-12-28 10:29:53 -05:00
Leon Stein bc78cc3dca use endpoint/s3ForcePathStyle instead of validateHost/ssl per PR feedback
Signed-off-by: Leon Stein <leons727@gmail.com>
2021-12-28 10:24:12 -05:00
Leon Stein e74854410d initial
Signed-off-by: Leon Stein <leons727@gmail.com>
2021-12-24 17:49:48 -05:00
Brian Fletcher 57261f7e86 discovery processor to use gh creds interface
Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-12-23 15:15:12 +00:00
Patrik Oldsberg f13228792e Merge pull request #8533 from RoadieHQ/gh-creds-interface
create an interface for gh creds provider
2021-12-23 14:29:17 +01:00
Brian Fletcher 7d4b4e937c addressing review comments
Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-12-23 12:31:09 +00:00
github-actions[bot] 3d68c45ef7 Version Packages 2021-12-23 12:23:34 +00:00
Brian Fletcher b2d67bde04 adds factory type for creds provider and rename default
Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-12-20 13:58:39 +00:00
Brian Fletcher 6984c4988a moves types and interfaces to specific types file
Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-12-20 11:06:37 +00:00
Brian Fletcher 7228b18c0f create an interface for gh creds provider
We plan to build on this later to allow the credentials provider to
be passed into the scaffolder tasks, the processors, and the url
readers.

Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-12-17 11:26:05 +00:00
github-actions[bot] 29f2606ed9 Version Packages 2021-12-02 12:35:24 +00:00
Fredrik Adelöw 47619da24c give the same treatment to catalog-backend too
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-25 13:05:11 +01:00
github-actions[bot] 99bf179ccf Version Packages 2021-11-18 11:52:08 +00:00
github-actions[bot] d66c5f1282 Version Packages 2021-10-28 14:06:43 +00:00
Fredrik Adelöw a3540dd9c2 Merge pull request #7782 from backstage/freben/api-integration-etc
more api fixes, in integration and theme
2021-10-27 09:52:23 +02:00
blam d465f2e0af chore: bump the msw package and remove it from test-utils as it's not even needed
Signed-off-by: blam <ben@blam.sh>
2021-10-26 17:13:49 +02:00
Fredrik Adelöw 8eedc159ae fix up errors too
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-10-26 16:55:36 +02:00
Fredrik Adelöw a15d028517 more api fixes, in integration and theme
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-10-26 16:24:13 +02:00
Johan Haals f1e96dc5b1 chore/cli: Replace msw with setupRequestMockHandlers
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-26 10:54:47 +02:00