Skip to content

Fix ResourceOrigin for host creation process #75

Fix ResourceOrigin for host creation process

Fix ResourceOrigin for host creation process #75

Triggered via pull request April 2, 2024 07:40
Status Failure
Total duration 36s
Artifacts 1

ruby_tests.yml

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

Annotations

5 errors
rubocop / Rubocop: app/helpers/foreman_resource_quota/resource_quota_helper.rb#L56
Metrics/ParameterLists: Avoid parameter lists longer than 5 parameters. [6/5]
rubocop / Rubocop: app/models/concerns/foreman_resource_quota/host_managed_extensions.rb#L16
Metrics/AbcSize: Assignment Branch Condition size for check_resource_quota_capacity is too high. [<4, 18, 2> 18.55/17]
rubocop / Rubocop: app/services/foreman_resource_quota/resource_origin.rb#L12
Metrics/AbcSize: Assignment Branch Condition size for collect_resources! is too high. [<7, 15, 5> 17.29/17]
rubocop / Rubocop: lib/foreman_resource_quota/register.rb#L95
Layout/LineLength: Line is too long. [122/120]
rubocop / Rubocop
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
Gemfile-theforeman-actions-rubocop-ruby-2.7.lock Expired
875 Bytes