-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci-health, plot: adds support for --start-date flag
Adds a filter function looking at the result file path, and comparing the date extracted to given start date. Also add parameter to signature to have it. Example: using newly introduced flag `start-data` as below ``` go run ./cmd/batch \ --gh-token /home/dhiller/.tokens/github/kubevirt-bot/oauth \ --path $(pwd)/output \ --mode plot \ --target-metric merged-prs \ --log-level debug \ --start-date $(date -d "- 3 months" -I) ``` would only plot the graph for last 3 months. Signed-off-by: Daniel Hiller <dhiller@redhat.com>
- Loading branch information
Showing
1 changed file
with
33 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters