Commit Graph

9338 Commits

Author SHA1 Message Date
Joe Porpeglia 9d91a6965c Fix api reports
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-02-11 11:08:56 -05:00
Joe Porpeglia 08ce0c83dd Use strict() validation for permission criteria zod schemas
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-02-11 11:08:56 -05:00
Joe Porpeglia e66bb84798 Require at least one item in allOf/anyOf criteria
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-02-11 11:08:56 -05:00
Camila Belo de103e5fc1 Merge pull request #9476 from RoadieHQ/update-tech-docs
Change colors for highlighted code
2022-02-11 16:48:53 +01:00
Fredrik Adelöw d3292ab1ba Merge pull request #9453 from backstage/freben/no-cross-in-backend
techdocs: do not use cross-fetch in backend
2022-02-11 15:08:56 +01:00
Johan Haals 0222773beb Merge pull request #9473 from backstage/jhaals/catalog-model
catalog-model/catalog-backend: Remove usage of deprecated validation …
2022-02-11 15:06:44 +01:00
Patrik Oldsberg ef4f8623e2 Merge pull request #9478 from backstage/rugvip/yeo
scaffolder-backend-module-yeoman: bump yeoman-environment
2022-02-11 14:52:49 +01:00
Fredrik Adelöw f67fc7264c Merge pull request #9452 from backstage/freben/passport-oauth2
Bump passport-oauth2 to version 1.6.1
2022-02-11 14:26:50 +01:00
Patrik Oldsberg e90014359d Merge pull request #9145 from RoadieHQ/eventually-remove-deprecated-EntitySystemDiagramCard
catalog: Remove deprecated EntitySystemDiagramCard - defer merge
2022-02-11 14:17:27 +01:00
Patrik Oldsberg c82cd1b137 scaffolder-backend-module-yeoman: bump yeoman-environment
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-11 14:10:28 +01:00
Johan Haals eccfe4c76b remove unused @types/yup dependency
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-02-11 13:34:17 +01:00
irma12 9df7b43e1a Change colors for highlighted code
Signed-off-by: irma12 <irma@roadie.io>
2022-02-11 13:21:27 +01:00
Fredrik Adelöw b590e9b58d Add batching to speed up initial entity provider mutations with large numbers of new additions
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-11 12:36:28 +01:00
Johan Haals e483dd6c72 catalog-model/catalog-backend: Remove usage of deprecated validation methods
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-02-11 10:28:04 +01:00
Fredrik Adelöw 453145abba techdocs: do not use cross-fetch in backend
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-10 16:55:24 +01:00
Fredrik Adelöw e3a45b68c2 Merge pull request #9451 from backstage/freben/node-fetch
bump node-fetch and cross-fetch
2022-02-10 16:54:21 +01:00
Fredrik Adelöw dc66b0ab3f Merge pull request #9376 from K-Phoen/resource-dependency-of
Resource dependency of
2022-02-10 15:54:53 +01:00
Fredrik Adelöw 1ed305728b bump node-fetch and cross-fetch
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-10 15:51:50 +01:00
Fredrik Adelöw a31559d1f5 Bump passport-oauth2 to version 1.6.1
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-10 14:14:31 +01:00
github-actions[bot] e4791789d1 Version Packages 2022-02-10 11:06:33 +00:00
Fredrik Adelöw 8819f97d1c Merge pull request #9444 from backstage/freben/vm2
scaffolder: bump vm2
2022-02-10 11:27:20 +01:00
Fredrik Adelöw 09ecd921af Merge pull request #9408 from backstage/freben/node-common-again
Add the `@backstage/plugin-auth-node` package
2022-02-10 11:08:32 +01:00
Ben Lambert c64f48741e Merge pull request #9375 from backstage/freben/inspect
catalog: add an entity inspection dialog
2022-02-10 10:49:41 +01:00
Fredrik Adelöw 898a56578c scaffolder: bump vm2
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-10 10:44:49 +01:00
Fredrik Adelöw 3c9aed1b16 review comments
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-10 10:36:45 +01:00
Gustaf Räntilä ad136d1c87 chore: go back to @date-io/luxon 1 for mui pickers...
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:56:17 +01:00
Gustaf Räntilä 29302d39db fix(cicd-statistics): @types/react -> devDependencies
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:56:17 +01:00
blam 476c4c52fc chore: api-reports 😅
Signed-off-by: blam <ben@blam.sh>
2022-02-09 19:56:17 +01:00
blam c2cbcaf234 chore: de-dedupe dependencies and make the build green 🤞
Signed-off-by: blam <ben@blam.sh>
2022-02-09 19:56:17 +01:00
Gustaf Räntilä 07faca1f27 fix(cicd-statistics): Fixed test issue after refactoring
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:55:49 +01:00
Gustaf Räntilä 365e3f87ad feat(cicd-statistics): Allow multi-step progress when loading statistics
Loading can take a pretty long time, and often in several steps, such as "loading builds" followed by "loading pipelines per build".

Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:55:49 +01:00
Gustaf Räntilä d5acd9f035 feat(cicd-statistics): Added zoom capability to the charts
Since loading of build information can take a long time, being able to zoom "client-side", using the fetched data, is very useful.

