Houskeeper: Streamline logging
What does this MR do and why?
Pass existing logger instance to allow keeps to log.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
- Run
bundle exec gitlab-housekeeper -b pl-housekeeper-log -d
See some output:
Running keep Gitlab::Housekeeper::Keeps::RubocopFixer
RubopCop rule FactoryBot/CreateList
WARN: Failed to autocorrect files. Reverting
RubopCop rule Gemspec/DeprecatedAttributeAssignment
WARN: Failed to autocorrect files. Reverting
RubopCop rule Gitlab/Rails/SafeFormat
WARN: Failed to autocorrect files. Reverting
RubopCop rule Gitlab/StrongMemoizeAttr
WARN: Failed to autocorrect files. Reverting
RubopCop rule Graphql/Descriptions
WARN: Failed to autocorrect files. Reverting
RubopCop rule GraphQL/FieldDefinitions
WARN: Failed to autocorrect files. Reverting
RubopCop rule GraphQL/FieldHashKey
WARN: Failed to autocorrect files. Reverting
RubopCop rule GraphQL/FieldMethod
Merge request URL: (known after create), on branch gitlab--housekeeper--keeps--rubocop-fixer--graph-q-l--field-method-app-graphql-types-packages-package_details_type-rb.
=> Gitlab::Housekeeper::Keeps::RubocopFixer: GraphQL/FieldMethod: app/graphql/types/packages/package_details_type.rb
=> Title:
Fix 1 rubocop violations for GraphQL/FieldMethod
=> Description:
Fixes the 1 violations for the rubocop rule `GraphQL/FieldMethod`
that were previously excluded in `.rubocop_todo/graphql/field_method.yml`.
The exclusions have now been removed.
=> Attributes:
Labels: automation:gitlab-housekeeper-authored
Reviewers:
=> Diff:
Edited by Peter Leitzen