Commit Graph

934 Commits

Author SHA1 Message Date
Johan Haals 2e3166e990 gh action: allow for bumps of multiple yarn.lock files
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-29 10:12:50 +02:00
Johan Haals 8cdc951bc1 gh action: do not approve on Tuesday
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-29 10:11:01 +02:00
Johan Haals b60508539e gh actions: Approve renovate lock file changes
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-29 10:04:33 +02:00
Patrik Oldsberg d88b9bdd93 workflows/verify_docs-quality: fix missing output
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-28 13:10:27 +02:00
Patrik Oldsberg edc718e2de vale: a horrible workaround to pass config
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-27 20:06:14 +02:00
Patrik Oldsberg 42713e9c01 github/workflows/verify_docs-quality: this change is amazing
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-27 19:03:57 +02:00
Patrik Oldsberg 89bb53685c vale: prune accepted vocabulary
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-27 18:44:55 +02:00
Patrik Oldsberg f91974260b vale: support vale 2.0, update script, keep all config in .github
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-27 18:44:54 +02:00
Fredrik Adelöw e50279dd04 Revert "chore(deps): update errata-ai/vale-action action to v1.5.0"
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-04-27 10:25:32 +02:00
Fredrik Adelöw 2cfee4a7d0 Merge pull request #10987 from backstage/renovate/errata-ai-vale-action-1.x
chore(deps): update errata-ai/vale-action action to v1.5.0
2022-04-27 09:42:43 +02:00
Patrik Oldsberg d06fbf7bb0 Merge pull request #11071 from backstage/rugvip/auth-docs
docs,core-plugin-api: update auth intro docs + mark auth APIs stable
2022-04-26 15:25:23 +02:00
Patrik Oldsberg 4e80f266ce docs: update auth introduction docs + inline usage docs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-25 15:45:40 +02:00
Johan Haals 7b8b2e46f5 renovate: ignore @elastic/elasticsearch
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-22 15:18:23 +02:00
Johan Haals 3feeeef3b6 Merge pull request #10669 from anicke/gerrit-entity-provider
New plugin: "plugin-catalog-backend-module-gerrit"
2022-04-21 14:20:23 +02:00
Patrik Oldsberg aa75fc1568 Merge pull request #10990 from backstage/renovate/ilshidur-action-discord-0.x
chore(deps): update ilshidur/action-discord action to v0.3.2
2022-04-21 13:36:20 +02:00
Renovate Bot 1e7159b2d6 chore(deps): update ilshidur/action-discord action to v0.3.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-21 08:15:14 +00:00
Johan Haals ed410617f2 Merge pull request #10969 from backstage/rugvip/rsbump
yarn.lock: bump rushstack deps + add renovate grouping
2022-04-21 10:09:00 +02:00
Renovate Bot 43e32f4a60 chore(deps): update errata-ai/vale-action action to v1.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-21 07:02:00 +00:00
Niklas Aronsson 566407bf8a New plugin: "plugin-catalog-backend-module-gerrit"
The "plugin-catalog-backend-module-gerrit" exports an entity
provider for discovering catalog entities from Gerrit
repositories. The provider uses the "List Projects" API in Gerrit
to get a list of repositories and will automatically ingest all
"catalog-info.yaml" files stored in the root of the matching
projects.

Also added the "getGerritProjectsApiUrl" function to the Gerrit
integration. This returns the url to the "List Projects" API for
a given integration.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-04-21 07:33:40 +02:00
Patrik Oldsberg 7a5d1be657 Merge pull request #10918 from Bonial-International-GmbH/PJ_fix-awsS3-provider
fix: fix S3 object URL creation at AwsS3EntityProvider
2022-04-21 00:14:09 +02:00
Patrik Oldsberg 37a38b27da github/renovate: add rushtack package group
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-20 20:51:21 +02:00
Renovate Bot 0ee4a40f7b chore(deps): update creyd/prettier_action action to v3.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-20 15:11:04 +00:00
Johan Haals fc1fbdd29e renovate: bump eslint config packages together
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-20 09:33:44 +02:00
Patrick Jungermann bffec1c96a fix: fix S3 object URL creation at AwsS3EntityProvider
Fix S3 object URL creation at AwsS3EntityProvider by

- handle absence of region config,
- handle regions with region-less URIs (us-east-1),
- apply URI encoding,
- and simplify the logic overall.

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-04-20 06:11:54 +02:00
Patrik Oldsberg 57ffc1bebd Delete dependabot.yml
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-19 19:33:14 +02:00
Renovate Bot a92c35824f chore(deps): update microsoft/setup-msbuild action to v1.0.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-19 11:30:16 +00:00
Patrik Oldsberg c450538ca2 Merge pull request #10880 from backstage/rugvip/vp
workflows: switch to tweaked changeset action
2022-04-19 12:09:00 +02:00
Patrik Oldsberg 4372d59e5a workflows: switch to tweaked changeset action
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-19 12:04:19 +02:00
Patrik Oldsberg ed3551b7be cli: added experimental test configuration and module loader
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-16 14:23:17 +02:00
Patrik Oldsberg e2939aaef1 workflows: make sync_vp fetch full history to enable release lookup
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-12 17:02:24 +02:00
djamaile 6803844d0b fix: add CI/CD to vale to prevent build from failing
Signed-off-by: djamaile <rdjamaile@gmail.com>
2022-04-09 16:04:15 +02:00
Patrik Oldsberg 4288c83625 Merge pull request #10689 from backstage/rugvip/local-verify
scripts: add script to verify local dependency ranges
2022-04-07 17:41:58 +02:00
Fredrik Adelöw 0b6871da65 Merge pull request #10622 from Bonial-International-GmbH/PJ_prettier-adopters
ci(prettier): ignore `ADOPTERS.md` using `.prettierignore`
2022-04-07 13:40:16 +02:00
Patrik Oldsberg 04575786b0 scripts: add script to verify local dependency ranges
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-07 12:06:53 +02:00
Johan Haals 612a361715 Sync issues in repo only
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-07 11:38:10 +02:00
Patrick Jungermann 0f8bb7e351 ci(prettier): ignore ADOPTERS.md using .prettierignore
Ignore `ADOPTERS.md` using `.prettierignore`
instead of ignoring it at the GitHub action config.

This will cause the same rules to be applied locally as these checks.

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-04-06 23:44:03 +02:00
Johan Haals 7b0bbee030 renovate: fix prettier
Make prettier happy

Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-05 09:40:26 +02:00
Johan Haals 4e02fe0d48 renovate: Set rangeStrategy to update-lockfile
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-03-31 15:01:39 +02:00
Alex Rybchenko d5e0531122 updated gcalendar codeowners
Signed-off-by: Alex Rybchenko <arybchenko@box.com>
2022-03-28 15:07:05 +02:00
Emma Indal ea14b21dc0 Merge pull request #9679 from backstage/emmaindal/stack-overflow-plugin
[Plugin] Stack Overflow
2022-03-28 11:23:31 +02:00
Fredrik Adelöw 2c77266deb vale
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-26 10:13:47 +01:00
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
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 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
Emma Indal 45c8d92581 add backend to codeowners
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-25 11:25:22 +01:00
Emma Indal fc67e62ac2 add @backstage/reviewers as codeowners too
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-25 11:25:21 +01:00
Emma Indal 5822cb1ddd add codeowners
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-25 11:25:18 +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 267f8be849 Merge pull request #10263 from anicke/gerrit-urlreader
GerritUrlReader added that implements "readUrl"
2022-03-24 15:22:23 +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