Commit Graph

22598 Commits

Author SHA1 Message Date
Fredrik Adelöw 898a56578c scaffolder: bump vm2
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-10 10:44:49 +01:00
Ben Lambert cd317ec582 Merge pull request #8912 from backstage/grantila/cicd-statistics
Added CI/CD statistics plugin
2022-02-09 21:11:01 +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ä b947238d1d fix(yarn.lock): Fixed urls
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
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
Ben Lambert a94709068b Merge pull request #9439 from backstage/blam/updating-create-app-changeset
Updating `create-app` changeset
2022-02-09 19:21:21 +01:00
Patrik Oldsberg 4b044e2978 Merge pull request #9437 from backstage/rugvip/report-fixes
core-components,catalog-react: clean up API reports
2022-02-09 19:12:11 +01:00
blam d674971d3a chore: added changeset
Signed-off-by: blam <ben@blam.sh>
2022-02-09 19:08:20 +01:00
blam 945ea0d278 chore: roll back the date-io/luxon bump
Signed-off-by: blam <ben@blam.sh>
2022-02-09 19:06:30 +01:00
Patrik Oldsberg 4963afa2f6 Merge pull request #9438 from backstage/blam/exit-pre
changesets: exit pre-release
2022-02-09 19:06:08 +01:00
blam 71162bdcb3 chore: updating collator reference too they should be using tokenManagers
Signed-off-by: blam <ben@blam.sh>
2022-02-09 18:42:54 +01:00
blam b719d2873a chore: uodating package name to be correct
Signed-off-by: blam <ben@blam.sh>
2022-02-09 18:40:19 +01:00
blam c904cefa0e changesets: exit pre-release
Signed-off-by: blam <ben@blam.sh>
2022-02-09 18:33:29 +01:00
Ben Lambert d600f56f0f Merge pull request #9339 from backstage/dependabot/npm_and_yarn/types/react-17.0.39
chore(deps-dev): bump @types/react from 16.14.18 to 17.0.39
2022-02-09 18:29:02 +01:00
Patrik Oldsberg 19155e0939 changesets: add changeset for cleaning up components in api reports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-09 17:52:20 +01:00
Patrik Oldsberg 1cabe4264a core-components,catalog-react: update API reports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-09 17:39:48 +01:00
Patrik Oldsberg 56f20465b7 core-components,catalog-react: override type for forwardRef components
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-09 17:10:50 +01:00
Patrik Oldsberg e58af60d26 core-components: explicit types for styled components
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-09 16:57:45 +01:00
Patrik Oldsberg 8928dea8f6 core-components: update Button and Link doc workarounds
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-09 15:36:05 +01:00
blam 89c84b9108 chore: added changeset for r17 issues
Signed-off-by: blam <ben@blam.sh>
2022-02-09 14:31:24 +01:00
blam 9643f75a11 chore: added guards as these could be string types which don't have props...
Signed-off-by: blam <ben@blam.sh>
2022-02-09 14:29:47 +01:00
Ben Lambert e34d4ce277 Merge pull request #9362 from mdb/mdb/new-splunk-on-call-annotation
[Plugin] Splunk On-Call plugin support for 'splunk.com/on-call-routing-key' annotation
2022-02-09 14:00:03 +01:00
Ben Lambert ee456406b2 Merge pull request #9434 from lorsatti/master
LogMeIn is now GoTo
2022-02-09 13:40:01 +01:00
Ben Lambert afb451e6b4 Merge pull request #9383 from backstage/dependabot/npm_and_yarn/roadiehq/backstage-plugin-github-pull-requests-1.3.7
chore(deps): bump @roadiehq/backstage-plugin-github-pull-requests from 1.3.4 to 1.3.7
2022-02-09 13:21:52 +01:00
Lorenzo Orsatti 083666d4e6 LogMeIn is now GoTo
Signed-off-by: Lorenzo Orsatti <49567430+lorsatti@users.noreply.github.com>
2022-02-09 13:12:03 +01:00
Patrik Oldsberg 0a58786880 Merge pull request #9433 from backstage/rugvip/pathfix
workflows: fix package paths in manifest sync
2022-02-09 13:02:31 +01:00
Patrik Oldsberg 4457994dae workflows: fix package paths in manifest sync
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-09 12:46:41 +01:00