Commit Graph

1133 Commits

Author SHA1 Message Date
Fredrik Adelöw 69e9f4e887 Merge pull request #13931 from Bonial-International-GmbH/pjungermann/bitbucket-cloud/events
feat: events
2022-11-14 12:08:52 +01:00
Patrick Jungermann 25f6d7bddb feat(events/gerrit): add GerritEventRouter
Add an event router for Gerrit
which handles events from the topic `gerrit`
and re-publishes events under their more specific topic
based on the `$.type` payload field
like e.g., `gerrit.change-merged`.

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-11-12 01:38:34 +01:00
Patrick Jungermann 12cd94b7e9 feat(events/azure): add AzureDevOpsEventRouter
Add an event router for Azure DevOps
which handles events from the topic `azureDevOps`
and re-publishes events under their more specific topic
based on the `$.eventType` payload field
like e.g., `azureDevOps.git.push`.

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-11-12 01:14:29 +01:00
Patrick Jungermann 63f7983398 feat(events/gitlab): add GitLabEventRouter
Add an event router for GitLab
which handles events from the topic `gitlab`
and re-publishes events under their more specific topic
based on the `$.event_name` payload field
like e.g., `gitlab.push`.

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-11-12 01:14:29 +01:00
Patrick Jungermann b3a4edb885 feat(events/github): add GithubEventRouter
Add an event router for GitHub
which handles events from the topic `github`
and re-publishes events under their more specific topic
based on the `x-github-event` metadata
like e.g., `github.push`.

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-11-12 01:14:29 +01:00
Patrick Jungermann 6bc121bf0d feat(events/bitbucketCloud): add BitbucketCloudEventRouter
Add an event router for Bitbucket Cloud
which handles events from the topic `bitbucketCloud`
and re-publishes events under their more specific topic
based on the `x-event-key` metadata
like e.g., `bitbucketCloud.repo:push`.

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-11-12 00:21:23 +01:00
Patrick Jungermann d3ecb2382d feat(events/sqs): add a new AWS SQS event publisher
This change introduces a new plugin `@backstage/plugin-events-backend-module-aws-sqs`.

This plugin provides an event publisher which receives events from
(an) AWS SQS queue(s) and publishes them to the event broker.

The plugin supports the new backend-plugin-api and connects with the other plugins.

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-11-12 00:15:50 +01:00
Patrick Jungermann 7bbd2403a1 feat(events): add events management capabilities
This change introduces some new plugins which provide the basics
for managing events inside of backstage.
Hereby, it offers extension points to add event publishers and subscribers
as well as to exchange the event broker implementation.

- `@backstage/plugin-events-backend`:
  backend for the events management which connects all parts
  and provides a simple in-memory event broker
- `@backstage/plugin-events-node`:
  interfaces and API for `@backstage/plugin-events-backend`
- `@backstage/plugin-events-test-utils`:
  test utilities like implementations useful for writing tests at modules

All plugins support the new backend-plugin-api.

Relates-to: #11082
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-11-12 00:00:49 +01:00
Patrik Oldsberg f19a77976a Update automate_stale.yml
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-11-11 13:49:33 +01:00
Fredrik Adelöw 14d24ae808 Merge pull request #14265 from luchillo17/feat/BCKSTG-68-typography-guidelines
docs: Add component design guidelines
2022-11-10 08:46:04 +01:00
Fredrik Adelöw 85e57584f0 add togglable to word list
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-11-09 09:04:49 +01:00
renovate[bot] 0a8c566afc Update backstage/actions action to v0.5.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-07 13:07:41 +00:00
Patrik Oldsberg dbf618b2a7 Merge pull request #12558 from backstage/rugvip/node18
Switch Node.js versions to 16 & 18
2022-11-07 13:41:26 +01:00
Patrik Oldsberg 5ec67065b1 workflows/ci: try lower jest worker memory limit
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-11-07 13:08:03 +01:00
Patrik Oldsberg a8dac60b08 Revert "workflows: work around missing node-canvas binaries for node 18"
This reverts commit 0ab270539ae9ba4ec0b34af9624e7d870f4515da.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-11-07 11:48:23 +01:00
Patrik Oldsberg 7bcb96a668 workflows: work around missing node-canvas binaries for node 18
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-11-07 11:48:22 +01:00
Patrik Oldsberg 7605c11cda bump Node.js to 16 & 18
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-11-07 11:39:08 +01:00
Ben Lambert a8cf285b8f Merge pull request #14275 from Rutam21/BKS-14264
Issue-14264: Removed Issue Forms and Added Issue Templates
2022-10-29 18:37:11 -04:00
blam e287bd017f chore: ammend some of the options
Signed-off-by: blam <ben@blam.sh>
2022-10-29 18:36:33 -04:00
blam 7b707ca399 chore: we don't have type: bug as a label
Signed-off-by: blam <ben@blam.sh>
2022-10-29 18:33:44 -04:00
blam 2cba7430d5 chore: run prettier to make ci happy as larry
Signed-off-by: blam <ben@blam.sh>
2022-10-29 14:57:46 -04:00
Carlos Esteban Lopez d217290e1d fix: Remove unnecessary capitalized duplicates in vocab whitelist
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2022-10-27 09:29:39 -05:00
blam 4754a47b0b blog: fixing up the microsite
Signed-off-by: blam <ben@blam.sh>
2022-10-27 08:58:46 -04:00
Fredrik Adelöw b77eb63ef8 Merge pull request #14316 from backstage/jhaals/snyk2
actions/snyk: debug correct workflow
2022-10-25 11:23:27 +01:00
Johan Haals bd07f250fc actions/snyk: debug correct workflow
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-10-25 12:01:47 +02:00
Johan Haals 4ce3c2a371 Merge pull request #14315 from backstage/jhaals/snyk2
actions: generate snyk report in debug mode
2022-10-25 11:47:08 +02:00
Johan Haals c27640a8bd actions: generate snyk report in debug mode
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-10-25 11:41:47 +02:00
Johan Haals 02ade65ec4 Merge pull request #14311 from backstage/jhaals/snyk2
actions/snyk chore: move old-space-size to relevant step
2022-10-25 10:52:21 +02:00
Johan Haals b676e1ddfe actions/snyk chore: move old-space-size to relevant step
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-10-25 10:34:28 +02:00
Patrik Oldsberg 84bb330ce9 .github/workflows: update PR stale message to not mislead
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-10-24 16:29:15 -04:00
Johan Haals e60bd847b3 Merge pull request #14056 from atoko/atoko/gitea/scmintegration
Gitea SCM integration / URL Reader
2022-10-24 16:11:22 +02:00
Johan Haals 5505d65386 actions: add workflow dispatch option
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-10-24 11:17:23 +02:00
Johan Haals 35795a4228 workflow/snyk: increase memory size to to 7gb
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-10-24 11:12:05 +02:00
Pedro Cardona d05e1841ce Adds gitea to supported set of SCM integrations
Signed-off-by: Pedro Cardona
<1724279+atoko@users.noreply.github.com>

