Commit Graph

24762 Commits

Author SHA1 Message Date
Patrik Oldsberg 7b5ae597ce Merge pull request #9255 from backstage/rugvip/role-jest
cli: bump to jest 27
2022-03-25 13:03:44 +01:00
Fredrik Adelöw 0632e1753d Merge pull request #10427 from backstage/freben/unbreak-master
fix the PluginTaskManagerImpl race condition
2022-03-25 12:01:59 +01:00
Patrik Oldsberg 97ad2f4bc4 Merge pull request #10444 from backstage/rugvip/e2epaths
workflows: tweak e2e test paths
2022-03-25 12:00:25 +01:00
Patrik Oldsberg 7321c1f944 workflows: tweak e2e test paths
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:32:22 +01:00
Patrik Oldsberg 9712a8a507 tech-insights-backend: refactor FactRetrieverEngine to avoid waitForExpect
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:17 +01:00
Patrik Oldsberg c2c9570a47 search-backend-module-elasticsearch: remove explicit jest environment
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:16 +01:00
Patrik Oldsberg aeb17a21e6 cli: update Jest 27 changeset + make node env default
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:16 +01:00
Patrik Oldsberg 0d81070d58 catalog-backend: update PlaceholderProcessor test to work with Jest 27
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:16 +01:00
Patrik Oldsberg 447e87092a backend-tasks: refactor TaskWorker retry test
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:16 +01:00
Patrik Oldsberg e2cfd53847 techdocs: update client test to work with jsdom environment
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:16 +01:00
Patrik Oldsberg 9e1efd4d99 scaffolder-backend: update tests to work with Jest 27
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:16 +01:00
Patrik Oldsberg e9530e06b6 tech-insights-backend: fix test database setup
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:15 +01:00
Patrik Oldsberg 45f22fa5aa cli: bump jest a little bit further
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:15 +01:00
Patrik Oldsberg af67adafed cli: update package role environment mapping in jest config
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:15 +01:00
Patrik Oldsberg 231d24d5aa backend-tasks: fix TaskWorker retry test
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:15 +01:00
Patrik Oldsberg 0041b2ec26 tech-insights-backend: update FactRetrieverEngine tests to work with Jest 27
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:15 +01:00
Patrik Oldsberg 13d3f49793 auth-backend: update FirestoreKeyStore tests to work with Jest 27
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:14 +01:00
Patrik Oldsberg 14e3bacfd4 backend-tasks: update tests to work with Jest 27
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:14 +01:00
Patrik Oldsberg 89daaa3508 kubernetes-backend: fix Jest 27 test incompatibility
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:14 +01:00
Patrik Oldsberg 850e0ebbe3 search-backend-node: update runPeriodically test to work with jest 27
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:14 +01:00
Patrik Oldsberg 364bb0da03 analytics-module-ga: make tests work with Jest 27
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:14 +01:00
Patrik Oldsberg 219058fdb7 shortcuts: update test to work with jest 27
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:14 +01:00
Patrik Oldsberg 6f3ef325a8 backend-common: update tests to work with Jest 27
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:14 +01:00
Patrik Oldsberg bae9359032 backend-common: silenced and simplified void logger
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:13 +01:00
Patrik Oldsberg 069d69290c tech-radar: fix tests to work with @testing-library/react 12
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:13 +01:00
Patrik Oldsberg 1f7d4763ab cli: bump to jest 27, remove other jest deps
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:13 +01:00
Patrik Oldsberg 84409a80dd cli: add jest environment detection based on role
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-25 11:28:12 +01:00
Johan Haals c87bac58db Merge pull request #10442 from backstage/techdocs-e2e-test-workflow
[TechDocs] e2e test workflow
2022-03-25 11:18:14 +01:00
Emma Indal f13c7d517f restrict e2e test workflow to run on changes to specific paths
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-25 11:06:24 +01:00
Fredrik Adelöw b1b793d974 Merge pull request #9630 from naijith/bazaar-api
bazaar: use token while request to backend
2022-03-24 16:43:41 +01:00
Johan Haals 011c0b479f Merge pull request #10426 from athal7/patch-1
Update 2U contacts in ADOPTERS.md
2022-03-24 16:05:05 +01:00
Patrik Oldsberg 822403287c Merge pull request #10420 from backstage/rugvip/cleanup
backend-test-utils: avoid cleanup if no databases are supported
2022-03-24 16:04:00 +01:00
Matthew Clarke 1023ee6353 Export kubernetes components (#10401)
* export Kubernetes components

Signed-off-by: mclarke <mclarke@spotify.com>

* changeset

Signed-off-by: mclarke <mclarke@spotify.com>

* api reports

Signed-off-by: mclarke <mclarke@spotify.com>

* fix deps

Signed-off-by: mclarke <mclarke@spotify.com>

* move dep from dev to regular

Signed-off-by: mclarke <mclarke@spotify.com>
2022-03-24 10:24:23 -04:00
Fredrik Adelöw 267f8be849 Merge pull request #10263 from anicke/gerrit-urlreader
GerritUrlReader added that implements "readUrl"
2022-03-24 15:22:23 +01:00
Fredrik Adelöw 460c18f129 fix the PluginTaskManagerImpl race condition
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-24 15:19:37 +01:00
Patrik Oldsberg 6d31d2abcc Merge pull request #10421 from backstage/rugvip/stop
cli: stop logging stopped watcher
2022-03-24 15:06:49 +01:00
Andrew Thal 2f127f3aba Update 2U contacts in ADOPTERS.md
Signed-off-by: GitHub <noreply@github.com>
2022-03-24 14:04:38 +00:00
Niklas Aronsson b7436743cb GerritUrlReader added that implements "readUrl"
The url used by "readUrl" is supposed to be human friendly url that can
be opened in the browser. This makes the Gerrit configuration a bit more
complicated since there is no built in support to browse a git in Gerrit.
Instead this is handled by separate services that can be deployed at a
different host then the Gerrit instance. This implementation supports
Gitiles as the code browser tool. The dependency to Gitiles is optional,
it is perfectly possible to integrate Gerrit with Backstage but it will
not be possible to open the "human readable links" found in different
places of the Backstage gui.

A new optional config field has been added to Gerrit integration where
the base url of the Gitiles installation can be set. This is needed to
create a working link to some git content.

A new "url reader" has been added that reads content from Gerrit, as of
now only "readUrl" is implemented ("readTree" will soon follow). The
format of url is the format used by Gitiles. Gerrit's "readUrl" is
pretty simple, it's a single API call to Gerrit that returns the content
base64 encoded.

What is a bit different to other "urlReaders" is the predicate
function in that is not matching the host of the Gerrrit API. The "host"
variable in the config is the Gerrit host. The address where  Gitiles is
 installed may be on the same host but it could be on a separate host.
For example a Gerrit instance could be hosted on
"gerrit-review.company.com" but the repos could be browsable on a
separate host, e.g. "gerrit.company.com" and the human readable URL would
then not point to the API host.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-03-24 14:43:39 +01:00
Patrik Oldsberg e2282b79bc Merge pull request #10422 from backstage/freben/contribooot
changeset script typo
2022-03-24 14:39:40 +01:00
Johan Haals 36aa8ec5e9 Merge pull request #10415 from backstage/dependabot/npm_and_yarn/eslint-webpack-plugin-3.1.1
build(deps): bump eslint-webpack-plugin from 2.6.0 to 3.1.1
2022-03-24 14:39:12 +01:00
Fredrik Adelöw 3560397f61 changeset script typo
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-24 14:34:17 +01:00
Johan Haals 3766a58ec5 Merge pull request #10419 from backstage/jhaals/renovate
actions: add renovate
2022-03-24 14:23:25 +01:00
Fredrik Adelöw c0717fb562 Merge pull request #9589 from prasaria/parent-group-ownership-aggregation
Parent group ownership aggregation
2022-03-24 14:17:54 +01:00
Patrik Oldsberg 5b3079694e cli: stop logging stopped watcher
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-24 14:17:30 +01:00
Johan Haals 26b0f39d88 add label
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-03-24 14:13:33 +01:00
Fredrik Adelöw 53924a3e2a Merge pull request #10077 from backstage/vinzscam/decouple-tags-picker-from-entities
Decouple EntityTagPicker from entities
2022-03-24 14:08:38 +01:00
Fredrik Adelöw ac29c32f91 Merge pull request #10390 from suuus/community-1
Update to Community Hub content
2022-03-24 14:00:45 +01:00
Johan Haals fe8ac3595c actions: add renovate
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-03-24 13:27:13 +01:00
Patrik Oldsberg b558c8f472 Merge pull request #10413 from backstage/dependabot/npm_and_yarn/graphql-tools/schema-8.3.5
build(deps): bump @graphql-tools/schema from 8.3.1 to 8.3.5
2022-03-24 13:25:31 +01:00
Patrik Oldsberg 19553b1fd2 Merge pull request #10412 from backstage/dependabot/npm_and_yarn/eslint-8.11.0
build(deps): bump eslint from 8.10.0 to 8.11.0
2022-03-24 13:25:13 +01:00