Skip to content

Switch to async foreman-tasks-based utilization trigger #210

Switch to async foreman-tasks-based utilization trigger

Switch to async foreman-tasks-based utilization trigger #210

Triggered via pull request November 25, 2024 11:14
Status Failure
Total duration 54s
Artifacts 1

ruby_tests.yml

on: pull_request
rubocop  /  Rubocop
42s
rubocop / Rubocop
Ruby  /  Setup matrix
Ruby / Setup matrix
Matrix: Ruby / existing-database
Waiting for pending jobs
Matrix: Ruby / test
Waiting for pending jobs
Ruby  /  Test suite
Ruby / Test suite
Fit to window
Zoom out
Zoom in

Annotations

6 errors
rubocop / Rubocop: lib/foreman_resource_quota/engine.rb#L46
Style/HashSyntax: Use the new Ruby 1.9 hash syntax.
rubocop / Rubocop: lib/foreman_resource_quota/engine.rb#L54
Rails/Blank: Use `if User.unscoped.find_by(login: User::ANONYMOUS_ADMIN).blank?` instead of `unless User.unscoped.find_by(login: User::ANONYMOUS_ADMIN).present?`.
rubocop / Rubocop: lib/foreman_resource_quota/engine.rb#L63
Lint/SuppressedException: Do not suppress exceptions.
rubocop / Rubocop: lib/foreman_resource_quota/engine.rb#L75
Layout/EmptyLinesAroundBlockBody: Extra empty line detected at block body beginning.
rubocop / Rubocop: lib/foreman_resource_quota/engine.rb#L84
Lint/SuppressedException: Do not suppress exceptions.
rubocop / Rubocop
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
Gemfile-theforeman-actions-rubocop-ruby-2.7.lock
1.23 KB