Commit Graph

24802 Commits

Author SHA1 Message Date
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
dependabot[bot] 7f647e27d3 build(deps): bump zod from 3.11.6 to 3.14.2
Bumps [zod](https://github.com/colinhacks/zod) from 3.11.6 to 3.14.2.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Changelog](https://github.com/colinhacks/zod/blob/master/CHANGELOG.md)
- [Commits](https://github.com/colinhacks/zod/compare/v3.11.6...v3.14.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 10:27:23 +00: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
Gediminas dd131d95be docs: update custom field extensions writing guide
Signed-off-by: Gediminas <gediminasgn@gmail.com>
2022-03-25 10:25:46 +01:00
dependabot[bot] 296c172a3f build(deps-dev): bump @types/puppeteer from 5.4.4 to 5.4.5
Bumps [@types/puppeteer](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/puppeteer) from 5.4.4 to 5.4.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/puppeteer)

---
updated-dependencies:
- dependency-name: "@types/puppeteer"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 04:12:01 +00:00
dependabot[bot] 9c68ffe544 build(deps): bump @microsoft/microsoft-graph-types from 2.15.0 to 2.16.0
Bumps [@microsoft/microsoft-graph-types](https://github.com/microsoftgraph/msgraph-typescript-typings) from 2.15.0 to 2.16.0.
- [Release notes](https://github.com/microsoftgraph/msgraph-typescript-typings/releases)
- [Commits](https://github.com/microsoftgraph/msgraph-typescript-typings/compare/2.15.0...2.16.0)

---
updated-dependencies:
- dependency-name: "@microsoft/microsoft-graph-types"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 04:08:29 +00: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
Patrik Oldsberg e1f14f4be8 scripts/generate-changeset-feedback: fix json output & path matching
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-24 15:00:55 +01: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
Patrik Oldsberg 0654c87cf2 backend-test-utils: avoid cleanup if no databases are supported
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-24 13:19:59 +01:00
Fredrik Adelöw b408d911fd cleanup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-24 11:48:43 +01:00
dependabot[bot] bf9ea11b3e build(deps): bump eslint from 8.10.0 to 8.11.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.10.0 to 8.11.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.10.0...v8.11.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 10:48:27 +00:00
Fredrik Adelöw 8dfaa20c52 Merge pull request #10410 from backstage/dependabot/npm_and_yarn/spotify/eslint-config-typescript-13.0.0
build(deps): bump @spotify/eslint-config-typescript from 12.0.0 to 13.0.0
2022-03-24 11:45:06 +01:00
Prasetya Aria Wibawa 0e5c9b2c8a remove unused comment
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
2022-03-24 16:14:26 +07:00
Patrik Oldsberg 3a18c0732c Merge pull request #10409 from backstage/rugvip/tweaks
workflow: tweak changeset feedback to work with forks
2022-03-24 09:49:12 +01:00
Prasetya Aria Wibawa f12cb33bd5 passing down isGroup value from ownershipCard to useGetEntities
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
2022-03-24 14:56:56 +07:00
Prasetya Aria Wibawa 102e6efea5 fix test ownership card
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
2022-03-24 14:35:20 +07:00
Prasetya Aria Wibawa 103b72b704 update to just use one hooks and one component grid in ownership card
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
2022-03-24 14:20:30 +07:00
Prasetya Aria Wibawa 69d652f3cc use relations.ownedBy for filter params in getEntities
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
2022-03-24 14:12:26 +07:00
Prasetya Aria Wibawa e4d5b8c7ff rename owner to ownerEntity for getQueryParams
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
2022-03-24 14:12:25 +07:00
Prasetya Aria Wibawa 80b47162be fix failing test for links to the catalog with group filter
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
2022-03-24 14:12:25 +07:00
Prasetya Aria Wibawa 4a790094ee use humanizeEntityRef
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
2022-03-24 14:12:25 +07:00
Prasetya Aria Wibawa da70c0ef1a check looping from length of requestedEntities
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
2022-03-24 14:12:25 +07:00