Commit Graph

9518 Commits

Author SHA1 Message Date
blam 8bd0d83311 chore: common is now entityRef
Signed-off-by: blam <ben@blam.sh>
2022-02-17 14:30:56 +01:00
blam bab8027029 chore: reworking the templateInfo type
Signed-off-by: blam <ben@blam.sh>
2022-02-17 14:22:06 +01:00
blam a8c29cc99a chore: move to entityRef
Signed-off-by: blam <ben@blam.sh>
2022-02-17 13:47:41 +01:00
blam f25fd16490 chore: fixing tests
Signed-off-by: blam <ben@blam.sh>
2022-02-17 13:47:41 +01:00
blam 09000c1663 chore: updating api-reports for all packages
Signed-off-by: blam <ben@blam.sh>
2022-02-17 13:47:41 +01:00
blam 93215cb382 chore: move to templateInfo in other modules
Signed-off-by: blam <ben@blam.sh>
2022-02-17 13:47:41 +01:00
blam b344cd674a chore: move to templateInfo in the scaffolder-backend
Signed-off-by: blam <ben@blam.sh>
2022-02-17 13:47:41 +01:00
Ben Lambert 32f1cc6d46 Update plugins/scaffolder-common/src/TaskSpec.ts
Signed-off-by: Ben Lambert <blam@spotify.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2022-02-17 13:47:41 +01:00
blam 7f88d699d4 chore: updating public docs
Signed-off-by: blam <ben@blam.sh>
2022-02-17 13:47:41 +01:00
blam f1cfb215ce chore: updating api-report and fixing the warnings
Signed-off-by: blam <ben@blam.sh>
2022-02-17 13:47:41 +01:00
blam 3c7d087fbc chore: adding deprecations for the spec.metadata and spec.baseUrl to the new templateInfo
Signed-off-by: blam <ben@blam.sh>
2022-02-17 13:47:41 +01:00
github-actions[bot] 408b0300cb Version Packages 2022-02-17 10:38:59 +00:00
Patrik Oldsberg db48253fa1 Merge pull request #9595 from backstage/dependabot/npm_and_yarn/luxon-2.3.0
chore(deps): bump luxon from 2.0.2 to 2.3.0
2022-02-17 11:32:02 +01:00
Fredrik Adelöw b0e6e63cea Merge pull request #9578 from backstage/freben/sprint-catalog-apireport
catalog: clean up api reports
2022-02-17 11:27:49 +01:00
Fredrik Adelöw ac0d932b0b review comments
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-17 10:52:53 +01:00
Patrik Oldsberg edeeac7e9d pagerduty: fix luxon dependency range
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-17 10:39:53 +01:00
Patrik Oldsberg 380d78a500 Merge pull request #9390 from moltenice-forks/airbrake-backend
Airbrake Backend Plugin
2022-02-17 10:20:06 +01:00
Otto Sichert 5a92d13e29 Merge pull request #9587 from backstage/feat/improve-admonition-size
Match admonition text size to content text size
2022-02-17 08:23:28 +00:00
dependabot[bot] 3a2a893df6 chore(deps): bump luxon from 2.0.2 to 2.3.0
Bumps [luxon](https://github.com/moment/luxon) from 2.0.2 to 2.3.0.
- [Release notes](https://github.com/moment/luxon/releases)
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moment/luxon/compare/2.0.2...2.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-17 04:46:12 +00:00
Patrik Oldsberg 1433045c08 removed unused helmet dependencies
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-16 23:41:57 +01:00
Otto Sichert 6553985cd4 Match admonition text size to content text size
Signed-off-by: Otto Sichert <git@ottosichert.de>
2022-02-16 22:30:03 +00:00
dependabot[bot] 0107c9aa08 chore(deps): bump helmet from 4.4.1 to 5.0.2
Bumps [helmet](https://github.com/helmetjs/helmet) from 4.4.1 to 5.0.2.
- [Release notes](https://github.com/helmetjs/helmet/releases)
- [Changelog](https://github.com/helmetjs/helmet/blob/main/CHANGELOG.md)
- [Commits](https://github.com/helmetjs/helmet/compare/v4.4.1...v5.0.2)

---
updated-dependencies:
- dependency-name: helmet
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-16 22:50:06 +01:00
Patrik Oldsberg 561ee4746e Merge pull request #9369 from KaemonIsland/fix-workflow-run-details-error
Fix workflow run details error
2022-02-16 20:35:39 +01:00
Ben Lambert 450605cae6 Merge pull request #9580 from backstage/blam/deprecations/more
chore: removing `CatalogEntityClient` export from `scaffolder-backend`
2022-02-16 20:30:43 +01:00
Patrik Oldsberg 7d656a3b55 Merge pull request #9470 from backstage/dependabot/npm_and_yarn/types/aws4-1.11.1
chore(deps-dev): bump @types/aws4 from 1.5.2 to 1.11.1
2022-02-16 20:30:29 +01:00
Patrik Oldsberg fb09a59a3f kubernetes-backend: fixed potential AWS token generation issue
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-16 19:34:32 +01:00
blam ad170e0ac5 chore: remove the actual thing
Signed-off-by: blam <ben@blam.sh>
2022-02-16 19:32:48 +01:00
KaemonIsland 0268d91b78 Change getProjectName to getProjectNameFromEntity
Signed-off-by: KaemonIsland <kaemonlovendahl@outlook.com>
2022-02-16 11:31:18 -07:00
KaemonIsland 03af89706c use new Error and change useProjectName to getProjectName
Signed-off-by: KaemonIsland <kaemonlovendahl@outlook.com>
2022-02-16 11:25:24 -07:00
Fredrik Adelöw 69ad9e1e7b Merge pull request #9560 from backstage/freben/location-by-ref
Removed `CatalogApi.geLocationByEntity` and `CatalogApi.getOriginLocationByEntity`, and replaced them with `CatalogApi.getLocationByRef`.
2022-02-16 18:58:14 +01:00
Patrik Oldsberg d99c3c2177 Merge pull request #9254 from backstage/rugvip/add-roles
packages: add roles to all packages
2022-02-16 18:40:37 +01:00
Ben Lambert 529814d02d Merge pull request #9576 from backstage/blam/deprecations/scaffolder-backend
deprecations: remove deprecated `ctx.token`
2022-02-16 18:32:09 +01:00
KaemonIsland 6cc710c84c Change useProjectName to synchronous code
Signed-off-by: KaemonIsland <kaemonlovendahl@outlook.com>
2022-02-16 09:26:49 -07:00
KaemonIsland 7efee0f94c Prevent error message when owner/repo has not been set
The owner/repo variables are set to undefined during the first render of the WorkflowRunDetails component.

These undefined values are then passed to the useWorkflowRunsDetails hook and are returned as an error.

This causes a false error message to show for a split second.

The next render succesfully triggers when the owner/repo values get set, updating the details variable and returning the correct react component.

A new "loading" variable has been added that checks for loading values in addition to the details value existing.

I've also added an extra check for the error.message value considering it's used within the error message.

This prevents the false error message from displaying.

Signed-off-by: KaemonIsland <kaemonlovendahl@outlook.com>
2022-02-16 09:26:49 -07:00
Patrik Oldsberg 847ba7f606 Merge pull request #9543 from RoadieHQ/gcp-projects-use-react-hookz
Gcp projects use react hookz
2022-02-16 17:23:29 +01:00
Patrik Oldsberg 08140a4eac Merge pull request #9542 from awanlin/topic/update-empty-flag
Updated EmptyFlags code example
2022-02-16 17:17:47 +01:00
blam d93ac29500 chore: updating some smaller code refactor, and updating api-report
Signed-off-by: blam <ben@blam.sh>
2022-02-16 17:05:04 +01:00
blam b6925bb66d chore: removing the entityClient and using a helper instead to fetch the matching Templates
Signed-off-by: blam <ben@blam.sh>
2022-02-16 17:02:01 +01:00
Fredrik Adelöw 0a033351be catalog: clean up api reports
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-16 15:45:36 +01:00
Karan Shah f5e370e0c3 Make the Airbrake backend plugin public
Signed-off-by: Karan Shah <karan.shah@simplybusiness.co.uk>
2022-02-16 14:26:41 +00:00
blam 91f6be833e chore: fixing test
Signed-off-by: blam <ben@blam.sh>
2022-02-16 14:55:30 +01:00
Patrik Oldsberg eae833a780 Merge pull request #9487 from andrewthauer/home-toolkit-accordian
feat: add accordian home page toolkit support
2022-02-16 13:58:55 +01:00
Patrik Oldsberg 08b9b4db86 Merge pull request #9363 from richardluong/rluong-dominant-baseline
Change to Avatar in ShortcutIcon
2022-02-16 13:49:57 +01:00
blam 0df5389f2f chore: remove from ActionsContext too
Signed-off-by: blam <ben@blam.sh>
2022-02-16 13:17:54 +01:00
blam 7bed999eb6 chore: updating api-report with removed token
Signed-off-by: blam <ben@blam.sh>
2022-02-16 13:09:23 +01:00
blam 3d0dc89b76 chore: removed the token from actions, it's now backstageToken
Signed-off-by: blam <ben@blam.sh>
2022-02-16 13:09:23 +01:00
Patrik Oldsberg 64da85d7aa shortcuts: remove unused import
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-16 13:09:05 +01:00
Patrik Oldsberg c8d1f915e7 shortcuts: remove unnecessary test
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-16 12:39:27 +01:00
Patrik Oldsberg 1aa2828a81 Merge pull request #9289 from moltenice-forks/airbrake-api
Airbrake Plugin API connectivity
2022-02-16 12:15:05 +01:00
Fredrik Adelöw a1c6fa32f3 Merge pull request #9488 from backstage/freben/move-template
move `TemplateEntityV1beta2` to `@backstage/plugin-scaffolder-common`
2022-02-16 10:58:20 +01:00