Commit Graph

237 Commits

Author SHA1 Message Date
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
github-actions[bot] bf5090e59d Version Packages 2021-10-21 13:28:13 +00:00
github-actions[bot] 4c840cebfa Version Packages 2021-10-14 12:45:08 +00:00
Connor Younglund dd9cf64dd5 replace \n with newline for GitHub App private key
Signed-off-by: Connor Younglund <younglund_connor@bah.com>
2021-10-13 15:15:55 -04:00
Patrik Oldsberg f25b8459cd update tests to be runnable from the project root
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-10 20:00:42 +02:00
github-actions[bot] 97420439e1 Version Packages 2021-10-07 12:17:39 +00:00
Johan Haals 1a26a18f7f integration: Add missing lodash import
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-07 09:08:00 +02:00
Johan Haals a31afc5b62 Replace slash stripping regexp with trimEnd
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-06 16:42:03 +02:00
Patrik Oldsberg ca0559444c avoid usage of to*Case + add project lint rule
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-02 18:43:11 +02:00
github-actions[bot] f67e8ddcec Version Packages 2021-09-30 11:43:05 +00:00
Patrik Oldsberg 2f09cdb97f use preferred luxon duration units
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-27 10:22:31 +02:00