GiteaUrlReader readUrl implementation.
Currently relies on content being base64 encoded

Signed-off-by: Pedro Cardona
<1724279+atoko@users.noreply.github.com>

Prettify changed files

Signed-off-by: Pedro Cardona
<1724279+atoko@users.noreply.github.com>

Changeset for gitea integration

Signed-off-by: Pedro Cardona
<1724279+atoko@users.noreply.github.com>

Include gitea in Vale vocabulary, run Lint / Prettier

Signed-off-by: Pedro Cardona
<1724279+atoko@users.noreply.github.com>

Update api-reports

Signed-off-by: Pedro Cardona
<1724279+atoko@users.noreply.github.com>

Lint packages/integration/*
Signed-off-by: Pedro Cardona
<1724279+atoko@users.noreply.github.com>

Fix getGiteaFileContentsUrl, split changesets

The previous file contents url code was missing a segment, (/branch), and was causing the loader to 404. (The intended functionality is to use the same URL you would use to view the file in gitea)
Changesets for the integration and backend-common packages were split
This commit also adds documentation relevant to the gitea integration

Signed-off-by: Pedro Cardona
<1724279+atoko@users.noreply.github.com>
Signed-off-by: Pedro Cardona <1724279+atoko@users.noreply.github.com>
2022-10-23 20:56:56 -04:00
Fredrik Adelöw cbe11d1e23 just getting rid of vale warnings
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-10-22 17:18:47 +02:00
Carlos Esteban Lopez 1c8c0a2cc7 docs: Address PR comments
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2022-10-21 13:29:39 -05:00
Rutam21 5db42c5da3 Issue-14264: Removed Issue Forms and Added Issue Templates
Signed-off-by: Rutam21 <rutamprita@gmail.com>
2022-10-21 18:56:01 +05:30
Patrik Oldsberg 776f78ad3c Merge pull request #14223 from backstage/rugvip/reviewing
add REVIEWING.md
2022-10-20 10:51:07 +02:00
Patrik Oldsberg c0098f1bdd add TSDoc to vocab
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-10-19 15:20:26 +02:00
Johan Haals b54ac7347b renovate: bump svgr dependencies together
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-10-19 14:37:44 +02:00
Fredrik Adelöw 45681c215b Merge pull request #14198 from backstage/freben/v170
add release notes  for v1.7.0
2022-10-19 08:59:54 +01:00
Fredrik Adelöw 24e54dda87 add changeset for v1.7.0
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-10-19 09:51:07 +02:00
Fredrik Adelöw 628134a7f0 Merge pull request #14190 from backstage/rugvip/vp
workflows: only run the most recent version packages sync
2022-10-18 14:04:36 +01:00
Patrik Oldsberg 403cc11b3d workflows: only run the most recent version packages sync
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-10-18 11:47:29 +02:00
Fredrik Adelöw acf79e552d Merge pull request #14119 from backstage/add-to-reviewers
chore: add new reviewer to codeowners (8294)
2022-10-18 10:25:14 +01:00
Fredrik Adelöw 45952b2ee7 Merge pull request #14120 from backstage/renovate/jamesives-github-pages-deploy-action-4.x
Update JamesIves/github-pages-deploy-action action to v4.4.1
2022-10-18 10:24:16 +01:00
Eric Peterson dd6fa27a9f Merge pull request #14067 from backstage/search/tag-log-document-type
[Search] Tag indexing logs with documentType
2022-10-16 16:37:10 +02:00
Harry Hogg 77503b8f36 Increase memory for synk action for the snyk github issue sync workflow
Signed-off-by: Harry Hogg <hhogg@spotify.com>
2022-10-14 16:49:29 +01:00
renovate[bot] 3331ac9a94 Update JamesIves/github-pages-deploy-action action to v4.4.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-13 14:02:08 +00:00
Andrew Thauer feb4602e52 chore: add @andrewthauer to codeowners
This is a very late response to issue #8294 which requested reviewers on certain plugins. Also added an entry for `cost-insights-*` since there is now a `cost-insights-common` package.

Signed-off-by: Andrew Thauer <athauer@wealthsimple.com>
2022-10-13 09:04:02 -04:00