Commit Graph

369 Commits

Author SHA1 Message Date
Patrik Oldsberg be5a837259 migrate to use workspace ranges
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-21 10:14:53 +02:00
Patrik Oldsberg 2e4e6c3500 test fixes to support Jest 29
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 14:51:19 +02:00
github-actions[bot] 30882884a4 Version Packages 2022-09-20 11:52:02 +00:00
github-actions[bot] 423e01d903 Version Packages (next)
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-13 18:00:17 -04:00
Johan Haals e1ee22f248 Merge pull request #13542 from afscrome/feature/OptimiseGithubAccessTokens
Optimise GitHub access tokens
2022-09-09 13:11:11 +02:00
Alex Crome a68c0b3f94 Fix potentially flakey expiration test by making sure the record has less than 10 mins remaining, rather than exactly 10 mins
Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2022-09-08 18:41:09 +01:00
Alex Crome f95ceb2737 PR Feedback
Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2022-09-08 17:36:28 +01:00
Alex Crome a7f6f1c3fa Remove erroneous comment
Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2022-09-07 11:51:54 +01:00
Patrik Oldsberg 7d47def9c4 switch @types/jest to only be depended on by @backstage/cli
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-07 11:29:12 +02:00
github-actions[bot] f275697d2b Version Packages (next) 2022-09-06 13:11:16 +00:00
Alex Crome de6c99b043 Fix access token cache time
Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2022-09-06 09:35:41 +01:00
Alex Crome 11904b7616 Share access token between repos in the same app
Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2022-09-06 09:26:36 +01:00
Fredrik Adelöw 3612e97174 Merge pull request #13550 from backstage/renovate/msw-0.x
chore(deps): update dependency msw to ^0.47.0
2022-09-06 09:51:25 +02:00
renovate[bot] 667d917488 chore(deps): update dependency msw to ^0.47.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-06 07:09:16 +00:00
Alex Crome d57e5f182c Add initial test around cache
Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2022-09-05 23:20:18 +01:00
Alex Crome d0e8705afd Moved Github Installation loading to be within cached data
Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2022-09-05 22:05:29 +01:00
Alex Crome 17a4968d40 Avoid loading github installation if owner is not in allowedInstallationOwners
Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2022-09-05 22:00:15 +01:00
Robert Schuh 66952b3f28 Fix prettier
Signed-off-by: Robert Schuh <github@eneticum.de>
2022-09-04 02:21:59 +02:00
Robert Schuh d2ca018f43 Add a test for the precedence
Signed-off-by: Robert Schuh <github@eneticum.de>
2022-09-03 03:26:48 +02:00
Robert Schuh 6e06c1d1ab Use username password or token for bitbucket server
The bitbucket server publish action allows setting the token like other platforms, if the integration has a username and password configured though, not the token but the credentials are used

In config.ts the docs claim token takes precedence which only holds true if username & password are not set

