-
Notifications
You must be signed in to change notification settings - Fork 883
ci: Add script for fetching past test stats from CI #7086
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
e40ec5f
to
d873a70
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please link it with the Github issue?
Anyway, code LGTM 👍 I know that you love using shell scripts :)
|
||
# Usage: ./fetch_stats_from_ci.sh | ||
# | ||
# This script is for fetching historic test stats from GitHub Actions CI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the next step for this script? I'm wondering if we can keep it as a Github Action. The result can be downloaded as workflow artifact.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This script will hopefully not be needed much, it's main purpose is to populate the historical data since #6676. The main mechanism through which the gathering of stats will happen is via webhook.
It can still be useful in the future if someone wants to do some local analysis.
Basic script that fetches stats (Print test stats) from CI, useful for local analysis or pulling historical stats.
This produces JSON files with PR/merge metadata and stats:
Refs: #6677, #6675