Commit Graph

39 Commits

Author SHA1 Message Date
github-actions[bot] 0bc1611d6e Version Packages 2022-03-17 09:02:30 +00:00
Dimitris Apostolou aedd4daa66 Fix typos
Signed-off-by: Dimitris Apostolou <dimitris.apostolou@icloud.com>
2022-03-13 14:12:05 +02:00
github-actions[bot] b6d947b67f Version Packages 2022-03-10 11:30:23 +00:00
github-actions[bot] 1693f2dc74 Version Packages (next) 2022-03-09 16:09:04 +00:00
Patrik Oldsberg 09b37063f2 packages,plugins: migrate to new lint config
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-07 14:53:43 +01:00
github-actions[bot] 3c8bb2854d Version Packages 2022-03-03 15:23:53 +00:00
github-actions[bot] c9da151d84 Version Packages 2022-02-24 13:54:37 +00:00
github-actions[bot] 408b0300cb Version Packages 2022-02-17 10:38:59 +00:00
Patrik Oldsberg 9892d74326 cli: renamed script commands to package
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-15 21:27:12 +01:00
Patrik Oldsberg 8f82d80adf migrate all package scripts
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-14 21:50:07 +01:00
Patrik Oldsberg bb5fcc3209 update all plugin package roles
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-14 21:50:05 +01:00
Patrik Oldsberg a5fc44d880 tweak incorrectly detected package roles
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-14 21:50:03 +01:00
Patrik Oldsberg b521c1b83b detect all package roles
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-14 21:50:03 +01:00
Patrik Oldsberg 0b9bce831b cicd-statistics: fix core-plugin-api dependency range
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-13 14:29:28 +01:00
github-actions[bot] e4791789d1 Version Packages 2022-02-10 11:06:33 +00: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