This is built using a provider (ZoomProvider) which keeps zoom state, simplifies rendering a gray area while zooming and has a filter-function which can filter only values within the zoomed time range.

Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:53:10 +01:00
Gustaf Räntilä b8454275c1 fix(cicd-statistics): Fixed progress bar animation, should be throttle, not debounce
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:53:10 +01:00
Gustaf Räntilä fdabd241d2 feat(cicd-statistics): Added trigger reason
Some refactoring and tweaks. The trigger reason is an overlay to the build counts, and is a percentage of manually triggered builds vs all builds. When this is high, it indicates likelyhood of flaky tests.

Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:53:10 +01:00
Gustaf Räntilä ec1ddbd812 docs(cicd-statistics): Made it a bit more clear this plugin requires a custom API implementation
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:53:10 +01:00
Gustaf Räntilä 52756327cf feat(cicd-statistics): Allow custom hiding/collapsing under certain thresholds
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:53:10 +01:00
Gustaf Räntilä 2d7f173e07 feat(cicd-statistics): Added median analysis (alongside average)
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:53:10 +01:00
Gustaf Räntilä cbbab88d9f feat(cicd-statistics): Allow stages to individual status, and added bar charts counts, and some refactoring
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:53:10 +01:00
Gustaf Räntilä ecaa8e7a15 fix(cicd-statistics): date-fns -> luxon
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:53:10 +01:00
Gustaf Räntilä 0a7179538a fix(cicd-statistics): Don't export branchTypes, it's not very useful
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:52:14 +01:00
Gustaf Räntilä b8492f3b14 fix(cicd-statistics): buildType -> branchType
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:52:14 +01:00
Gustaf Räntilä d3d16a2442 fix(cicd-statistics): Don't instanceof, do fuzzy matching for better compat
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:52:14 +01:00
Gustaf Räntilä 6c47447256 fix(cicd-statistics): Export missing component type
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:52:14 +01:00
Gustaf Räntilä 721dca4a14 fix(cicd-statistics): Don't export the routeRef
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:52:14 +01:00
Gustaf Räntilä 37218e495e fix(cicd-statistics): Renamed the exported component
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:52:14 +01:00
Gustaf Räntilä 706817149b fix(cicd-statistics): Made FilterBranchType and FilterStatusType not be parameterized
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:52:14 +01:00
Gustaf Räntilä cf0e970bc2 fix(cicd-statistics): Added entity option to getConfiguration
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:52:14 +01:00
Gustaf Räntilä d82fe02ecf docs(cicd-statistics): Fixed spellings in README
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:52:14 +01:00
Gustaf Räntilä 770c195f34 feat(cicd-statistics): Added CI/CD statistics plugin
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:52:14 +01:00
Ben Lambert c367ddb301 Merge pull request #9440 from backstage/blam/roll-back-bad-dep
Rolling back the `@date-io/luxon` bump
2022-02-09 19:51:28 +01:00