-
Wesley Hayutin authored
(squashed commit messages below) WIP: first pass at github failure exporter https://github.com/konveyor/pelorus/issues/456 todo: add documentation todo: figure out if other labels are required todo: perhaps more tests required config was lost in rebase fix lint, test issues, add doc rip out my custom config in the ConfigMap first round of code corrections post review fix get_app_name to use list comprehension update configmap doc to allow for a yaml list Add readiness and liveness probes, associate exporter type label (#467) This will allow to check exporter pod statuses in easy way, ensure pods are not occupying cluster resources when they fail. fix a few nits and add datetime test update tests and PROJECT lists update the example for failure project config ensure app labels work as they do w/ jira raise the exception if TOKEN is invalid update github unit-tests w/ mock githubfailurecollector add more tests ah HA .. now bug criteria works the same as jira :) Simplify trackerfactory return, raise error on unknown provider type Change mocked github collector to real instance Simplify githubfailurecollector init Remove duplicate logging in get_issues Simplify and make _make_request error handling more correct Fix up typing on _get_github_user Improve label handling Add token authorization handler Remove cast from jira test setup Move session to instance, add auth to it, use server instead of default add more typing to githubfailurecollector init, have it catch a bug Pass SERVER to GithubFailureCollector Fix typo in project handling, make type checking easier / happier fix unittests and ghfailure init improved unit-tests and user handling Co-authored-by: Kevin M Granger <git@kevinmgranger.me>
This project manages its dependencies using pip.
Learn more