Commit Graph

157 Commits

Author SHA1 Message Date
Patrik Oldsberg 244816f79c integration: limit config schema tests to only include its own schema
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-08-19 10:34:31 +02:00
Sean Tan b716f39dc0 Fix aws s3 tests
Signed-off-by: Sean Tan <seant@splunk.com>
2021-08-12 10:05:02 -07:00
Sean Tan e11fcbc74e Remove extra comment line and regenerate yarn.lock file
Signed-off-by: Sean Tan <seant@splunk.com>
2021-08-12 10:05:02 -07:00
Sean Tan 9d5738b3f5 Fix format errors and other small changes per suggestion
Signed-off-by: Sean Tan <seant@splunk.com>
2021-08-12 10:05:02 -07:00
Kiera Jost fdece1f716 Add documentation for IAM role authentication
Signed-off-by: Kiera Jost <kjost@splunk.com>
2021-08-12 10:05:02 -07:00
Sean Tan 2d7bf1c6b0 Add roleArn to AwsS3IntegrationConfig
Signed-off-by: Sean Tan <seant@splunk.com>
2021-08-12 10:05:02 -07:00
Kiera Jost da3fcac9f4 Fix typo in integration config awsS3 'accesKeyId'
Signed-off-by: Kiera Jost <kjost@splunk.com>
2021-08-12 10:05:02 -07:00
Kiera Jost 0f96d9c4c9 Fix api-report.md with 'yarn build:api-report'
Signed-off-by: Kiera Jost <kjost@splunk.com>
2021-08-12 10:05:02 -07:00
Sean Tan 2e5e2decc7 Make change to AwsS3 Integration to support list
Signed-off-by: Sean Tan <seant@splunk.com>
2021-08-12 10:05:02 -07:00
Sean Tan b8cb120092 Started changes from suggestions made on recent PR.
Signed-off-by: Sean Tan <seant@splunk.com>
2021-08-12 10:05:02 -07:00
Kiera Jost 5f8cfef344 Add AWS S3 url reader
Signed-off-by: Kiera Jost <kjost@splunk.com>
2021-08-12 10:05:02 -07:00
github-actions[bot] c734d6995a Version Packages 2021-08-12 08:21:56 +00:00
Fredrik Adelöw ff9222a2e3 Merge pull request #6785 from backstage/dependabot/npm_and_yarn/luxon-2.0.2
chore(deps): bump luxon from 1.27.0 to 2.0.2
2021-08-11 16:22:34 +02:00
Fredrik Adelöw ce19580212 Prefer the API route in GithubUrlReader when using GitHub Apps based auth
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-11 11:51:38 +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
Brian Fletcher 286c16e39f Merge branch 'master' of github.com:backstage/backstage into github-installations-limit 2021-08-09 14:53:17 +01:00
Brian Fletcher a52c5b8cb6 Merge branch 'master' of github.com:backstage/backstage into remove-github-restriction 2021-08-09 13:37:40 +01: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
Brian Fletcher dc0b9cc7a9 Merge remote-tracking branch 'origin' into github-installations-limit 2021-08-06 13:30:56 +01:00
Brian Fletcher 6d9698eaa9 move special handling for gh disc processor
This change moves the special handling for the GitHub Discovery
processor from the GitHub credentials provider into the GitHub
Discovery logic.

Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-08-06 11:03:12 +01:00
Brian Fletcher 5927bf864f Makes some suggested documentation improvements
Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-08-06 10:23:58 +01:00
github-actions[bot] 326cbd7408 Version Packages 2021-08-05 00:24:56 +00:00
blam c0984b1402 chore: fixing up the typescript issue and fix up changeset description
Signed-off-by: blam <ben@blam.sh>
2021-08-02 18:03:41 +02:00
Aurelio Saraiva 3c50ff5620 fixed bug on when compared in organzation name on github
Signed-off-by: Aurelio Saraiva <aureliosaraiva@gmail.com>
2021-08-02 10:51:46 -03:00
Brian Fletcher b0578306b6 fix the github-disovery when the repos are filtered
Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-07-20 15:18:19 +01:00
Brian Fletcher 619cb40662 try to work around codeql failure for test purposes
Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-07-20 15:18:13 +01:00
Brian Fletcher 5fd31c2f46 remove repo filtering on the github credentials
The github-org processor does not use the concept of repositories.
As such filtering based on selected repositories does not make sense
for that processer. The GithubCredentials was imposing what appears
like an unnessesary restriction on the tokens using the repo name.