Signed-off-by: Robert Schuh <github@eneticum.de>
2022-09-03 03:26:48 +02:00
Patrik Oldsberg 8911f684e1 Yarn 3 automatic formatting changes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-08-31 15:49:38 +02:00
Fredrik Adelöw d1dd58b8b0 Merge pull request #13437 from backstage/renovate/msw-0.x
chore(deps): update dependency msw to ^0.46.0
2022-08-31 11:43:37 +02:00
blam 2120963e5d chore: bump git-parse-url
Signed-off-by: blam <ben@blam.sh>
2022-08-31 10:33:39 +02:00
renovate[bot] 87ec2ba4d6 chore(deps): update dependency msw to ^0.46.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-31 01:34:13 +00:00
github-actions[bot] d1ec204774 Version Packages (next) 2022-08-30 12:02:13 +00:00
github-actions[bot] 18ab337f96 Version Packages (next) 2022-08-23 10:29:17 +00:00
blam 9c1ee4d56b chore: some small changes
Signed-off-by: blam <ben@blam.sh>
2022-08-23 10:53:04 +02:00
renovate[bot] bf5e9030eb chore(deps): update dependency msw to ^0.45.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-22 02:27:29 +00:00
github-actions[bot] a5684d0d53 Version Packages 2022-08-16 12:15:33 +00:00
github-actions[bot] f762386d48 Version Packages (next) 2022-08-02 08:43:23 +00:00
Ben Lambert eacf97cc2b Merge pull request #12774 from jamieklassen/gitlab-unscoped
support unscoped routes in location targets on gitlab
2022-08-02 10:33:54 +02:00
Ömer Faruk Doğan ad35364e97 feat(techdocs): add edit button support for bitbucketServer
Signed-off-by: Ömer Faruk Doğan <8117265+omerfarukdogan@users.noreply.github.com>
2022-07-27 18:31:13 +03:00
github-actions[bot] 73cee58fc2 Version Packages (next) 2022-07-26 08:37:39 +00:00
Ben Lambert 75bfc7317d Merge pull request #12711 from Bonial-International-GmbH/pjungermann/bitbucketServer/auth
feat: support Basic Auth and token-only at Git commands for Bitbucket Server
2022-07-25 17:06:08 +02:00
Patrick Jungermann 593dea6710 feat: support Basic Auth for Bitbucket Server
Closes: #12586
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-07-25 15:53:30 +02:00
Eric Voshall b62a9bfc37 Handle incorrect return type
Signed-off-by: Eric Voshall <6836155+ericvoshall@users.noreply.github.com>
2022-07-22 11:03:49 -04:00
Jamie Klassen 1e1e436e86 Look up project IDs for unscoped routes
Signed-off-by: Jamie Klassen <jklassen@vmware.com>
2022-07-22 07:36:35 -04:00
Namco c4b460a47d Avoid double encoding in bitbucket integration
Signed-off-by: Namco <namco1992@gmail.com>
2022-07-22 14:22:12 +08:00
Jamie Klassen 3a2254185e add coverage for "blob" folder edge case
Signed-off-by: Jamie Klassen <jklassen@vmware.com>
2022-07-21 13:00:02 -04:00
Jamie Klassen 56a8ff12fd fake gitlab API more precisely
This allows this suite to detect when an unexpected path is passed to
the projects API.

Signed-off-by: Jamie Klassen <jklassen@vmware.com>
2022-07-21 13:00:02 -04:00
Jamie Klassen 1de2669c91 refactor tests to give clearer feedback
Instead of comments in the table test, use the features of jest that allow each
test to give a specific error message. This change also reduces the total number
of tests, but coverage should remain the same branch-wise.

Signed-off-by: Jamie Klassen <jklassen@vmware.com>
2022-07-21 12:59:55 -04:00
renovate[bot] 29f782eb37 chore(deps): update dependency @types/luxon to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-20 00:35:52 +00:00
github-actions[bot] 7d7da6caec Version Packages 2022-07-19 08:34:21 +00:00
Ben Lambert 74ed37a31e Merge pull request #12554 from lunarway/patch/octokit-rest-19.0.3
Upgrade @octokit/rest to 19.0.3
2022-07-13 11:08:06 +02:00
Ben Lambert 04bf45f700 Merge pull request #12599 from backstage/renovate/msw-0.x
chore(deps): update dependency msw to ^0.44.0
2022-07-13 10:38:03 +02:00
Ben Lambert 95c4faa8aa Merge pull request #12403 from OpenSourceZombie/ahmed/fix-gitlab-subpath
Consider hosted gitlab with relative path
2022-07-13 10:25:35 +02:00
renovate[bot] 8006d0f9bf chore(deps): update dependency msw to ^0.44.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-13 02:08:31 +00:00
Bjørn 2bb0dd2dd2 Merge branch 'master' into patch/octokit-rest-19.0.3 2022-07-12 21:19:36 +02:00
github-actions[bot] 0e967f188b Version Packages (next) 2022-07-12 13:19:14 +00:00
renovate[bot] 4e9a90e307 fix(deps): update dependency luxon to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-11 22:07:53 +00:00