By removing this restriction, it enalbes the github-org processor to
work when a github app installation has a repository restriction.

Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-07-20 15:17:58 +01: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 206874bd4e Merge branch 'github-installations-limit' of github.com:RoadieHQ/backstage into github-installations-limit 2021-07-14 08:54:08 +01:00
Brian Fletcher beb1d7812c changing to using the installation owner over id
Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-07-14 08:52:03 +01:00
Brian Fletcher a5d112ef49 Merge branch 'master' into github-installations-limit 2021-07-14 08:03:08 +01: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
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
Fredrik Adelöw 43a4ef6442 More helpful error message when trying to import by folder from non-github
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-07-02 16:46:35 +02:00
Mathias Åhsberg b691a938e4 Fix downloads for repositories located at bitbucket.org
Signed-off-by: Mathias Åhsberg <mathias.ahsberg@resurs.se>
2021-07-01 15:11:40 +00:00
github-actions[bot] 6e937b9fa6 Version Packages 2021-07-01 09:06:13 +00:00
Phil Kuang e6c0e4c910 Merge branch 'master' into feat/githubMultiOrgReaderProcessor 2021-06-28 09:32:28 -04:00
dependabot[bot] d3b6c6c12a chore(deps): bump msw from 0.21.2 to 0.29.0
Bumps [msw](https://github.com/mswjs/msw) from 0.21.2 to 0.29.0.
- [Release notes](https://github.com/mswjs/msw/releases)
- [Changelog](https://github.com/mswjs/msw/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mswjs/msw/compare/v0.21.2...v0.29.0)

---
updated-dependencies:
- dependency-name: msw
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-23 04:45:44 +00:00
Fredrik Adelöw a88073c29a Update copyright headers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-18 20:26:42 +02:00
Brian Fletcher 68af4d556b Add allowedInstallationIds list to each github app
This allows a single instance of backstage to optionally limit the set of
github app installations that may be used by backstage.

Previously, if you had github app installations for tenant1 and tenant2
there was nothing stopping the first from accessing resources of the
second.

The default behaviour of the GithubCredentialsProvider remains the same.

Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-06-14 14:04:51 +01:00
Phil Kuang 22a60518ca feat(GithubMultiOrgReaderProcessor): implement processor to handle multi-org ingestion
Signed-off-by: Phil Kuang <pkuang@factset.com>
2021-06-10 13:02:50 -04:00
github-actions[bot] 4a93128245 Version Packages 2021-06-10 12:18:06 +00:00
Mathias Åhsberg eda9dbd5fa Download tar.gz archives for Bitbucket
Signed-off-by: Mathias Åhsberg <mathias.ahsberg@resurs.se>
2021-06-04 12:46:42 +00:00
github-actions[bot] fa92d70fba Version Packages 2021-06-03 13:23:54 +02:00
blam 50b9eba922 chore: update the github app id config schema
Signed-off-by: blam <ben@blam.sh>
2021-06-01 14:23:07 +02:00
github-actions[bot] b5a0d1c5d7 Version Packages 2021-05-27 10:23:15 +00:00
Johan Haals 46541626ad Merge pull request #5769 from backstage/mob/handle-private-emails
Exclude emails using app auth with `GithubOrgReaderProcessor`
2021-05-24 09:59:36 +02:00
Johan Haals 7417241fcc fix format
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-21 14:52:51 +02:00
Johan Haals 66fee560e5 Update packages/integration/src/github/GithubCredentialsProvider.ts
Signed-off-by: Johan Haals <johan.haals@gmail.com>

Co-authored-by: Ben Lambert <3645856+benjdlambert@users.noreply.github.com>
2021-05-21 14:46:51 +02:00